geometry
TangentLine
find the tangents of a point with respect to a circle
Calling Sequence
Parameters
Description
Examples
TangentLine(obj, P, c, n)
obj
-
name
P
point
c
circle
n
(optional) list of two names
The routine finds the tangent line(s) of point P with respect to circle c
The output is obj which is assigned to a list of two lines (two tangent lines), or a line (one tangent line), or nothing (there is no tangent).
If the third optional argument is given and in case there exists two tangent lines, the names of the tangent lines are the two elements in the list.
For more details on the tangent, use detail.
The command with(geometry,TangentLine) allows the use of the abbreviated form of this command.
with⁡geometry:
point⁡A,1,1,circle⁡c,a2+b2=1,a,b
A,c
TangentLine⁡obj,A,c,l1,l2
l1,l2
form⁡l1,Equation⁡l1
line2d,−1+a=0
form⁡l2,Equation⁡l2
line2d,1−b=0
See Also
geometry[tangentpc]
Download Help Document