constrainedDelaunayTriangulation
fun Shape.constrainedDelaunayTriangulation(interiorPoints: List<Vector2> = emptyList()): ConstrainedDelaunayTriangulation(source)
Computes the constrained Delaunay triangulation of this Shape.
Parameters
interiorPoints
additional, unconstrained points to include in the triangulation, for example to refine/densify the mesh. Every point must lie inside this Shape.