public interface Locatable
Modifier and Type | Interface and Description |
---|---|
static class |
Locatable.LocationOption
Contains all possible options for getting approximative locations.
|
Modifier and Type | Method and Description |
---|---|
Location |
getApproximativeLocation(Location currentLocation,
Location desiredLocation,
Locatable.LocationOption... options)
Get an approximative Location in order to avoid extra compensation transformations or moves.
|
Location |
getLocation() |
Location getLocation()
Location getApproximativeLocation(Location currentLocation, Location desiredLocation, Locatable.LocationOption... options) throws java.lang.Exception
currentLocation
- The current location, usually obtained using Headmountable.getLocation()desiredLocation
- The desired location to approximate.options
- Options for the approximation.java.lang.Exception