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