Working with OPENCV

hi all.
i need to work with CvFitLine , but i can't find any examples of what it does.
basically i need to take a set of points (lets' say 3) , draw a line between them, and than i need for every point sum the distance of the point from the line the fitLine method is calculating. (to check if it's bigger than some constant).

anyone have any idea how to do this???
Topic archived. No new replies allowed.