[josm-dev] Changeset 2427

Dave Hansen dave at sr71.net
Tue Nov 10 18:12:58 GMT 2009


On Tue, 2009-11-10 at 18:37 +0100, Jiri Klement wrote:
> It's not possible to get it easily back as it was, but Way.getBBox()
> should do the caching now.

I'm not sure it's implemented yet:

    @Override
    public BBox getBBox() {
        // TODO Precalculate way bbox (and update it every time nodes are moved or edited)
        return new BBox(this);
    }

but I'll go take a look.

BTW, thanks for all of the QuadBuckets cleanups, especially with the
generics around the Collection implementation.  You taught me a few
things. :)

-- Dave





More information about the josm-dev mailing list