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

# Segment2D -- the class of a line segment in a 2D space

## Methods that use an object of class Segment2D:

- pgfObject(Segment2D,HashTable) -- create the string describing a line segment in pgf
- pictureZone(Segment2D) -- find the zone that contains the line segment
- svgObject(Segment2D,HashTable) -- create the string describing a line segment in SVG

## For the programmer

The object Segment2D is a type, with ancestor classes GraphicPrimitive < BasicList < Thing.

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