From: Jody G. <jga...@re...> - 2008-05-14 18:25:36
|
I have added a bit to the page on creating a JTS Geometry explaining that you need to do work to represent a curve; including this circle example. Thanks for your question. If you do produce a good "createCurve" method please send it to the user list here and I can add it to the user guide. Link: - http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry One good idea would be to make a series of JTS.createCircle( x, y, radius ) functions which stored a bit of information in the Geometry.getUserData() method, that way our JTS.transform functions (at least) could be made to handle these "higher order" constructs. Cheers, Jody |