MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / Clear

Method Clear

static_libs/clipper/clipper.cpp:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

BuildResult2Method · 0.45
ExecuteMethod · 0.45

Calls 3

sizeMethod · 0.80
clearMethod · 0.45
ChildCountMethod · 0.45

Tested by

no test coverage detected