CIRCLE ROTATE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Geometry:Creating_Geometry|{{Up}}]] | |||
{{Command|syntax=[[Image:circle_rotate.png|right|CIRCLE_ROTATE]]CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle> | {{Command|syntax=[[Image:circle_rotate.png|right|CIRCLE_ROTATE]]CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle> | ||
|description=:Rotate a circle | |description=:Rotate a [[macro_circle|circle]]. | ||
|param1=<circle number>|param1_desc= {{circle number}} | |param1=<circle number>|param1_desc= {{create circle number}} | ||
|param2=<xc>|param2_desc= {{xc}} | |param2=<xc>|param2_desc= {{xc}} | ||
|param3=<yc>|param3_desc= {{yc}} | |param3=<yc>|param3_desc= {{yc}} | ||
Line 9: | Line 11: | ||
===Example=== | ===Example=== | ||
:CIRCLE_ROTATE | :CIRCLE_ROTATE 1, 1, 3, 90 | ||
:CIRCLE_ROTATE 2, 1, 3, 270 | |||
[[Category:Geometry]] | [[Category:Geometry]] |
Latest revision as of 15:15, 11 August 2010
Command
- Rotate a circle.
Parameters
- <circle number>
- The number of the circle to be created.
- A number between 1 and 100.
- <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
- CIRCLE_ROTATE 1, 1, 3, 90
- CIRCLE_ROTATE 2, 1, 3, 270