|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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
|
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns "locations" accepted by all "filters" 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.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest object to 'target' that is accepted by all 'filters'. |
|
static
|
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
|
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
|
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest object to 'target' that is accepted by all 'filters'. |
|
static
|
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest object to 'target'. |
|
static
|
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'. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||