where:
Given two points and on the line, we can write that:
in order to determine , and .
where is the slope:
where is the angle between the line and the axis.
can also be expressed parametrically as:
where are the components of the points and of the line.
Given two points and and a connecting line , the point-intercept form of the line is given by:
where is the slope of the line.
In parametric form:
where:
Knowing the components of two points and , we can determine the midpoint of the segment whose components are: