Package com.solibri.geometry.algorithms
Class Triangulation
java.lang.Object
com.solibri.geometry.algorithms.Triangulation
public final class Triangulation extends Object
Provides methods for triangulating polygons.
- Since:
- 9.10.2
-
Method Summary
Modifier and Type Method Description static List<Triangle3d>
of(Polygon3d polygon)
Returns a triangulation of the given polygon.static List<Triangle3d>
of(Polygon3d polygon, Collection<Polygon3d> holes)
Returns a triangulation of the given polygon with the holes removed from it.
-
Method Details
-
of
Returns a triangulation of the given polygon with the holes removed from it.- Parameters:
polygon
- the polygon that is triangulatedholes
- the holes in the polygon- Returns:
- a triangulation of the given polygon with the holes removed from it
- Since:
- 9.10.2
-
of
Returns a triangulation of the given polygon.- Parameters:
polygon
- the polygon that is triangulated- Returns:
- a triangulation of the given polygon
- Since:
- 9.10.2
-