TANGENT
Where a line from a point touches a circle or arc.
Syntax
TANGENT(@e,p,k)
| Argument | Meaning |
|---|---|
| @e | A circle, arc or bulge arc. |
| p | The position the line comes from (outside the circle). |
| k | 0 or 1: the touching point on one side or the other. |
Result
A position on the whole circle.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
TANGENT(@6,P6,0) |
[31.8095,18.3129] |
TANGENT(@6,P6,1) |
[69.7905,12.8871] |
Notes
It follows the element: a point defined this way moves when the element does, and is never fixed in space. The Tangent snap writes it, from the last point marked. From inside the circle there is no tangent.