geom3d - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : Plane Functions : geom3d/altitude

geom3d

  

altitude

  

find the altitude of a given triangle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

altitude(hA, A, ABC, H)

Parameters

hA

-

the A-altitude of ABC

A

-

vertex of ABC

ABC

-

triangle

H

-

(optional) name

Description

• 

An altitude from the vertex A of a triangle ABC is a line segment (or its extension) from vertex A perpendicular to the side BC.

• 

If the optional argument H is given, the object returned (hA) is a line segment AH where H is the projection of A onto the side BC. If it is not given, the object returned is a line passing through A and is perpendicular to the side BC.

• 

For a detailed description of the altitude hA, use the routine detail (i.e., detail(hA);)

• 

The command with(geom3d,altitude) 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 altitude of ABC at A

altitudehA1,A,ABC

hA1

(1)

formhA1

line3d

(2)

detailhA1

Warning, assume that the parameter in the parametric equations is _t
Warning, assuming that the names of the axes are _x, _y, and _z

name of the objecthA1form of the objectline3dequation of the line_x=9_t5,_y=3_t5,_z=0

(3)

altitudehA2,A,ABC,H

hA2

(4)

formhA2

segment3d

(5)

detailhA2

name of the objecthA2form of the objectsegment3dthe 2 ends of the segment0,0,0,95,35,0

(6)

DefinedAshA2

A,H

(7)

See Also

geom3d[triangle]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam