25.15.3 Octahedra
The
octahedron
command creates regular octahedra.
octahedron
takes three arguments:
A
,
B
,
C
, three points.
octahedron(
A
,
B
,
C
)
returns and draws the octahedron centered at
A
which has a vertex at
B
and with four vertices in the plane
ABC
.
Example
octahedron
([0,0,0],[0,0,5],[0,1,0])
or:
octahedron
([0,0,0],[0,5,0],[0,0,1])
or:
octahedron
([0,0,0],[5,0,0],[0,0,1])