Line

It constructs a line.

Syntax

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

Description

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

calc.line1.calc.png

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

calc.line2.calc.png

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

calc.line3.calc.png

Given a vector c=[c1,c2,c3]LaTeXc=\lbrack c_1,c_2,c_3\rbrack, it constructs a line whose equation is c1x+c2y+c3=0LaTeXc_1x+c_2y+c_3=0.

calc.line4.calc.png

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

calc.line9.calc.png

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

calc.line5.calc.png

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

calc.line6.calc.png

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

calc.line7.calc.png

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

calc.line8.calc.png