LINE PA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=LINE_HP <line number>, <point>, <angle> |description=This is used to create a line on a point int he direction of a given angle. |param1=<line number>|param1_...
 
ConnerO (talk | contribs)
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=LINE_HP <[[line number]]>, <[[point]]>, <[[angle]]>
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This is used to create a line on a point int he direction of a given angle.


|param1=<line number>|param1_desc= The number of the line (1 to 100) to be defined. This is a number used by the macro to create other geometry.
{{Command|syntax=[[Image:line_pa.png|right|LINE_PA]]LINE_PA <line number>, <point>, <angle>
|param2=<point>|param2_desc= This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
|description=:Create a [[macro_line|line]] on a point with an angle.
|param3=<angle>|param3_desc= An angle value can be in either degrees or radians. Positive angles indicate a CCW direction, negative for CW.
 
<br/>Use the DEGREES or RADIANS commands to switch between the two angle modes.
|param1=<line number>|param1_desc= {{create line number}}
|param2=<point>|param2_desc= {{point}}
|param3=<angle>|param3_desc= {{angle}}
}}
}}


===Example===
===Example===
:- LINE_PA 6, 2, 74
:LINE_PA 1, 1, 33
 
:- LINE_PA 2, 9, -13


: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