Segment

Constructs a segment.

segment(Point, Point)

Given two points A and B, constructs the segment stack A B with bar on top.

segment(Point, Vector)

Given a point A and a vector v, constructs the segment stack A B with bar on top, where B equals A plus v.

segment(Triangle, Integer)

Following the usual notation for a triangle: vertices A subscript 1, A subscript 2 and A subscript 3 and sides a subscript 1, a subscript 2 and a subscript 3; given an integer i, this function returns the segment a subscript i.

segment(Polygon | Polygonal, Integer)

Given a polygon or polygonal p and an integer i, returns the i-th side of p.

segment(Point)

Given a point P, constructs the segment stack O P with bar on top.

segment(Vector)

Given a vector v, constructs the segment stack O P with bar on top, where P equals O plus v

segment(Line)

Returns a segment that belongs to the given line.