|
| RhombicDodecahedron (const double &=1.0) |
| Create a dodecahedron.
|
|
| RhombicDodecahedron (const Vector &, const double &) |
| Create a dodecahedron.
|
|
double | Volume () const |
| Compute the volume of the dodecahedron.
|
|
double | Area () const |
| Compute the area of the dodecahedron.
|
|
double | Radius () const |
| Compute the radius of the circmscribed sphere of the rhombic-dodecahedron.
|
|
Box | GetBox () const |
| Return the bounding box of the shape.
|
|
bool | Inside (const Vector &) const |
| Check if a point is inside.
|
|
Vector | RandomInside (Random &=Random::R239) const |
| Generate a random vector inside the dodecahedron.
|
|
double | Signed (const Vector &) const |
| Compute the approximate signed distance to the dodecahedron.
|
|
A rhombic dodecahedron.
The rhombic dodecahedron is a convex polyhedron with 12 congruent rhombic faces. It has 24 edges, and 14 vertices of 2 types. As a Catalan solid, it is the dual polyhedron of the cuboctahedron.