Hi all,
finally I followed the suggestion of Adrian and Martin which seems to me the
most correct.
I was not confused by the Envelope meaning I just wasn't sure about the
GeneralEnvelope meaning and kind of use.
I fully agree with Martin approach, the GeneralEnvelope should reamin as
much general as possible.
Alessio.
On Thu, Jul 3, 2008 at 10:47 AM, Adrian Custer <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-07-03 at 02:42 +0200, Jody Garnett wrote:
> > Alessio Fabiani wrote:
> > > I thought about two possible ways:
> > >
> > > 1. Modify/using/improving the GeneralEnvelope
> > > 2. Create a new EnvelopeWithTime object which extends the
> GeneralEnvelope
> > Right now we have BoundingBox as a subclass of GeneralEnveloper; you
> > could make EnvelopeWithTime as a subclass of that...
>
> Why? What does that buy you apart from breaking the generality of
> Envelope?
>
> Envelopes are neither bounding nor boxes so the subclass is broken by
> semantics. Then you want to extend that broken concept to handle a new
> axis of a totally different kind, exactly what the parent class was
> designed for!? ... it boggles the mind, really. I cannot fathom what's
> so confusing about Envelope that it could lead to this kind of thinking.
>
> --adrian
>
>
--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
-------------------------------------------------------
-------------------------------------------------------------------------
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