public class RawCircleLocRef extends RawLocationReference
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
id, locType, returnCode| Constructor and Description |
|---|
RawCircleLocRef(String idValue,
GeoCoordinates c,
long r)
Instantiates a new raw encoder location reference for a circle 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 |
getCenterPoint()
Gets the center point of a circle location.
|
long |
getRadius()
Gets the radius (in meters) of a circle location.
|
int |
hashCode() |
String |
toString() |
getCornerPoints, getGeoCoordinates, getHashCode, getID, getLocationReferencePoints, getLocationType, getLowerLeftPoint, getNumberOfColumns, getNumberOfRows, getOffsets, getOrientation, getReturnCode, getSideOfRoad, getUpperRightPoint, hasID, isValidpublic RawCircleLocRef(String idValue, GeoCoordinates c, long r)
idValue - the idc - the cr - the rpublic final GeoCoordinates getCenterPoint()
getCenterPoint in class RawLocationReferencenullpublic final long getRadius()
getRadius in class RawLocationReference-1public 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.