Segment
Constructs a segment.
Syntax
segment(Point, Point)
segment(Point, Vector)
segment(Triangle, Integer)
segment(Polygon | Polygonal, Integer)
segment(Point)
segment(Vector)
segment(Line)
Description
Given two points and , constructs the segment .
Given a point and a vector , constructs the segment , where .
Following the usual notation for a triangle: vertices , and and sides , and ; given an integer , this function returns the segment .
Given a polygon or polygonal and an integer , returns the -th side of .
Given a point , constructs the segment .
Given a vector , constructs the segment , where
Returns a segment that belongs to the given line.