Package elki.data.spatial
Interface SpatialComparable
-
- All Known Subinterfaces:
ClusterFeature
,DeLiCluEntry
,DiscreteUncertainObject
,NumberVector
,RdKNNEntry
,SparseNumberVector
,SpatialEntry
,UncertainObject
- All Known Implementing Classes:
AbstractUncertainObject
,ALOCI.Node
,BIRCHCF
,BitVector
,ByteVector
,CASHInterval
,Centroid
,DeLiCluDirectoryEntry
,DeLiCluLeafEntry
,DoubleVector
,FloatVector
,HyperBoundingBox
,IntegerVector
,ModifiableHyperBoundingBox
,OneDimensionalDoubleVector
,Polygon
,PolygonsObject
,ProjectedCentroid
,RdKNNDirectoryEntry
,RdKNNLeafEntry
,ShortVector
,SimpleGaussianContinuousUncertainObject
,SparseByteVector
,SparseDoubleVector
,SparseFloatVector
,SparseIntegerVector
,SparseShortVector
,SpatialDirectoryEntry
,SpatialPair
,SpatialPointLeafEntry
,UniformContinuousUncertainObject
,UnweightedDiscreteUncertainObject
,VIIFeature
,VVIFeature
,VVVFeature
,WeightedDiscreteUncertainObject
public interface SpatialComparable
Defines the required methods needed for comparison of spatial objects.- Since:
- 0.4.0
- Author:
- Elke Achtert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getDimensionality
int getDimensionality()
Returns the dimensionality of the object.- Returns:
- the dimensionality
-
getMin
double getMin(int dimension)
Returns the minimum coordinate at the specified dimension.- Parameters:
dimension
- the dimension for which the coordinate should be returned, where 0 ≤ dimension <getDimensionality()
- Returns:
- the minimum coordinate at the specified dimension
-
getMax
double getMax(int dimension)
Returns the maximum coordinate at the specified dimension.- Parameters:
dimension
- the dimension for which the coordinate should be returned, where 0 ≤ dimension <getDimensionality()
- Returns:
- the maximum coordinate at the specified dimension
-
-