# MathLib.Line()

## 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.

## Links

- Line (geometry) on Wikipedia
- Homogeneous coordinates on Wikipedia