Method | Description | |
---|---|---|
ConvexPartition ( Vertices vertices ) : List |
Decompose the polygon into triangles. Properties: - Only works on counter clockwise polygons
|
Method | Description | |
---|---|---|
InsideTriangle ( |
Check if the point P is inside the triangle defined by the points A, B, C
|
|
Snip ( Vertices contour, int u, int v, int w, int n, int V ) : bool |
Cut a the contour and add a triangle into V to describe the location of the cut
|
public static ConvexPartition ( Vertices vertices ) : List |
||
vertices | Vertices | The list of points describing the polygon |
return | List |