Uses of Class
ch.ivyteam.ivy.location.Distance
Packages that use Distance
Package
Description
Defines a
location service
for storing and querying location
information and that is available on users and tasks.-
Uses of Distance in ch.ivyteam.ivy.location
Methods in ch.ivyteam.ivy.location that return DistanceModifier and TypeMethodDescriptionGeoPosition.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 DistanceModifier and TypeMethodDescriptionbooleanDistance.isLessThan(Distance other) Returns true if this distance is less than the given other distancebooleanGeoPosition.isNearby(GeoPosition otherPosition, Distance maxDistance) Moves the position by the given distance in the given direction.LocationQuery.nearby(GeoPosition position, Distance distance) Filters the search result for locations that are within the given distance to the given position.