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

Function ClosedPathsFromPolyTree

blocks/Clipper/src/clipper.cpp:4583–4588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4581//------------------------------------------------------------------------------
4582
4583void ClosedPathsFromPolyTree(const PolyTree& polytree, Paths& paths)
4584{
4585 paths.resize(0);
4586 paths.reserve(polytree.Total());
4587 AddPolyNodeToPaths(polytree, ntClosed, paths);
4588}
4589//------------------------------------------------------------------------------
4590
4591void OpenPathsFromPolyTree(PolyTree& polytree, Paths& paths)

Callers

nothing calls this directly

Calls 4

AddPolyNodeToPathsFunction · 0.85
TotalMethod · 0.80
resizeMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected