|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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( <Object> south_west, <Object> north_east )
south_west - South-west point of the rectangle.
north_east - North-east point of the rectangle.
| Method Detail |
boolean contains( <Object> point )
point - Point to check for.
boolean containsBounds( <MMBounds> other )
other - The other rectangle to check.
MMLocation copy()
void extend( <Object> point )
point - Point to extend the bounds by.
MMLatLon getCenter()
MMLatLon getNorthEast()
Object getNorthWest()
Object getSouthEast()
MMLatLon getSouthWest()
boolean intersects( <MMBounds> other )
other - The other rectangle to check.
String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||