geometry
AreOrthogonal
test if two circles are orthogonal to each other
Calling Sequence
Parameters
Description
Examples
AreOrthogonal(c1, c2, cond )
c1, c2
-
two circles
cond
(optional) a name
Two circles c1 and c2 are said to be orthogonal if the angles of intersection of the two circles are right angles. By the angles of intersection of two circle (or two coplanar curves in general) at a point which they have in common is meant that the angles between the tangents to the curves at the common point.
The routine returns true if c1 and c2 are orthogonal; false if they are not; and FAIL if it is unable to reach a conclusion.
In case of FAIL, if the third optional argument is given, the condition that makes c1 and c2 orthogonal to each other is assigned to this argument.
The command with(geometry,AreOrthogonal) 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=2:
circle⁡c3,x2+y2=2:
AreOrthogonal⁡c1,c2
false
AreOrthogonal⁡c2,c3
true
See Also
geometry[circle]
geometry[HorizontalName]
geometry[VerticalName]
Download Help Document