DRAW Reference Manual
Point and Line Construction
: Centre or Focus Position
Centre or Focus Position
The centre or focus position form of construction derives a position as the centre of a specified circle, arc, ellipse, rectangle, hexagon, table, diamond or equilateral triangle. A point can also be constructed using the focus of an ellipse.
Example
1.
NEW STRA
FPT X150 Y250
TPT CEN OF @
(or
NEW STRA DEF X150 Y250 CEN OF @
)
The line has one of its endpoints defined explicitly, the other as the centre of the element (in this case a circle) hit by the cursor.
2.
NEW TEXP
text
DEF CENTRE PREV CIRCLE
The
text
origin is placed at the centre of the previous circle element in list order.
3.
NEW STRA
FPT @
TPT FOC OF /ELLI1 QUAL @
The ‘to’ point of the line is placed at the focus of ellipse /ELLI1 qualified by a cursor hit.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.