Method | Description | |
---|---|---|
ConvexPartition ( Vertices vertices ) : List |
Decompose the polygon into several smaller non-concave polygon. If the polygon is already convex, it will return the original polygon, unless it is over Settings.MaxPolygonVertices. Precondition: Counter Clockwise polygon
|
Method | Description | |
---|---|---|
At ( int i, Vertices vertices ) : |
||
CanSee ( int i, int j, Vertices vertices ) : bool | ||
Copy ( int i, int j, Vertices vertices ) : Vertices | ||
Left ( |
||
LeftOn ( |
||
Reflex ( int i, Vertices vertices ) : bool | ||
Right ( |
||
Right ( int i, Vertices vertices ) : bool | ||
RightOn ( |
||
SquareDist ( |
public static ConvexPartition ( Vertices vertices ) : List |
||
vertices | Vertices | |
return | List |