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

Online Help

All Products    Maple    MapleSim


geom3d

  

area

  

compute the area of a triangle, or the surface area of a sphere or a regular polyhedron

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

area(obj)

Parameters

obj

-

triangle, sphere, or regular polyhedron

Description

• 

The routine area returns the area or surface area of the input object which is a triangle, a sphere, or a regular polyhedron.

• 

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

Examples

withgeom3d:

Define triangle ABC with vertices A, B and C

triangleABC,pointA,0,0,0,pointB,2,0,0,pointC,1,3,0:

Find the area of ABC

areaABC

3

(1)

Define an icosahedron with center o(1,2,5) and the radius of the circum-sphere is 1

icosahedronico,pointo,1,2,5,1

ico

(2)

Find the surface area of ico

areaico

43512+52

(3)

drawico,style=patch,lightmodel=light4,orientation=136,56,title=icosahedron

See Also

geom3d[volume]