Difference between revisions of "LINE 2P"

From Macros Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=LINE_2P <line number>, <point>, <point>,
+
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This is used to create a line between 2 points.
 
  
|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_2p.png|right|LINE_2P]]LINE_2P <line number>, <point 1>, <point 2 >,
|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]] between 2 points.
|param3=<point>|param3_desc=  This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
+
 
 +
|param1=<line number>|param1_desc= {{create line number}}
 +
|param2=<point 1>|param2_desc=  {{point}}  
 +
|param3=<point 2>|param3_desc= {{point}}  
 
}}
 
}}
  
 
===Example===
 
===Example===
:- LINE_2P 3, 2, 1
+
:LINE_2P 1, 1, 2
 
 
:- LINE_2P 6, 6, 2
 
  
  
  
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Latest revision as of 17:19, 30 July 2010

Up

Command

LINE_2P
LINE_2P <line number>, <point 1>, <point 2 >,


Create a line between 2 points.

Parameters

<line number>
The number of the line to be created.
A number between 1 and 100.
<point 1>
The number of an existing point.
<point 2>
The number of an existing point.

Example

LINE_2P 1, 1, 2