
V - Vector typeD - Distance typepublic interface SpatialPrimitiveDistanceFunction<V extends SpatialComparable,D extends Distance<D>> extends PrimitiveDistanceFunction<V,D>
| Modifier and Type | Method and Description | 
|---|---|
| <T extends V>  | instantiate(Relation<T> relation)Instantiate with a database to get the actual distance query. | 
| D | minDist(SpatialComparable mbr1,
       SpatialComparable mbr2)Computes the distance between the two given MBRs according to this distance
 function. | 
distance, getInputTypeRestrictiongetDistanceFactory, isMetric, isSymmetricD minDist(SpatialComparable mbr1, SpatialComparable mbr2)
mbr1 - the first MBR objectmbr2 - the second MBR object<T extends V> SpatialDistanceQuery<T,D> instantiate(Relation<T> relation)
DistanceFunctioninstantiate in interface DistanceFunction<V extends SpatialComparable,D extends Distance<D>>relation - The representation to use