|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DistanceUtils.IGetDistance | |
|---|---|
| cz.cuni.amis.pogamut.base.utils.math | |
| Uses of DistanceUtils.IGetDistance in cz.cuni.amis.pogamut.base.utils.math |
|---|
| Classes in cz.cuni.amis.pogamut.base.utils.math that implement DistanceUtils.IGetDistance | |
|---|---|
static class |
DistanceUtils.GetLocatedDistance2D<T extends ILocated>
Simple implementation of DistanceUtils.IGetDistance that uses Location.getDistance2D(Location) method. |
static class |
DistanceUtils.GetLocatedDistance3D<T extends ILocated>
Simple implementation of DistanceUtils.IGetDistance that uses Location.getDistance(Location) method. |
| Methods in cz.cuni.amis.pogamut.base.utils.math with parameters of type DistanceUtils.IGetDistance | ||
|---|---|---|
static
|
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns "locations" sorted according to the distance to "target". |
|
static
|
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns "locations" accepted by all "filters" sorted according to the distance to "target". |
|
static
|
DistanceUtils.getFarthest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the farthest object to 'target'. |
|
static
|
DistanceUtils.getFarthest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the farthest object from 'locations' to 'target' that is accepted by all 'filters'. |
|
static
|
DistanceUtils.getInBestRelation(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IBetterRelation betterRelation)
Returns "in-best-distance-relation-to-'target'" object. |
|
static
|
DistanceUtils.getInBestRelation(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IBetterRelation betterRelation,
DistanceUtils.IDistanceFilter... filters)
Returns "in-best-distance-relation-to-'target'" object. |
|
static
|
DistanceUtils.getInNthBestRelation(int nthBest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IBetterRelation betterRelation)
Returns "in-nth-best-distance-relation-to-'target'" object from 'locations'. |
|
static
|
DistanceUtils.getInNthBestRelation(int nthBest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IBetterRelation betterRelation,
DistanceUtils.IDistanceFilter... filters)
Returns "in-nth-best-distance-relation-to-'target'" object from 'location'. |
|
static
|
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the nearest object from 'locations' to 'target'. |
|
static
|
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest object from 'location' to 'target' that is accepted by all 'filters'. |
|
static
|
DistanceUtils.getNthFarthest(int nthFarthest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the n-th farthest object from 'locations' to 'target'. |
|
static
|
DistanceUtils.getNthFarthest(int nthFarthest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the n-th farthest object from 'locations' to 'target' that is accepted by all 'filters'. |
|
static
|
DistanceUtils.getNthNearest(int nthNearest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the n-th nearest object from 'locations' to 'target'. |
|
static
|
DistanceUtils.getNthNearest(int nthNearest,
Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the n-th nearest object from 'locations' to 'target' that is accepted by all 'filters'. |
|
static
|
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Deprecated. |
|
static
|
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Deprecated. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||