Home | ClipperLib | PolyTree |

# PolyTree.GetFirst

Del.» function GetFirst: TPolyNode;

C++ » PolyNode* GetFirst();

C# » public PolyNode GetFirst();

This 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-2014 Angus Johnson - Clipper 6.2.1 - Help file built on 1-November-2014