Line

It constructs a line.

 line(Point, Point) line(Point, Vector) line(Point, Real) line(Vector) line(Equation) line(Real, Real) line(Segment) line(Triangle, Integer) line(Polygonal | Polygon, Integer)

line(Point, Point)

Given two points and , it constructs a line passing through such points.

line(Point, Vector)

Given a point and a vector , it constructs a line passing through with direction vector .

line(Point, Real)

Given a point and a real , it constructs a line passing through with slope .

line(Vector)

Given a vector , it constructs a line whose equation is .

line(Equation)

Given an equation or equations, it constructs a line whose equation(s) are the ones we have provided. line(Real, Real)

Given two reals and (or one real and one infinity), it constructs the line that intersect with x-axis at and with y-axis at .

line(Segment)

Given a segment, it constructs a line that contains it.

line(Triangle, Integer)

Given a triangle and an integer , it constructs the line that contains the -th edge.

line(Polygonal | Polygon, Integer)

Given a polygon or polygon and an integer , it constructs the line that contains the -th edge.