Mod/Path: Removed -Wunused-function warnings.
This commit is contained in:
parent
c05baee29a
commit
cbee95494e
|
@ -134,6 +134,7 @@ static void AddVertex(const CVertex& vertex, const CVertex* prev_vertex)
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static bool IsPolygonClockwise(const TPolygon& p)
|
||||
{
|
||||
#if 1
|
||||
|
@ -158,6 +159,8 @@ static bool IsPolygonClockwise(const TPolygon& p)
|
|||
return IsClockwise(p);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static void MakeLoop(const DoubleAreaPoint &pt0, const DoubleAreaPoint &pt1, const DoubleAreaPoint &pt2, double radius)
|
||||
{
|
||||
|
|
|
@ -425,6 +425,7 @@ void recur(std::list<CArea> &arealist, const CArea& a1, const CAreaPocketParams
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static CArea make_obround(const Point& p0, const Point& p1, double radius)
|
||||
{
|
||||
Point dir = p1 - p0;
|
||||
|
@ -445,13 +446,16 @@ static CArea make_obround(const Point& p0, const Point& p1, double radius)
|
|||
obround.append(c);
|
||||
return obround;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
static bool feed_possible(const CArea &area_for_feed_possible, const Point& p0, const Point& p1, double tool_radius)
|
||||
{
|
||||
CArea obround = make_obround(p0, p1, tool_radius);
|
||||
obround.Subtract(area_for_feed_possible);
|
||||
return obround.m_curves.empty();
|
||||
}
|
||||
#endif
|
||||
|
||||
void MarkOverlappingOffsetIslands(std::list<IslandAndOffset> &offset_islands)
|
||||
{
|
||||
|
|
|
@ -720,10 +720,12 @@ static geoff_geometry::Span MakeSpan(const Span& span)
|
|||
return geoff_geometry::Span(span.m_v.m_type, geoff_geometry::Point(span.m_p.x, span.m_p.y), geoff_geometry::Point(span.m_v.m_p.x, span.m_v.m_p.y), geoff_geometry::Point(span.m_v.m_c.x, span.m_v.m_c.y));
|
||||
}
|
||||
|
||||
#if 0
|
||||
static Span MakeCSpan(const geoff_geometry::Span &sp)
|
||||
{
|
||||
return Span(Point(sp.p0.x, sp.p0.y), CVertex(sp.dir, Point(sp.p1.x, sp.p1.y), Point(sp.pc.x, sp.pc.y)));
|
||||
}
|
||||
#endif
|
||||
|
||||
bool CCurve::Offset(double leftwards_value)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user