32 os <<
"SHAPE_LINE_CHAIN: " << c.
PointCount() <<
" points: [\n";
36 os <<
" " << i <<
": " << c.
CPoint( i ) <<
"\n";
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
int PointCount() const
Return the number of points (vertices) in this line chain.
const VECTOR2I & CPoint(int aIndex) const
Return a reference to a given point in the line chain.
bool CompareGeometry(const SHAPE_LINE_CHAIN &aOther, bool aCyclicalCompare=false, int aEpsilon=0) const
Compare this line chain with another one.
std::ostream & boost_test_print_type(std::ostream &os, const SHAPE_LINE_CHAIN &c)
bool ChainsAreCyclicallyEqual(const SHAPE_LINE_CHAIN &aChainA, const SHAPE_LINE_CHAIN &aChainB, int aTol)
Check that two chains are cyclically equal.