TRIANGULATE
The point a distance from each of two points: where two circles round them cross.
Syntax
TRIANGULATE(A,B,dA,dB,side)
| Argument | Meaning |
|---|---|
| A, B | The two points. |
| dA, dB | How far the new point is from A and from B. |
| side | Which of the two crossings: positive (or 0) for the one on the left of the way from A to B, negative for the one on the right. |
Result
A position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
TRIANGULATE(P0,P1,300,400,1) |
[180,240] |
TRIANGULATE(P0,P1,300,400,-1) |
[180,-240] |
Notes
The Two Distances snap mode makes its points this way. It is an error if the two points are the same, if a distance is negative, or if the circles don't meet (the distances are too short to reach, or one circle is inside the other); circles that just touch give the point where they touch.
See also: RAYCROSSING, DISTANCE.