test if a line and a circle or two circles are tangent to each other - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : geometry/AreTangent

geometry[AreTangent] - test if a line and a circle or two circles are tangent to each other

Calling Sequence

AreTangent(f, g)

Parameters

f, g

-

line and circle or two circles

Description

• 

The routine returns true if l1 and l2 are tangent to each other; false if they are not; and FAIL if it is unable to determine if l1 and l2 are tangent to each other.

• 

In case of FAIL, if the third optional argument is given, the condition that makes l1 and l2 tangent to each other is assigned to this argument. It will be either of the form expr=0 or of the form expr1=0 &or expr2=0 where expr, expr1, expr2 are maple expressions.

• 

The command with(geometry,AreTangent) allows the use of the abbreviated form of this command.

Examples

withgeometry:

_EnvHorizontalName:='x':_EnvVerticalName:='y':

circlec1,x2+y2=1,circlec2,x22+y2=1:

linel,2x+3y=0:

AreTangentc1,c2

true

(1)

AreTangentl,c1

false

(2)

See Also

geometry[HorizontalName], geometry[TangentLine], geometry[tangentpc], geometry[VerticalName]


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