MCPcopy Create free account
hub / github.com/cinder/Cinder / Total

Method Total

blocks/Clipper/src/clipper.cpp:170–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168//------------------------------------------------------------------------------
169
170int PolyTree::Total() const
171{
172 int result = (int)AllNodes.size();
173 //with negative offsets, ignore the hidden outer polygon ...
174 if (result > 0 && Childs[0] != AllNodes[0]) result--;
175 return result;
176}
177
178//------------------------------------------------------------------------------
179// PolyNode methods ...

Callers 3

PolyTreeToPathsFunction · 0.80
ClosedPathsFromPolyTreeFunction · 0.80
OpenPathsFromPolyTreeFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected