POINT ROTATE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=POINT_ROTATE <point number>, <xc>, <yc>, <angle>, |description=This is used to rotate a point about a circle. |param1=<point number>|param1_desc= The num...
 
ConnerO (talk | contribs)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=POINT_ROTATE <[[point number]]>, <[[xc]]>, <[[yc]]>, <[[angle]]>,
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This is used to rotate a point about a circle.
 
{{Command|syntax=[[Image:point_rotate.png|right|POINT_ROTATE]]POINT_ROTATE <point number>, <xc>, <yc>, <angle>
|description=:Rotate a [[macro_point|point]] about defined co-ordinates and a defined angle.
 
|param1=<point number>|param1_desc=  {{point number}}
|param2=<xc>|param2_desc= {{xc}}
|param3=<yc>|param3_desc= {{yc}}
|param4=<angle>|param4_desc= {{angle}}


|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.
|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.
|param4=<angle>|param4_desc= An angle value can be in either degrees or radians. Positive angles indicate a CCW direction, negative for CW.
}}
}}


===Example===
===Example===
:- POINT_ROTATE 15, 12, 4, 16
:POINT_ROTATE 1, 1, 1, 65






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

Latest revision as of 23:02, 2 August 2010

Up

Command

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


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

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 1, 1, 1, 65