public class RawPolygonLocRef extends RawLocationReference
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
id, locType, returnCode| Constructor and Description |
|---|
RawPolygonLocRef(String idValue,
List<? extends GeoCoordinates> c)
Instantiates a new raw encoder location reference for a polygon
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)
{
|
List<GeoCoordinates> |
getCornerPoints()
Gets the points defining the corners of an area location.
|
int |
hashCode() |
String |
toString() |
getCenterPoint, getGeoCoordinates, getHashCode, getID, getLocationReferencePoints, getLocationType, getLowerLeftPoint, getNumberOfColumns, getNumberOfRows, getOffsets, getOrientation, getRadius, getReturnCode, getSideOfRoad, getUpperRightPoint, hasID, isValidpublic RawPolygonLocRef(String idValue, List<? extends GeoCoordinates> c)
idValue - the idc - the corner listpublic final List<GeoCoordinates> getCornerPoints()
getCornerPoints in class RawLocationReferencePOLYGON, RECTANGLE, 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.