# MathLib.Line()

MathLib.Line is MathLib's implementation of lines (by now only for two dimensional lines). The function expects one argument, the array of entries of the . $\text{MathLib.Line}([a_1, a_2, a_3]) = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}$

## Examples

Let's consider the line given by the equation: $y = 4x + 3$ We can rearrange the equation to $0 = 4x - y + 3$ From this form we can directly read of the homogeneous coordinates which we need to construct the line in MathLib  var l = new MathLib.Line([4, -1, 3]); 

## Properties

.constructor
The function MathLib.Line.
.dimension
The dimension of the line.
.length
The number of entries in the vector.
.type
The string "line".

## Methods

.draw()
Draws a line.
.isEqual()
Determines if two lines are equal
.isFinite()
Determines if a line is finite.
.isParallelTo()
Determines if a line is parallel to an other line.
.meet()
Calculates the meeting point of two lines.
.normalize()
Normalizes the line.
.parallelThrough()
Calculates the parallel line through a given point.