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 Details

    • of

      public static List<Triangle3d> of(Polygon3d polygon, Collection<Polygon3d> holes)
      Returns a triangulation of the given polygon with the holes removed from it.
      Parameters:
      polygon - the polygon that is triangulated
      holes - the holes in the polygon
      Returns:
      a triangulation of the given polygon with the holes removed from it
      Since:
      9.10.2
    • of

      public static List<Triangle3d> of(Polygon3d polygon)
      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