|
BowlerKernel
|


Public Member Functions | |
| Dodecahedron () | |
| Dodecahedron (double size) | |
| Dodecahedron (Vector3d center, double size) | |
| List< Polygon > | toPolygons () |
| Vector3d | getCenter () |
| Dodecahedron | setCenter (Vector3d center) |
| double | getRadius () |
| void | setRadius (double radius) |
| PropertyStorage | getProperties () |
| Dodecahedron | noCenter () |
Public Member Functions inherited from eu.mihosoft.vrl.v3d.Primitive | |
| CSG | toCSG () |
Private Attributes | |
| Vector3d | center |
| double | radius |
| boolean | centered = true |
| final PropertyStorage | properties = new PropertyStorage() |
Definition at line 11 of file Dodecahedron.java.
| eu.mihosoft.vrl.v3d.Dodecahedron.Dodecahedron | ( | ) |
Constructor. Creates a new dodecahedron with center
and dimensions
.
Definition at line 31 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.center, and eu.mihosoft.vrl.v3d.Dodecahedron.radius.
| eu.mihosoft.vrl.v3d.Dodecahedron.Dodecahedron | ( | double | size | ) |
Constructor. Creates a new dodecahedron with center
and radius
.
| size | size |
Definition at line 42 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.center, and eu.mihosoft.vrl.v3d.Dodecahedron.radius.
| eu.mihosoft.vrl.v3d.Dodecahedron.Dodecahedron | ( | Vector3d | center, |
| double | size | ||
| ) |
Constructor. Creates a new dodecahedron with the specified center and radius.
| center | center of the dodecahedron |
| size | of the dodecahedron |
Definition at line 54 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.center.
| Vector3d eu.mihosoft.vrl.v3d.Dodecahedron.getCenter | ( | ) |
Gets the center.
Definition at line 101 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.center.
| PropertyStorage eu.mihosoft.vrl.v3d.Dodecahedron.getProperties | ( | ) |
Returns the property storage of this primitive.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 137 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.properties.
| double eu.mihosoft.vrl.v3d.Dodecahedron.getRadius | ( | ) |
Gets the radius.
Definition at line 120 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.radius.
| Dodecahedron eu.mihosoft.vrl.v3d.Dodecahedron.noCenter | ( | ) |
Defines that this dodecahedron will not be centered.
Definition at line 145 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.centered.
| Dodecahedron eu.mihosoft.vrl.v3d.Dodecahedron.setCenter | ( | Vector3d | center | ) |
Sets the center.
| center | the center to set |
Definition at line 110 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.center.
| void eu.mihosoft.vrl.v3d.Dodecahedron.setRadius | ( | double | radius | ) |
Sets the radius.
| radius | the radius to set |
Definition at line 129 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.Dodecahedron.radius.
| List<Polygon> eu.mihosoft.vrl.v3d.Dodecahedron.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 63 of file Dodecahedron.java.
References eu.mihosoft.vrl.v3d.CSG.getPolygons(), eu.mihosoft.vrl.v3d.ext.quickhull3d.HullUtil.hull(), eu.mihosoft.vrl.v3d.Dodecahedron.radius, and eu.mihosoft.vrl.v3d.CSG.scale().

|
private |
Center of this dodecahedron.
Definition at line 16 of file Dodecahedron.java.
Referenced by eu.mihosoft.vrl.v3d.Dodecahedron.Dodecahedron(), eu.mihosoft.vrl.v3d.Dodecahedron.getCenter(), and eu.mihosoft.vrl.v3d.Dodecahedron.setCenter().
|
private |
The centered.
Definition at line 23 of file Dodecahedron.java.
Referenced by eu.mihosoft.vrl.v3d.Dodecahedron.noCenter().
|
private |
The properties.
Definition at line 26 of file Dodecahedron.java.
Referenced by eu.mihosoft.vrl.v3d.Dodecahedron.getProperties().
|
private |
Dodecahedron circumscribed radius.
Definition at line 20 of file Dodecahedron.java.
Referenced by eu.mihosoft.vrl.v3d.Dodecahedron.Dodecahedron(), eu.mihosoft.vrl.v3d.Dodecahedron.getRadius(), eu.mihosoft.vrl.v3d.Dodecahedron.setRadius(), and eu.mihosoft.vrl.v3d.Dodecahedron.toPolygons().