I'm using OpenCV to fit a line from a set of points using cvFitLine()
cvFitLine()
returns a normalized vector that is co-linear to the line and a point on the line.
See details here
Using this information how can I get the equation of a line so that I can draw the line?