public class RawRectangleLocRef extends RawLocationReference
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
id, locType, returnCode| Constructor and Description |
|---|
RawRectangleLocRef(String idValue,
GeoCoordinates ll,
GeoCoordinates ur)
Instantiates a new raw encoder location reference for a rectangle
location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateHashCode()
{ Calculate the hash code which can be used to be stored if several hashCode calls
are required.
|
boolean |
equals(Object obj)
{
|
GeoCoordinates |
getLowerLeftPoint()
Gets the leftmost corner point of a rectangle or grid location.
|
GeoCoordinates |
getUpperRightPoint()
Gets the rightmost corner point of a rectangle or grid location.
|
int |
hashCode() |
String |
toString() |
getCenterPoint, getCornerPoints, getGeoCoordinates, getHashCode, getID, getLocationReferencePoints, getLocationType, getNumberOfColumns, getNumberOfRows, getOffsets, getOrientation, getRadius, getReturnCode, getSideOfRoad, hasID, isValidpublic RawRectangleLocRef(String idValue, GeoCoordinates ll, GeoCoordinates ur)
idValue - the idll - the llur - the urpublic final GeoCoordinates getLowerLeftPoint()
getLowerLeftPoint in class RawLocationReferenceRECTANGLE, or GRID, otherwise
nullpublic final GeoCoordinates getUpperRightPoint()
getUpperRightPoint in class RawLocationReferenceRECTANGLE, or GRID, otherwise
nullpublic final int calculateHashCode()
calculateHashCode in class RawLocationReferencepublic final boolean equals(Object obj)
equals in class RawLocationReferencepublic final int hashCode()
hashCode in class RawLocationReferenceCopyright © 2019 TomTom International B.V.. All rights reserved.