12.5.1 Lines and directed lines in space: line
See section 11.7.1 for lines in the plane.
The line command returns and draws a directed line given one of the
following types of arguments:
Two points or a list of two points.
The direction of the line is from the first point
to the second point.
- A point and direction vector (in the form
The direction of the line is given by the direction vector.
- Two equations for planes.
The direction of the line is given by the cross-product of the
normals for the planes. For example, the intersection of the planes
x=y (normal (1,−1,0)) and y=z (normal (0,1,−1)) will be
(1,−1,0)× (0,1,−1) = (1,1,1).