Difference between revisions of "POINT ROTATE"

From Macros Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|description=This is used to rotate a point about a circle.
 
|description=This is used to rotate a point about a circle.
  
|param1=<point number>|param1_desc=  The number of the point (1 to 100) to be defined.This is a number used by the macro to create other geometry.
+
|param1=<point number>|param1_desc=  {{point number}}
|param2=<xc>|param2_desc= The value of the center of the circle for the x axis.
+
|param2=<xc>|param2_desc= {{xc}}
|param3=<yc>|param3_desc= The value of the center of the circle for the y axis.
+
|param3=<yc>|param3_desc= {{yc}}
|param4=<angle>|param4_desc= An angle value can be in either degrees or radians. Positive angles indicate a CCW direction, negative for CW.<br/>Use the [[DEGREES]] or [[RADIANS]] commands to switch between the two angle modes.
+
|param4=<angle>|param4_desc= {{angle}}
  
 
}}
 
}}

Revision as of 11:30, 16 July 2010

Command

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


This is used to rotate a point about a circle.

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