MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / PointCount

Function PointCount

CPP/Clipper2Lib/src/clipper.engine.cpp:266–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 }
265
266 inline int PointCount(OutPt* op)
267 {
268 OutPt* op2 = op;
269 int cnt = 0;
270 do
271 {
272 op2 = op2->next;
273 ++cnt;
274 } while (op2 != op);
275 return cnt;
276 }
277
278 inline OutPt* DuplicateOp(OutPt* op, bool insert_after)
279 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected