You have in the past seen three ways to express a
straight line in
R algebraically:
For the relational form, an advantage is that any
line can be expressed. For example,
gives a vertical line. A disadvantage is that there is more
than one way to express each line. For example, multiplying
the equation through by
gives the same line.
The parametric form can be viewed as the path of a
moving point with velocity vector
v and with
. An advantage is that any line can be expressed.
A disadvantage is that there are many ways to express each
line:
can be changed to any other point on the
line, and
v
can be multiplied by any nonzero scalar,
without changing the line represented.
In computer graphics, there are many applications for the relational and parametric forms, as you will see. The functional form is rarely used. It's easy to take a line written functionally and re-express it either relationally or parametrically. Therefore, in these notes we'll consider only these last two forms.