public final class Triangulation extends Object
Modifier and Type | Method and 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.
|
public static List<Triangle3d> of(Polygon3d polygon, Collection<Polygon3d> holes)
polygon
- the polygon that is triangulatedholes
- the holes in the polygonpublic static List<Triangle3d> of(Polygon3d polygon)
polygon
- the polygon that is triangulatedCopyright © 2019 Solibri, Inc.. All rights reserved.