On Wed, May 28, 2008 at 10:26 PM, Richard Fairhurst <[EMAIL PROTECTED]>
wrote:

> Can anybody point me in the direction of an algorithm that will
> determine whether a closed way (polyline) is clockwise or anti-
> clockwise?
>

Take a look at this:

http://geometryalgorithms.com/Archive/algorithm_0101/algorithm_0101.htm#orientation2D_polygon()

Regards,
Quico
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to