Package com.navmii.sdk.common
Class MapRectangle
- java.lang.Object
-
- com.navmii.sdk.common.MapRectangle
-
public final class MapRectangle extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MapRectangle(MapCoordinates topLeft, MapCoordinates bottomRight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
MapCoordinates
getBottomRight()
The coordinates of the bottom right corner.MapCoordinates
getTopLeft()
The coordinates of the top left corner.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MapRectangle
public MapRectangle(MapCoordinates topLeft, MapCoordinates bottomRight)
-
-
Method Detail
-
getTopLeft
public MapCoordinates getTopLeft()
The coordinates of the top left corner.
-
getBottomRight
public MapCoordinates getBottomRight()
The coordinates of the bottom right corner.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-