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-2013 Angus Johnson - Clipper version 5.1.5 - Help file built on 6-May-2013