Uses of Class
ch.ivyteam.ivy.location.Distance
-
Packages that use Distance Package Description ch.ivyteam.ivy.location Defines alocation servicefor storing and queryinglocationinformation and that is available onusersand tasks. -
-
Uses of Distance in ch.ivyteam.ivy.location
Methods in ch.ivyteam.ivy.location that return Distance Modifier and Type Method Description DistanceGeoPosition. getDistanceTo(GeoPosition otherPosition)Gets the distance between this position and the given position.static DistanceDistance. inFeets(double feets)Creates a new distance in feetsstatic DistanceDistance. inKilometers(double kilometers)Creates a new distance in kilometersstatic DistanceDistance. inMeters(double meters)Creates a new distance in metersstatic DistanceDistance. inMiles(double miles)Creates a new distance in milesMethods in ch.ivyteam.ivy.location with parameters of type Distance Modifier and Type Method Description booleanDistance. isLessThan(Distance other)Returns true if this distance is less than the given other distancebooleanGeoPosition. isNearby(GeoPosition otherPosition, Distance maxDistance)GeoPositionGeoPosition. move(Distance distance, Angle direction)Moves the position by the given distance in the given direction.LocationQueryLocationQuery. nearby(GeoPosition position, Distance distance)Filters the search result for locations that are within the given distance to the given position.
-