Previous Up Next

27.4.1  Lines and directed lines in space

See Section 26.6.1 for lines in the plane.

The line command returns and draws a directed line. It can take its arguments in three different ways.

  1. Two points.
  2. A point and a direction vector.
  3. Two planes.

Examples

line([0,3,0],point(3,0,3))
line([0,3,0],[3,0,3])
line(x=y,y=z)

Previous Up Next