Triangulator Methods |
The Triangulator type exposes the following members.
Name | Description | |
---|---|---|
AddHole | AddHole method can be used when Triangulator was created with a single polygon. It adds the specified PointCollection as a hole in the original polygon. The orientation of positions (clockwise or anti-clockwise) in the hole must be different than the orientation of positions in the outer polygon. If the orientations are the same, then this methods reverses the order of positions in the hole (in this case false is returned). To get triangulated positions and triangle indices call Triangulate(PointCollection, ListInt32) method. | |
CreateTriangleIndices | CreateTriangleIndices method triangulates the specified points and creates a list of triangle indices that define the polygon. | |
GetPositions | Returns the positions that are used by this polygon. | |
Project3DPositionTo2D(IListPoint3D) | Returns a List of 2D points that are created with projecting the 3D positions onto the xy, xz or yz plane (removing one of the coordinates). The plane is determined with checking the normal of the first triangle and determining which component of the normal vector is the biggest (this coordinate is removing). This requires that the positions lie on the same plane. Input positions must not be null or have less that 3 elements. | |
Project3DPositionTo2D(IListPoint3D, IListInt32) | Returns a List of 2D points that are created with projecting the 3D positions onto the xy, xz or yz plane (removing one of the coordinates). The plane is determined with checking the normal of the first triangle and determining which component of the normal vector is the biggest (this coordinate is removing). This requires that the positions lie on the same plane. Input positions and polygonIndices must not be null or have less that 3 elements. | |
Triangulate(IListPoint) | Triangulate method triangulates the specified points and creates a list of triangle indices that define the polygon. | |
Triangulate(PointCollection, ListInt32) | Triangulate method triangulates the polygons and returns positions and triangle indices that can be used to create a 3D mesh. | |
Triangulate(IListPoint, PointCollection, ListInt32) | Triangulate method triangulates the polygons and returns positions and triangle indices that can be used to create a 3D mesh. |