QUADRANT
A quadrant point of a circle, arc or ellipse.
Syntax
QUADRANT(@e,k)
| Argument | Meaning |
|---|---|
| @e | A circle, arc, bulge arc, ellipse or elliptical arc. |
| k | 0 right, 1 top, 2 left, 3 bottom (for an ellipse, the ends of its axes in turn, from the end of its major axis). |
Result
A position, on the whole circle or ellipse (an arc may not reach it).
Examples
In the example drawing:
| Expression | Gives |
|---|---|
QUADRANT(@6,0) |
[70,10] |
QUADRANT(@6,1) |
[50,30] |
Notes
It follows the element: a point defined this way moves when the element does, and is never fixed in space. The Quadrant snap writes it. k is rounded to a whole number and goes round: 4 is 0 again, and -1 is 3.
See also: CENTEROF.