ALONGELEMENT
The point a distance along an element.
Syntax
ALONGELEMENT(@e,d)
ALONGELEMENT(@e,FROMEND(d))
| Argument | Meaning |
|---|---|
| @e | The element. |
| d | How far along it from its start (FROMEND: back from its end), measured along the curve. |
Result
A position on the element.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
ALONGELEMENT(@5,25) |
[25,0] |
ALONGELEMENT(@5,FROMEND(25)) |
[75,0] |
ALONGELEMENT(@7,50) |
[77.6393,44.7214] |
Notes
It follows the element: a point defined this way moves when the element does, and is never fixed in space. A distance past either end gives that end.