메소드 | 설명 | |
---|---|---|
ConvexPartition ( Vertices vertices ) : List |
Decompose the polygon into triangles. Properties: - Only works on counter clockwise polygons
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | List |