Jody Garnett a écrit :
> I had a look; it does not look like an actual overlap; Envelope2D
> extends Rectangle2D and thus can be directly used with Java APIs
Right.
ReferencedEnvelope is for interraction with JTS.
Envelope2D is for interraction with Java2D.
Both extend the appropriate class from the library they want to interract with.
So there is no duplication. You choose the implementation depending on which
library (JTS or Java2D) you want to interact with.
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel