![]() |
![]() |
![]() |
Del.»
TExPolygon = record
Outer: TPolygon;
Holes: TPolygons;
end;
C++»
struct ExPolygon
{
public Polygon outer;
public Polygons holes;
}
C#»
public class ExPolygon
{
public Polygon outer;
public Polygons holes;
}
This 'extended' polygon structure encapsulates an outer polygon contour together with any contained polygon holes.
The solution parameter in Clipper's overloaded Execute method can return either a Polygons structure or an ExPolygons structure.
Note: The ExPolygon structure is not used (or needed) for adding polygons to Clipper objects. The simpler Polygon structure is perfectly sufficient for that since inner 'hole' polygon contours are indicated by having their Orientation opposite that of outer container polygon contours. This structure is provided simply for those users who need to have inner 'hole' polygons explicitly associated with their containers.
Clipper.Execute, Orientation, Polygon, Polygons
Copyright ©2010-2012 Angus Johnson - Clipper version 4.9.6 - Help file built on 9-November-2012