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

Method Clear

TheForceEngine/TFE_Polygon/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

clipPolygonsFunction · 0.45
BuildResult2Method · 0.45
ExecuteMethod · 0.45

Calls 4

ChildCountMethod · 0.80
sizeMethod · 0.45
resizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected