Class SpheroidDistance
- java.lang.Object
-
- org.apache.sedona.core.knnJudgement.SpheroidDistance
-
- All Implemented Interfaces:
org.locationtech.jts.index.strtree.ItemDistance
public class SpheroidDistance extends Object implements org.locationtech.jts.index.strtree.ItemDistance
-
-
Constructor Summary
Constructors Constructor Description SpheroidDistance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
distance(org.locationtech.jts.geom.Geometry geometry1, org.locationtech.jts.geom.Geometry geometry2)
double
distance(org.locationtech.jts.index.strtree.ItemBoundable item1, org.locationtech.jts.index.strtree.ItemBoundable item2)
-
-
-
Method Detail
-
distance
public double distance(org.locationtech.jts.index.strtree.ItemBoundable item1, org.locationtech.jts.index.strtree.ItemBoundable item2)
- Specified by:
distance
in interfaceorg.locationtech.jts.index.strtree.ItemDistance
-
distance
public double distance(org.locationtech.jts.geom.Geometry geometry1, org.locationtech.jts.geom.Geometry geometry2)
-
-