Thanks; 

Added your example to this page:
- http://docs.codehaus.org/display/GEOTDOC/02+JTS+Utility+Class

Jody

On 19/08/2010, at 8:15 AM, andrea antonello wrote:

> Coordinate ancorPoint = ...;
> AffineTransform affineTransform =
> AffineTransform.getRotateInstance(angleRad, ancorPoint.x,
> ancorPoint.y);
> MathTransform mathTransform = new AffineTransform2D(affineTransform);
> 
> Point point = ...point to rotate;
> Geometry rotatedPoint = JTS.transform(point, mathTransform);


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to