From: Michael B. <mic...@gm...> - 2009-02-26 23:32:27
|
HI, JTS, used by Geotools for geometry, doesn't do arcs. But have a look at this page in the User's Guide... http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry#01HowtoCreateaGeometry-Arcs%2CCirclesandCurves You might also consider creating a curve with one of the Java Shape classes and then using a PathIterator to get the coordinates of points along the curve (actually, I'll add a little example of that to the page shortly). Hope this helps, Michael |