CIRCLE ROTATE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it. | |description=This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it. | ||
|param1=<circle>|param1_desc= The number of the circle (1 to 100) to be defined.This is a number used by the macro to create other geometry. | |param1=<circle number>|param1_desc= The number of the circle (1 to 100) to be defined.This is a number used by the macro to create other geometry. | ||
|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. |
Revision as of 21:49, 13 July 2010
Command
- CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>
This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it.
Parameters
- <circle number>
- The number of the circle (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.
Example
- - CIRCLE_ROTATE 4, 6, 7, 39