- All Known Subinterfaces:
NumberVector<N>
public interface SpatialComparable
Defines the required methods needed for comparison of spatial objects.
- Author:
- Elke Achtert
-
Method Details
-
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
-