|
BowlerKernel
|


Public Member Functions | |
| Icosahedron () | |
| Icosahedron (double size) | |
| Icosahedron (Vector3d center, double size) | |
| List< Polygon > | toPolygons () |
| Vector3d | getCenter () |
| Icosahedron | setCenter (Vector3d center) |
| double | getRadius () |
| void | setRadius (double radius) |
| PropertyStorage | getProperties () |
| Icosahedron | 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 Icosahedron.java.
| eu.mihosoft.vrl.v3d.Icosahedron.Icosahedron | ( | ) |
Constructor. Creates a new icosahedron with center
and dimensions
.
Definition at line 31 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.center, and eu.mihosoft.vrl.v3d.Icosahedron.radius.
| eu.mihosoft.vrl.v3d.Icosahedron.Icosahedron | ( | double | size | ) |
Constructor. Creates a new icosahedron with center
and radius
.
| size | size |
Definition at line 42 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.center, and eu.mihosoft.vrl.v3d.Icosahedron.radius.
| eu.mihosoft.vrl.v3d.Icosahedron.Icosahedron | ( | Vector3d | center, |
| double | size | ||
| ) |
Constructor. Creates a new icosahedron with the specified center and radius.
| center | center of the icosahedron |
| size | of the icosahedron |
Definition at line 54 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.center.
| Vector3d eu.mihosoft.vrl.v3d.Icosahedron.getCenter | ( | ) |
Gets the center.
Definition at line 92 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.center.
| PropertyStorage eu.mihosoft.vrl.v3d.Icosahedron.getProperties | ( | ) |
Returns the property storage of this primitive.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 128 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.properties.
| double eu.mihosoft.vrl.v3d.Icosahedron.getRadius | ( | ) |
Gets the radius.
Definition at line 111 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.radius.
| Icosahedron eu.mihosoft.vrl.v3d.Icosahedron.noCenter | ( | ) |
Defines that this icosahedron will not be centered.
Definition at line 136 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.centered.
| Icosahedron eu.mihosoft.vrl.v3d.Icosahedron.setCenter | ( | Vector3d | center | ) |
Sets the center.
| center | the center to set |
Definition at line 101 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.center.
| void eu.mihosoft.vrl.v3d.Icosahedron.setRadius | ( | double | radius | ) |
Sets the radius.
| radius | the radius to set |
Definition at line 120 of file Icosahedron.java.
References eu.mihosoft.vrl.v3d.Icosahedron.radius.
| List<Polygon> eu.mihosoft.vrl.v3d.Icosahedron.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 Icosahedron.java.
References eu.mihosoft.vrl.v3d.CSG.getPolygons(), eu.mihosoft.vrl.v3d.ext.quickhull3d.HullUtil.hull(), eu.mihosoft.vrl.v3d.Icosahedron.radius, and eu.mihosoft.vrl.v3d.CSG.scale().

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