GetFirst

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 Ver 6.1.3 - Help file built on 20-January-2014