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.
 

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.getNearest(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the nearest object 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 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) object to 'target' that is accepted by all 'filters'.
static
<T extends ILocated>
T
DistanceUtils.getSecondNearest(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the second nearest object to 'target' that is accepted by all 'filters'.
static
<T> T
DistanceUtils.getSecondNearest(Collection<T> locations, ILocated target, DistanceUtils.IGetDistance getDistance, DistanceUtils.IDistanceFilter... filters)
          Returns the second nearest object to 'target'.
static
<T extends ILocated>
T
DistanceUtils.getSecondNearest2D(Collection<T> locations, ILocated target, DistanceUtils.IDistanceFilter... filters)
          Returns the second nearest (in 2D) object to 'target' that is accepted by all 'filters'.
 



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