Home | ClipperLib | PolyTree |
PolyTree.GetFirst
Del.» function GetFirst: TPolyNode;
C++ » PolyNode* GetFirst();
C# » public PolyNode GetFirst();
Ths method returns the first outer polygon contour if any, otherwise a null pointer.
This function is almost equivalent to calling Childs[0] except that when a PolyTree object is empty (has no children), calling Childs[0] would raise an out of range exception.
See Also
PolyNode.GetNext, PolyNode.ChildCount, PolyNode.Childs
Copyright ©2010-2012 Angus Johnson - Clipper version 5.1.0 - Help file built on 17-February-2013