public interface Location
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Modifier and Type | Method and Description |
|---|---|
GeoCoordinates |
getAccessPoint()
Gets the access point.
|
AffectedLines |
getAffectedLines()
Gets the affected lines.
|
GeoCoordinates |
getCenterPoint()
Gets the center point of a circle location.
|
List<GeoCoordinates> |
getCornerPoints()
Gets the points defining the corners of an area location.
|
String |
getID()
Gets the unique ID.
|
List<Line> |
getLocationLines()
Gets the location as a list of lines, if the decoded location is valid.
|
LocationType |
getLocationType()
Gets the location type.
|
GeoCoordinates |
getLowerLeftPoint()
Gets the lower left corner point of a rectangle or grid location.
|
int |
getNegativeOffset()
Gets the remaining negative offset.
|
int |
getNumberOfColumns()
Gets the number of columns of a grid location.
|
int |
getNumberOfRows()
Gets the number of rows of a grid location.
|
Orientation |
getOrientation()
Gets the orientation.
|
Line |
getPoiLine()
Gets the line used to define a point location on.
|
GeoCoordinates |
getPointLocation()
Gets the point location.
|
int |
getPositiveOffset()
Gets the remaining positive offset.
|
long |
getRadius()
Gets the radius (in meters) of a circle location.
|
StatusCode |
getReturnCode()
Gets the return code (only valid as a result of a decoding process).
|
SideOfRoad |
getSideOfRoad()
Gets the side of road.
|
GeoCoordinates |
getUpperRightPoint()
Gets the upper right corner point of a rectangle or grid location.
|
boolean |
hasNegativeOffset()
Checks for negative offset.
|
boolean |
hasPositiveOffset()
Checks for positive offset.
|
boolean |
isValid()
Checks if the decoded location is valid.
|
boolean isValid()
StatusCode getReturnCode()
List<Line> getLocationLines()
AffectedLines getAffectedLines()
String getID()
Line getPoiLine()
int getPositiveOffset()
int getNegativeOffset()
LocationType getLocationType()
GeoCoordinates getPointLocation()
GeoCoordinates getAccessPoint()
List<GeoCoordinates> getCornerPoints()
POLYGON, RECTANGLE, or
GRID, otherwise nullGeoCoordinates getLowerLeftPoint()
RECTANGLE, or GRID, otherwise
nullGeoCoordinates getUpperRightPoint()
RECTANGLE, or GRID, otherwise
nullGeoCoordinates getCenterPoint()
nulllong getRadius()
-1int getNumberOfColumns()
-1int getNumberOfRows()
-1boolean hasPositiveOffset()
boolean hasNegativeOffset()
Orientation getOrientation()
SideOfRoad getSideOfRoad()
Copyright © 2019 TomTom International B.V.. All rights reserved.