public class Dodecahedron extends Model
2*(sqrt(5)-1)/(1+sqrt(5)) = (1/2)*(sqrt(5)-1)^2 = 0.7639,
and with its vertices on a sphere of radius
2*sqrt(3)/(1+sqrt(5)) = 1.0705.
Tetrahedron
,
Cube
,
Octahedron
,
Icosahedron
lineSegmentList, vertexList, visible
Constructor and Description |
---|
Dodecahedron()
Create a regular dodecahedron with its center at
the origin, having edge length
|
addLineSegment, addLineSegment, addVertex, setColor, setColorRandom, setRandomColors, setRandomLineSegmentColors, toString
public Dodecahedron()
2*(sqrt(5)-1)/(1+sqrt(5)) = (1/2)*(sqrt(5)-1)^2 = 0.7639,
and with its vertices on a sphere of radius
2*sqrt(3)/(1+sqrt(5)) = 1.0705.