MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / PointCount

Function PointCount

TheForceEngine/TFE_Polygon/clipper.cpp:3184–3196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3182//------------------------------------------------------------------------------
3183
3184int PointCount(OutPt *Pts)
3185{
3186 if (!Pts) return 0;
3187 int result = 0;
3188 OutPt* p = Pts;
3189 do
3190 {
3191 result++;
3192 p = p->Next;
3193 }
3194 while (p != Pts);
3195 return result;
3196}
3197//------------------------------------------------------------------------------
3198
3199void Clipper::BuildResult(Paths &polys)

Callers 2

BuildResultMethod · 0.85
BuildResult2Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected