PolyPath64 objects are contained inside PolyTree64s and represents a single polygon contour. PolyPath64s can also contain children, and there's no limit to nesting. Each child's Polygon will be inside its parent's Polygon.
PolyPath64 polypath; //populate polypath in a clipping function then ... for (auto child in polypath) //do something with child, or ... for (size_t i = 0; i < polypath.Count(); ++i) //do something else with polypath[i]
PolyPath64 polypath = new PolyPath64(); //populate polypath in a clipping function then ... foreach (PolyPath64 child in polypath) //do something with child, or ... for (int i = 0; i < polypath.Count; i++) //do something else with polypath[i]
Methods | Properties |
---|---|
Clear | Child |
Count | |
IsHole | |
Level | |
Polygon |
Copyright © 2010-2024 Angus Johnson - Clipper2 1.3.0 - Help file built on 14 Jan 2024