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 northeast of the rectangle.
 MMLatLon getNorthWest()
           Gets the point at the northwest of the rectangle.
 MMLatLon getSouthEast()
           Gets the point at the southeast of the rectangle.
 MMLatLon getSouthWest()
           Gets the point at the southwest of the rectangle.
 boolean intersects( <MMBounds> other )
           Returns true if this bounds rectangle intersects the given bounds rectangle.
 void reset( <Object> south_west, <Object> north_east )
           A method to reset the contents of a bounds object, allows re-use.
 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

MMLatLon getNorthWest()

getSouthEast

MMLatLon getSouthEast()

getSouthWest

MMLatLon getSouthWest()

intersects

boolean intersects( <MMBounds> other )

reset

void reset( <Object> south_west, <Object> north_east )

toString

String toString()


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009