volume - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geom3d

  

volume

  

compute the volume of a sphere, regular polyhedron, general tetrahedron, or parallelepiped

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

volume(obj)

Parameters

obj

-

sphere, regular polyhedron, general tetrahedron, or parallelepiped

Description

• 

The routine volume returns the volume of the input object which is a sphere, a regular polyhedron, a general tetrahedron, or a parallelepiped.

• 

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

Examples

withgeom3d:

Define a cube with center (0,0,0), radius of the circum-sphere 1

cubec,pointo,0,0,0,1

c

(1)

volumec

839

(2)

See Also

geom3d[area]

geom3d[gtetrahedron]

geom3d[parallelepiped]

geom3d[RegularPolyhedron]

geom3d[sphere]