Class Triangulate
- Assembly
- Alis.dll
The triangulate class
public static class Triangulate
Inheritance
Inherited Members
Methods
ConvexPartition(Vertices, TriangulationAlgorithm, bool, float, bool)
public static List<Vertices> ConvexPartition(Vertices vertices, TriangulationAlgorithm algorithm, bool discardAndFixInvalid = true, float tolerance = 0.001, bool skipSanityChecks = false)
Parameters
vertices
Verticesalgorithm
TriangulationAlgorithmdiscardAndFixInvalid
booltolerance
floatskipSanityChecks
bool-
Set this to true to skip sanity checks in the engine. This will speed up the tools by removing the overhead of the checks, but you will need to handle checks yourself where it is needed.
Returns
ValidatePolygon(Vertices)
Describes whether validate polygon
private static bool ValidatePolygon(Vertices polygon)
Parameters
polygon
Vertices-
The polygon
Returns
- bool
-
The bool