POINT ROTATE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
[[Geometry:Creating_Geometry|'''Back''']]
{{Command|syntax=[[Image:point_rotate.png|right|POINT_ROTATE]]POINT_ROTATE <point number>, <xc>, <yc>, <angle>
{{Command|syntax=[[Image:point_rotate.png|right|POINT_ROTATE]]POINT_ROTATE <point number>, <xc>, <yc>, <angle>
|description=:Rotate a [[macro_point|point]] about defined co-ordinates and a defined angle.
|description=:Rotate a [[macro_point|point]] about defined co-ordinates and a defined angle.

Revision as of 21:47, 30 July 2010

Back

Command

POINT_ROTATE
POINT_ROTATE
POINT_ROTATE <point number>, <xc>, <yc>, <angle>


Rotate a point about defined co-ordinates and a defined angle.

Parameters

<point number>
The number of a previously defined macro point.
<xc>
X co-ordinate of the center point.
<yc>
Y co-ordinate of the center point.
<angle>
angle value, either degrees or radians. Positive angles indicate a CCW direction, negative for CW.

Use the DEGREES or RADIANS commands to switch between the two angle modes.

Example

POINT_ROTATE 15, 12, 4, 16