test if a given triangle is a right triangle - Maple Help

Online Help

All Products    Maple    MapleSim


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

geom3d[IsRightTriangle] - test if a given triangle is a right triangle

Calling Sequence

IsRightTriangle(ABC, cond)

Parameters

ABC

-

triangle

cond

-

(optional) name

Description

• 

The routine tests if the given triangle ABC is a right triangle. It returns true if ABC is a right triangle; false if it is not; and FAIL if it is unable to reach a conclusion.

• 

If FAIL is returned, and the optional argument is given, the condition that makes ABC a right triangle is assigned to this argument. It will be either of the form expr=0 or of the form &orexpr_1=0,expr_2=0,...,expr_n where expr, expri_i are Maple expressions.

• 

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

Examples

withgeom3d:

triangleABC,pointA,0,0,0,pointB,2,0,0,pointC,0,2,0

ABC

(1)

IsRightTriangleABC

true

(2)

See Also

geom3d[IsEquilateral], 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