A 3D line can be presented by several methods, the most frequent way is by parametric equations or by the classical form,
another way is by vector notations, the line can also be presented by defining two points along the line.
1.
Parametric equations
x1 , y1 , z1
A point on the line
a1 , b1 , c1
Direction numbers
2.
The classical equations
The parametric and the classic presentation of the line are actually the same, to show this we take the values of the division of x, y and z as equal to t:
And we receive again the parametric equations of the line, different values of t describes different points along the line.
Notice that when a direction number is 0 let say a1 = 0 the x term will be:
This is incorrect mathematically, but in the line notation it means that x = x1 and the line;
is located on a plane parallel to the y-z axis.
If two direction numbers, let say a1 = b1 = 0 , the line is parallel to the z axis.
All 3 direction numbers can not be 0 as there will be no line but only a point.
Notice that r1 is a location of a point on the line and e1 (in the parenthesis) defines the direction numbers of the line.
4.
Lines defined by 4 points
This method also includes one point (x1, y1, z1) but this time we must calculate the direction numbers
for line L1: