MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / ClosedPathsFromPolyTree

Function ClosedPathsFromPolyTree

libs/polyclipping/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 2

AddPolyNodeToPathsFunction · 0.85
TotalMethod · 0.80

Tested by

no test coverage detected