PolyNode

The Clipper Library

PolyNode

PolyNodes are encapsulated within a PolyTree container, and together provide a data structure representing the parent-child relationships of polygon contours returned by Clipper's Execute method.

A PolyNode object represents a single polygon. Its IsHole property indicates whether it's an outer or a hole. PolyNodes may own any number of PolyNode children (Childs), where children of outer polygons are holes, and children of holes are (nested) outer polygons.

Reference

Methods Properties
In PolyNode:
GetNext ChildCount
Childs
Contour
IsHole
IsOpen
Parent

See Also

Overview, Clipper.Execute, PolyTree