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

Online Help

All Products    Maple    MapleSim


geometry

  

AreTangent

  

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

 

Calling Sequence

Parameters

Description

Examples

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&orexpr2=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:

_EnvHorizontalNamex:_EnvVerticalNamey:

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]