LINE PA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=[[Image:line_pa.png|right|LINE_PA]]LINE_HP <line number>, <point>, <angle>
[[Geometry:Creating_Geometry|{{Up}}]]
|description=:Create a line on a point with an angle.


|param1=<line number>|param1_desc= {{line number}}  
{{Command|syntax=[[Image:line_pa.png|right|LINE_PA]]LINE_PA <line number>, <point>, <angle>
|description=:Create a [[macro_line|line]] on a point with an angle.
 
|param1=<line number>|param1_desc= {{create line number}}  
|param2=<point>|param2_desc= {{point}}
|param2=<point>|param2_desc= {{point}}
|param3=<angle>|param3_desc= {{angle}}  
|param3=<angle>|param3_desc= {{angle}}  
Line 8: Line 10:


===Example===
===Example===
:LINE_PA 1, 1, 33
:LINE_PA 6, 2, -74
:LINE_PA 6, 2, -74
:For an example macro see [[Contour_2]]


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

Latest revision as of 14:33, 13 August 2010

Up

Command

LINE_PA
LINE_PA
LINE_PA <line number>, <point>, <angle>


Create a line on a point with an angle.

Parameters

<line number>
The number of the line to be created.
A number between 1 and 100.
<point>
The number of an existing 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

LINE_PA 1, 1, 33
LINE_PA 6, 2, -74
For an example macro see Contour_2