geom3d[RegularPolyhedron] - define a regular polyhedron
|
Calling Sequence
|
|
RegularPolyhedron(gon, sch, o, r)
tetrahedron(gon, o, r)
octahedron(gon, o, r)
hexahedron(gon, o, r)
cube(gon, o, r)
icosahedron(gon, o, r)
dodecahedron(gon, o, r)
GreatStellatedDodecahedron(gon, o, r)
SmallStellatedDodecahedron(gon, o, r)
GreatIcosahedron(gon, o, r)
GreatDodecahedron(gon, o, r)
|
|
Parameters
|
|
gon
|
-
|
the name of the polyhedron to be created
|
sch
|
-
|
Schlafli symbol
|
o
|
-
|
point
|
r
|
-
|
positive number, an equation
|
|
|
|
|
Description
|
|
•
|
A polyhedron is regular if its faces and vertex angles are all regular.
|
•
|
There are nine regular polyhedra: five Platonic solids, and four Kepler-Poinsot polyhedra.
|
•
|
In Maple, one can define a regular polyhedron by using the command RegularPolyhedron(gon, [m, n], o, r) where gon is the name of the polyhedron to be defined, the Schlafli symbol, o the center of the polyhedron.
|
•
|
When r is a positive number, it specifies the radius of the circum-sphere. When r is an equation, the left-hand side is one of radius, side, mid_radius, or in_radius, and the right-hand side specifies the radius of the circum-sphere, the side, the mid-radius or the in-radius (respectively) of the polyhedron to be constructed.
|
•
|
The value of can be one of the following:
|
Schlafli symbol
|
Maple's Schlafli
|
Polyhedron type
|
{3,3}
|
[3,3]
|
tetrahedron
|
{3,4}
|
[3,4]
|
octahedron
|
{4,3}
|
[4,3]
|
hexahedron (cube)
|
{3,5}
|
[3,5]
|
icosahedron
|
{5,3}
|
[5,3]
|
dodecahedron
|
{5/2,3}
|
[5/2,3]
|
great stellated dodecahedron
|
{3,5/2}
|
[3,5/2]
|
great icosahedron
|
{5/2,5}
|
[5/2,5]
|
small stellated dodecahedron
|
{5,5/2}
|
[5,5/2]
|
great dodecahedron
|
|
|
•
|
Another way to define a regular polyhedron is to use the command PolyhedronName(gon, o, r) where PolyhedronName is one of tetrahedron, octahedron, hexahedron, cube, icosahedron, dodecahedron, GreatStellatedDodecahedron, SmallStellatedDodecahedron, GreatIcosahedron, or GreatDodecahedron.
|
•
|
To access the information relating to a regular polyhedron gon, use the following function calls:
|
area(gon)
|
returns the surface area of gon.
|
center(gon)
|
returns the center of the circum-sphere of gon.
|
faces(gon)
|
returns the faces of gon, each face is represented
|
|
as a list of coordinates of its vertices.
|
form(gon)
|
returns the form of gon.
|
InRadius(gon)
|
returns the in-radius of gon, i.e., the radius
|
|
of the in-sphere (the one which touches all the faces).
|
MidRadius(gon)
|
returns the mid-radius of gon, i.e., the radius
|
|
of the mid-sphere (the one which touches all the edges).
|
radius(gon)
|
returns the radius of the circum-sphere of gon.
|
schlafli(gon)
|
returns the Schlafli symbol of gon.
|
sides(gon)
|
returns the length of the edges of gon.
|
vertices(gon)
|
returns the coordinates of vertices of gon.
|
volume(gon)
|
returns the volume of gon.
|
|
|
|
|
Examples
|
|
>
|
|
Define a tetrahedron with center (1,2,3), radius of the circum-sphere 3
>
|
|
| (1) |
Access information relating to the tetrahedron t:
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
Define a dodecahedron with center (0,0,0), radius 1
>
|
|
| (13) |
>
|
|
| (14) |
Define the same dodecahedron given the side
>
|
|
| (15) |
>
|
|
| (16) |
|
|