Previous Up Next

12.5.3  Segments in space: segment

See section 11.7.3 for segments in the plane.

The segment command takes as arguments two points.

segment returns and draws the corresponding line segment.

Input:

segment(point(0,0,0),point(1,1,1))

Output:


Previous Up Next