Previous Up Next

25.6.3  Line segments in the plane

See Section 26.4.3 for segments in space.

The segment command draws line segments. (The segment command can also draw vectors (see Section 25.6.4.)

The Line command also draws line segments, but with a slightly different syntax.

Example

segment(-1,1+i)

or:

segment(point(-1),point(1,1))

or:

Line(-1,0,1,1)

Previous Up Next