TriangulationAlgorithm

abstract class TriangulationAlgorithm

Abstract class for a triangulation algorithm in 3D. See the wikipedia article of polygon triangulation.

Constructors

Link copied to clipboard

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.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard