Hi Martin, Andy,
I implemented something very similar some time ago (note the need to deal with quadrants in the angle computation, as Andy's code does it). And then you discover that JTS (dependency of GT) already does it... Have a look at:
*
*com.vividsolutions.jts.algorithm.Angle

May make your life easier, and avoid some errors.

Martin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to