27.4.3 Segments in space
See Section
26.6.3
for segments in the plane.
The
segment
command draws line segments.
segment
takes two arguments:
P
,
Q
, two points (which can also be given as a list).
segment(
P
,
Q
)
returns the corresponding line segment and draws it.
Example
segment
(
point
(0,0,0),
point
(1,1,1))