BowlerKernel
|
Public Member Functions | |
PropertyStorage | getProperties () |
ChamferedCube (double w, double h, double d, double chamferHeight) | |
List< Polygon > | toPolygons () |
![]() | |
CSG | toCSG () |
Private Attributes | |
final PropertyStorage | properties = new PropertyStorage() |
Definition at line 5 of file ChamferedCube.java.
eu.mihosoft.vrl.v3d.ChamferedCube.ChamferedCube | ( | double | w, |
double | h, | ||
double | d, | ||
double | chamferHeight | ||
) |
Constructor. Creates a new cuboid with center
and with the specified dimensions.
w | width |
h | height |
d | depth |
Definition at line 23 of file ChamferedCube.java.
PropertyStorage eu.mihosoft.vrl.v3d.ChamferedCube.getProperties | ( | ) |
Returns the property storage of this primitive.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 11 of file ChamferedCube.java.
References eu.mihosoft.vrl.v3d.ChamferedCube.properties.
List<Polygon> eu.mihosoft.vrl.v3d.ChamferedCube.toPolygons | ( | ) |
Returns the polygons that define this primitive.
Note: this method computes the polygons each time this method is called. The polygons can be cached inside a CSG object.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 37 of file ChamferedCube.java.
References eu.mihosoft.vrl.v3d.CSG.getPolygons(), eu.mihosoft.vrl.v3d.CSG.hull(), eu.mihosoft.vrl.v3d.Primitive.toCSG(), and eu.mihosoft.vrl.v3d.CSG.union().
|
private |
The properties.
Definition at line 9 of file ChamferedCube.java.
Referenced by eu.mihosoft.vrl.v3d.ChamferedCube.getProperties().