There are several ways to express the concept of a line.
In the most general, multidimensional case, a line, the locus of points
of dimension 1, takes the form
In many applications, the line is a concept specific to two-dimensional space.
In this space, we omit the explicit form of the line equation, , because it has singularities, and focus instead on the implicit form.
The implicit equation of a line is:
In two dimensions, the parametric ray equation (1.58) reduces to the implicit line equation with parameters
The first of equations (1.60) shows that the vector formed by the parameters is orthogonal to the direction vector.
The vector generating the line is, for example, proportional to
or
.
The vector
orthogonal to the given line is simply
, and
the line orthogonal to the given line has the implicit equation
The parameters of a line in implicit form are homogeneous (Equation (1.59) is in fact called the homogeneous equation of a line); that is, they represent a vector subspace of : any multiple of these parameters represents the same line.
These parameters are therefore defined up to a multiplicative factor.
This observation suggests another way to represent a line or a general hyperplane.
Lines in implicit homogeneous form must satisfy the equation (dot product):
Since an implicit line is defined up to a multiplicative factor, the same line can be expressed in infinitely many ways.
One possible normalization is to divide the parameters by the length
.
This yields a particular representation of the line, since the parameters are those of a line expressed in polar coordinates using the same equation form as Equation (1.82). With this normalization, the parameter
represents the minimum distance between the line and the origin.
Finally, since a line is a hyperplane in two dimensions, its equation can be written as in Equation (1.85).
Paolo medici