object Triangulator: Any

Performs triangulation operations on polygons in 3D. See the wikipedia article of polygon triangulation.

Methods

triangulate

fun triangulate(linearRing: LinearRing3D, tolerance: Double): Result, Exception><List<Polygon3D>, Exception>

Returns a list of triangles from a linearRing.

Parameters

Name Description
linearRing: LinearRing3D

linear ring to be triangulated

tolerance: Double

ReturnValue

Name Description
Result, Exception><List<Polygon3D>, Exception>