PolyTree.Clear

Del.» procedure Clear;

C++ » void Clear();

C#  » public void Clear();


This method clears any PolyNode children contained by PolyTree the object.

Clear does not need to be called explicitly. The Clipper.Execute method that accepts a PolyTree parameter will automatically clear the PolyTree object before propagating it with new PolyNodes. Likewise, PolyTree's destructor will also automatically clear any contained PolyNodes.

See Also

Clipper.Execute