[OpenMap Users] QuadTree bounds..

From: JR Andreassen <janrune@io.com>
Date: Tue Jan 16 2007 - 13:08:56 EST

Hi...

I was wondering if there was a reason the QuadTree bounds is unavailable ??

It seams it would be convinient to get the bounds like:

        //
------------------------------------------------------------------------------
   /**
     * Get the bounding box of the object
     * @return QuadTreeRect Bounds of QuadTree
     */
    public QuadTreeRect getBounds()
    {
            QuadTreeRect retVal = null;
            if(top != null)
            { retVal = top.bounds;
                retVal = new QuadTreeRect(retVal.north, retVal.west,
retVal.south, retVal.east);
            }
            else
            { retVal = new QuadTreeRect(0f,0f,0f,0f);}
            return retVal;
        } // QuadTreeRect getBounds()

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jan 16 13:33:34 2007

This archive was generated by hypermail 2.1.8 : Tue Jan 16 2007 - 13:33:43 EST