Poly2TriTriangulationAlgorithm
Adapts the triangulation algorithm of Poly2Tri.
Functions
Link copied to clipboard
fun triangulateChecked(vertices: NonEmptyList<Vector3D>, tolerance: Double): Either<TriangulatorException, List<Polygon3D>>
Performs the triangulation operation and checks whether all input vertices are still represented after triangulation.