# 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 $A$ and $B$, it constructs a line passing through such points. Given a point $A$ and a vector $v$, it constructs a line passing through $A$ with direction vector $v$. Given a point $A$ and a real $m$, it constructs a line passing through $A$ with slope $m$. Given a vector $c=\left[{c}_{1},{c}_{2},{c}_{3}\right]$, it constructs a line whose equation is ${c}_{1}x+{c}_{2}y+{c}_{3}=0$. Given an equation or equations, it constructs a line whose equation(s) are the ones we have provided. 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$. Given a segment, it constructs a line that contains it. Given a triangle and an integer $n$, it constructs the line that contains the $n$-th edge. Given a polygon or polygon and an integer $n$, it constructs the line that contains the $n$-th edge. 