Difference between revisions of "POINT ROTATE"

From Macros Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Command|syntax=POINT_ROTATE <point number>, <xc>, <yc>, <angle>,
+
{{Command|syntax=[[Image:point_rotate.png|right|POINT_ROTATE]]POINT_ROTATE <point number>, <xc>, <yc>, <angle>
|description=This is used to rotate a point about a circle.
+
|description=:Rotate a point about defined co-ordinates and a defined angle.
  
 
|param1=<point number>|param1_desc=  {{point number}}
 
|param1=<point number>|param1_desc=  {{point number}}
Line 10: Line 10:
  
 
===Example===
 
===Example===
:- POINT_ROTATE 15, 12, 4, 16
+
:POINT_ROTATE 15, 12, 4, 16
  
  
  
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Revision as of 13:27, 21 July 2010

Command

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