POINT TRANSLATE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=[[Image:point_translate.png|right|POINT_TRANSLATE]]POINT_TRANSLATE <point number>, <dx>, <dy>,
[[Geometry:Creating_Geometry|{{Up}}]]
 
{{Command|syntax=[[Image:point_translate.png|right|POINT_TRANSLATE]]POINT_TRANSLATE <point number>, <dx>, <dy>
|description=:Translate a point a certain distance from its previous place.
|description=:Translate a point a certain distance from its previous place.


|param1=<point number>|param1_desc=  {{point number}
|param1=<point number>|param1_desc=  {{point number}}
|param2=<dx>|param2_desc= {{dx}}   
|param2=<dx>|param2_desc= {{dx}}   
|param3=<dy>|param3_desc= {{dy}}  
|param3=<dy>|param3_desc= {{dy}}  
Line 9: Line 11:


===Example===
===Example===
:POINT_TRANSLATE 3, 7, 4
:POINT_TRANSLATE 1, 3, 7




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

Latest revision as of 23:02, 2 August 2010

Up

Command

POINT_TRANSLATE
POINT_TRANSLATE
POINT_TRANSLATE <point number>, <dx>, <dy>


Translate a point a certain distance from its previous place.

Parameters

<point number>
The number of a previously defined macro point.
<dx>
The distance in the X axis direction.
<dy>
The distance in the Y axis direction.

Example

POINT_TRANSLATE 1, 3, 7