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

Method Clear

libs/polyclipping/clipper.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150//------------------------------------------------------------------------------
151
152void PolyTree::Clear()
153{
154 for (PolyNodes::size_type i = 0; i < AllNodes.size(); ++i)
155 delete AllNodes[i];
156 AllNodes.resize(0);
157 Childs.resize(0);
158}
159//------------------------------------------------------------------------------
160
161PolyNode* PolyTree::GetFirst() const

Callers 3

intersectToTreeMethod · 0.80
BuildResult2Method · 0.80
ExecuteMethod · 0.80

Calls 3

sizeMethod · 0.80
ChildCountMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected