mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
18 lines
337 B
C++
18 lines
337 B
C++
|
|
||
|
|
||
|
#include "geom_test_utils.h"
|
||
|
|
||
|
|
||
|
std::ostream& boost_test_print_type( std::ostream& os, const SHAPE_LINE_CHAIN& c )
|
||
|
{
|
||
|
os << "SHAPE_LINE_CHAIN: " << c.PointCount() << " points: [\n";
|
||
|
|
||
|
for( int i = 0; i < c.PointCount(); ++i )
|
||
|
{
|
||
|
os << " " << i << ": " << c.CPoint( i ) << "\n";
|
||
|
}
|
||
|
|
||
|
os << "]";
|
||
|
return os;
|
||
|
}
|