Uses of Interface
cz.cuni.amis.pogamut.base.utils.math.DistanceUtils.IDistanceFilter

Packages that use DistanceUtils.IDistanceFilter
cz.cuni.amis.pogamut.base.utils.math   
 

Uses of DistanceUtils.IDistanceFilter in cz.cuni.amis.pogamut.base.utils.math
 

Classes in cz.cuni.amis.pogamut.base.utils.math that implement DistanceUtils.IDistanceFilter
static class DistanceUtils.AcceptAllDistanceFilter<T>
          Filter that accepts all "objects" (does not filter anything out).
static class DistanceUtils.FilterAdapter<T>
          Adapter that wraps IFilter making it into DistanceUtils.IDistanceFilter.
static class DistanceUtils.RangeDistanceFilter<T>
          Filter that accepts all "objects" that are within range of min/max distance (inclusive).
static class DistanceUtils.VisibleFilter<T extends IViewable>
          Accepts only VISIBLE (IViewable.isVisible() == TRUE) objects.
 

Fields in cz.cuni.amis.pogamut.base.utils.math declared as DistanceUtils.IDistanceFilter
static DistanceUtils.IDistanceFilter[] DistanceUtils.NO_FILTER
          Contains single filter, DistanceUtils.acceptAllDistanceFilter, i.e., this will ACCEPTS-ALL-ITEMS.
 

Methods in cz.cuni.amis.pogamut.base.utils.math with parameters of type DistanceUtils.IDistanceFilter
static
<T extends ILocated>
List<T>
DistanceUtils.getDistanceSorted(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns "locations" accepted by all "filters" sorted according to the distance to "target".
static
<T> List<T>
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
<T extends ILocated>
T
DistanceUtils.getFarthest(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the farthest object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T> T
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
<T extends ILocated>
T
DistanceUtils.getFarthest2D(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the farthest (in 2D ~ [x,y]) object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T> T
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
<T> T
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
<T extends ILocated>
T
DistanceUtils.getNearest(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nearest object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T> T
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
<T extends ILocated>
T
DistanceUtils.getNearest2D(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nearest (in 2D ~ [x,y]) object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T extends ILocated>
T
DistanceUtils.getNthFarthest(int nthFarthest, Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nth-farthest object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T> T
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
<T extends ILocated>
T
DistanceUtils.getNthFarthest2D(int nthFarthest, Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nth-farthest (in 2D ~ [x,y]) object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T extends ILocated>
T
DistanceUtils.getNthNearest(int nthNearest, Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nearest object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T> T
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
<T extends ILocated>
T
DistanceUtils.getNthNearest2D(int nthNearest, Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nearest (in 2D ~ [x,y]) object from 'locations' to 'target' that is accepted by all 'filters'.
static
<T extends ILocated>
T
DistanceUtils.getSecondNearest(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Deprecated. 
static
<T> T
DistanceUtils.getSecondNearest(Collection<T> locations, ILocated target, DistanceUtils.IGetDistance getDistance, DistanceUtils.IDistanceFilter... filters)
          Deprecated. 
static
<T extends ILocated>
T
DistanceUtils.getSecondNearest2D(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Deprecated. 
 



Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.