
public class SpatialPair<K,V extends SpatialComparable> extends Pair<K,V> implements SpatialComparable
| Constructor and Description |
|---|
SpatialPair(K key,
V spatial)
Constructor: bundle a key and a spatial comparable
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDimensionality()
Returns the dimensionality of the object.
|
double |
getMax(int dimension)
Returns the maximum coordinate at the specified dimension.
|
double |
getMin(int dimension)
Returns the minimum coordinate at the specified dimension.
|
public int getDimensionality()
SpatialComparablegetDimensionality in interface SpatialComparablepublic double getMin(int dimension)
SpatialComparablegetMin in interface SpatialComparabledimension - the dimension for which the coordinate should be returned,
where 0 ≤ dimension < getDimensionality()public double getMax(int dimension)
SpatialComparablegetMax in interface SpatialComparabledimension - the dimension for which the coordinate should be returned,
where 0 ≤ dimension < getDimensionality()Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.