Replace GeodeticCalculator.getGeodeticCurve
-------------------------------------------
Key: GEOT-3472
URL: http://jira.codehaus.org/browse/GEOT-3472
Project: GeoTools
Issue Type: Improvement
Components: core referencing
Reporter: Michael Bedward
Assignee: Andrea Aime
Priority: Minor
Fix For: 2.8-M1
Attachments: GeodeticCalculator.patch
GeodeticCalculator.getGeodeticCurve returns a Shape. A List of Point2Ds would
be much more convenient and also give double, rather than float, precision.
The attached patch deprecates getGeodeticCurve and adds a new method:
List<Point2D> getPath(int numPoints)
The patch also adds a private helper method computePoint to avoid the confusing
dual use of computeDestinationPoint in the original code.
Unit tests are included but they could be better.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel