In the case of a line in the plane given by the equation where a, b and c are real constants with a and b not both zero, the distance from the line to a point (x0,y0) is[REF][REF] .
Horizontal and vertical lines .