Curtis L. Olson writes:
> 
> This is kind of off today's topic, but I have an unrelated question.
> 
> Working in 2d space, given 3 points, I know how to compute a circle 
> (center/radius) that passes through those three points.  Now I need to 
> compute the direction of curvature of the 3 points.  In other words, 
> moving from the 1st point through the second point to the 3rd point, is 
> the direction of the circle clockwise (curving right) or counter 
> clockwise (curving left.)

Classic problem with a classic solution :-)

grep clockwise on this page
http://exaflop.org/docs/cgafaq/cga6.html

Norman

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to