comp • gb.clipper • polygon

Polygon (gb.clipper)

This class represents a polygon.

This class is
Create a new polygon.
creatable
.
This class acts like a
Return the Indexth point of the polygon.
read
/
Define the Indexth point of the polygon.
write
array.

Properties

Methods
Return the area of the polygon.
Area  
Return the number of points of the polygon.
Count  
Return the number of points of the polygon minus one, i.e. the greater point index.
Max  
Return the polygon orientation.
Orientation  
Add a new point to the polygon.
Add  
Add a new point to the polygon.
AddPoint  
Removes vertices:
Clean  
Remove one or more points from the polygon.
Remove  
Reverse the polygon, and so its orientation.
Reverse  
Removes self-intersections from the polygon (by performing a boolean union operation using the nominated Fill type).
Simplify