RAYCROSSING
Where a line at an angle through one point crosses a line at an angle through another.
Syntax
RAYCROSSING(A,angleA,B,angleB)
| Argument | Meaning |
|---|---|
| A, angleA | The first point, and the angle of the line through it, in degrees anticlockwise from the positive X axis. |
| B, angleB | The second point, and the angle of the line through it. |
Result
A position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
RAYCROSSING(P0,45,P1,135) |
[250,250] |
RAYCROSSING(P0,30,P2,180) |
[519.6152,300] |
Notes
The Two Angles snap mode makes its points this way. The lines go both ways, so an angle and the angle half a turn round it give the same line. It is an error if the lines are parallel.
See also: TRIANGULATE, POLAR, ANGLE.