geometry
AreTangent
test if a line and a circle or two circles are tangent to each other
Calling Sequence
Parameters
Description
Examples
AreTangent(f, g)
f, g
-
line and circle or two circles
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.
with⁡geometry:
_EnvHorizontalName≔x:_EnvVerticalName≔y:
circle⁡c1,x2+y2=1,circle⁡c2,x−22+y2=1:
line⁡l,2⁢x+3⁢y=0:
AreTangent⁡c1,c2
true
AreTangent⁡l,c1
false
See Also
geometry[HorizontalName]
geometry[TangentLine]
geometry[tangentpc]
geometry[VerticalName]
Download Help Document