Difference between revisions of "POINT ROTATE"

From Macros Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|param2=<xc>|param2_desc= The value of the center of the circle for the x axis.  
 
|param2=<xc>|param2_desc= The value of the center of the circle for the x axis.  
 
|param3=<yc>|param3_desc= The value of the center of the circle for the y axis.
 
|param3=<yc>|param3_desc= The value of the center of the circle for the y axis.
|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= 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.  
  
 
}}
 
}}

Revision as of 12:17, 13 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 the point (1 to 100) to be defined.This is a number used by the macro to create other geometry.
<xc>
The value of the center of the circle for the x axis.
<yc>
The value of the center of the circle for the y axis.
<angle>
An angle value can be in 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