faces - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geom3d

  

faces

  

return the faces of a polyhedron

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

faces(obj)

Parameters

obj

-

polyhedron

Description

• 

The routine faces returns the faces of the given polyhedron.

• 

Each face is represented as a list of coordinates of its vertices which are listed in counter-clockwise order as viewed from outside the polyhedron.

• 

The command with(geom3d,faces) allows the use of the abbreviated form of this command.

Examples

> 

with⁡geom3d:

Define a tetrahedron with center (0,0,0), radius of the circum-sphere 2

> 

tetrahedron⁡t,point⁡o,0,0,0,2

t

(1)
> 

faces⁡t

2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,−2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,2⁢33,−2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,2⁢33,−2⁢33,−2⁢33,−2⁢33,−2⁢33,2⁢33,−2⁢33,2⁢33,−2⁢33

(2)

See Also

geom3d[polyhedra]

geom3d[vertices]