org.khelekore.prtree.SimplePointND 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;
/** One implementatoin of a point
*/
public class SimplePointND implements PointND {
private final double[] ords;
/** Create a new SimplePointND using the given ordinates.
* @param ords the ordinates
*/
public SimplePointND (double... ords) {
this.ords = ords;
}
public int getDimensions () {
return ords.length;
}
public double getOrd (int axis) {
return ords[axis];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy