HyperCrash

NEW_LINE Operator

NEW_LINE Operator

Previous topic Next topic No expanding text in this topic  

NEW_LINE Operator

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Description

Creates a straight line.

Syntaxes

line = NEW_LINE(

node1, node2

) ;

line

 The line.

node1

 The first node defining the line.

node2

 The second node defining the line.

line = NEW_LINE( node, vector ) ;

line

 The line.

node

 A node contained by the line.

vector

 The vector tangent to the line.

line = NEW_LINE( x1, y1, z1, x2, y2, z2 ) ;

line

 The line.

x1

 The hc_img60 coordinate of the first node.

y1

 The hc_img22 coordinate of the first node.

z1

 The hc_img61 coordinate of the first node.

x2

 The hc_img60 coordinate of the second node.

y2

 The hc_img22 coordinate of the second node.

z2

 The hc_img61 coordinate of the second node.

Comments

The coordinates supplied in the third syntax must be real numbers (at least a period or an exponent is necessary).