| Constructor and Description |
|---|
Polyhedron(java.util.List<Vector3d> points,
java.util.List<java.util.List<java.lang.Integer>> faces)
Constructor.
|
Polyhedron(Vector3d[] points,
java.lang.Integer[][] faces)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyStorage |
getProperties()
Returns the property storage of this primitive.
|
java.util.List<Polygon> |
toPolygons()
Returns the polygons that define this primitive.
|
public Polyhedron(java.util.List<Vector3d> points, java.util.List<java.util.List<java.lang.Integer>> faces)
points - points (Vector3d list)faces - list of faces (list of point index lists)public java.util.List<Polygon> toPolygons()
PrimitiveCSG object.toPolygons in class Primitivepublic PropertyStorage getProperties()
PrimitivegetProperties in class Primitive