Ok, just in case this can be useful for someone else, the method in question
is
*isCCW*(Coordinate
<http://www.jump-project.org/docs/jts/1.6/api/com/vividsolutions/jts/geom/Coordinate.html>[]
ring)
and you can find it at:
http://www.jump-project.org/docs/jts/1.6/api/com/vividsolutions/jts/algorithm/CGAlgorithms.html
2008/3/18, Jody Garnett <[EMAIL PROTECTED]>:
>
> Review the JTS library it has code to check the orientation of a
> LinearRing as I recall
>
> > Hi all!
> >
> > I need to know if there is a method that checks if a ring of
> > coordinates is in clockwise or in counter-clockwise. I've found the
> > "counterClockWise" method in the class SDO but I just want to know the
> > orientation of the ring, I don't want to change the orientation. Is
> > there any solution implemented?
> >
> > Thanks,
> >
> > Gloria
>
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users