Class MMBounds

Object
   |
   +--MMBounds

class MMBounds

Defined in MultimapAPI


Constructor Summary
MMBounds ( <Object> south_west, <Object> north_east )
            An object for storing information about a rectangular bounding box on a map.
 
Method Summary
 boolean contains( <Object> point )
           Returns true if the rectangle bounds contain the given point.
 boolean containsBounds( <MMBounds> other )
           Returns true if this bounds rectangle contains the given bounds rectangle.
 MMLocation copy()
           Function to return a copy of the object in a new object.
 void extend( <Object> point )
           Extends the bounds to contain the given point.
 MMLatLon getCenter()
           Retrieves the center point of the bounded rectangle.
 MMLatLon getNorthEast()
           Gets the point at the north-east of the rectangle.
 Object getNorthWest()
          
 Object getSouthEast()
          
 MMLatLon getSouthWest()
           Gets the point at the south-west of the rectangle.
 boolean intersects( <MMBounds> other )
           Returns true if this bounds rectangle intersects the given bounds rectangle.
 String toString()
           Function to return a simple string representation of the object.

Constructor Detail

MMBounds

MMBounds( <Object> south_west, <Object> north_east )

Method Detail

contains

boolean contains( <Object> point )

containsBounds

boolean containsBounds( <MMBounds> other )

copy

MMLocation copy()

extend

void extend( <Object> point )

getCenter

MMLatLon getCenter()

getNorthEast

MMLatLon getNorthEast()

getNorthWest

Object getNorthWest()

getSouthEast

Object getSouthEast()

getSouthWest

MMLatLon getSouthWest()

intersects

boolean intersects( <MMBounds> other )

toString

String toString()


Documentation generated by JSDoc on Wed Aug 16 15:33:06 2006