See Section 27.4.3 for segments in space.
The segment command draws line segments. (The segment command can also draw vectors (see Section 26.6.4.)
The Line command also draws line segments, but with a slightly different syntax.
segment(-1,1+i) |
or:
segment(point(-1),point(1,1)) |
or:
Line(-1,0,1,1) |