Jody Garnett a écrit : > Right now we have BoundingBox as a subclass of GeneralEnveloper; you > could make EnvelopeWithTime as a subclass of that... and add some > methods to get the Range<Date,Date> at the same time.
It is possible but I would not recommand that. BoundingBox is really a convenience class assuming X=dimension 0 and Y=dimension 1, which is the kind of assumption that I try very hard to discourage. Code working on GeneralEnvelope with inspection of CRS axes is likely to be more generic. Martin ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel