Jody Garnett a écrit :
> their may be a use for a DirectPosition.equals(Position)
> method which performs the CRS aware comparison....
I suggest to:
* keep DirectPosition.equals(Object) very strict (full CRS comparaison
using crs.equals(...), not equalsIgnoreMetadata) in order to reduce
the risk of unexpected behavior in HashMap.
* add if needed a DirectPosition.equals(DirectPosition, double) method,
with maybe more flexible rule as proposed by Jody, and a tolerance
threshold explicitly specified by the user (rather than choosen in
our implementation class).
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel