Macaulay2 » Documentation
Packages » Graphics :: segment
next | previous | forward | backward | up | index | toc

# segment -- create a line segment

## Ways to use segment:

- segment(Point2D,Point2D) -- a line segment from two points
- segment(Point3D,Point3D) -- a line segment from two points

## For the programmer

The object segment is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Graphics.m2:719:0.