MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / PointCount

Function PointCount

static_libs/clipper/clipper.cpp:3125–3136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3123//------------------------------------------------------------------------------
3124
3125int PointCount(OutPt* Pts)
3126{
3127 if (!Pts)
3128 return 0;
3129 int result = 0;
3130 OutPt* p = Pts;
3131 do {
3132 result++;
3133 p = p->Next;
3134 } while (p != Pts);
3135 return result;
3136}
3137//------------------------------------------------------------------------------
3138
3139void Clipper::BuildResult(Paths& polys)

Callers 2

BuildResultMethod · 0.70
BuildResult2Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected