public class Octahedron extends Model
sqrt(2) = 1.4142
,with its center plane given
by the four vertices (±1, 0, ±1)
. and with
the top and bottom vertices being (0, ±1, 0)
.
Tetrahedron
,
Cube
,
Icosahedron
,
Dodecahedron
lineSegmentList, vertexList, visible
Constructor and Description |
---|
Octahedron()
Create a regular octahedron with its center at the
origin, having side length
sqrt(2) = 1.4142 ,
with its center plane given by the four vertices
(±1, 0, ±1) . |
addLineSegment, addLineSegment, addVertex, setColor, setColorRandom, setRandomColors, setRandomLineSegmentColors, toString
public Octahedron()
sqrt(2) = 1.4142
,
with its center plane given by the four vertices
(±1, 0, ±1)
. and with the top and bottom
vertices being (0, ±1, 0)
.