triangulateChecked

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.

Return

list of triangulated Polygon3D

Parameters

vertices

list of vertices representing the outline to be triangulated