CIRCLE ROTATE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>
{{Command|syntax=[[Image:circle_rotate.png|right|CIRCLE_ROTATE]]CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>
|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=:Rotate a circle about defined co-ordinates and a defined angle.


|param1=<circle number>|param1_desc= {{circle number}}
|param1=<circle number>|param1_desc= {{circle number}}
Line 9: Line 9:


===Example===
===Example===
:- CIRCLE_ROTATE 4, 6, 7, 39
:CIRCLE_ROTATE 4, 6, 7, 39


[[Category:Geometry]]
[[Category:Geometry]]

Revision as of 20:42, 20 July 2010

Command

CIRCLE_ROTATE
CIRCLE_ROTATE
CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>


Rotate a circle about defined co-ordinates and a defined angle.

Parameters

<circle number>
The number of a previously defined macro circle.
<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 4, 6, 7, 39