org.khelekore.prtree.DistanceCalculator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of georewrite Show documentation
Show all versions of georewrite Show documentation
重写geoserver发送到h2的sql,以实现自定义数据源
package org.khelekore.prtree;
/** A class that can calculate the distance to a given object
* stored in the PRTree
* @param the data type to calculate distances to
*/
public interface DistanceCalculator {
/** Calculate the distance between the given object and the point
* @param t the object to calculate the distance to
* @param p the point
* @return The calculated distance
*/
double distanceTo (T t, PointND p);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy