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 doubledistance(org.locationtech.jts.geom.Geometry geometry1, org.locationtech.jts.geom.Geometry geometry2)doubledistance(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:
distancein interfaceorg.locationtech.jts.index.strtree.ItemDistance
-
distance
public double distance(org.locationtech.jts.geom.Geometry geometry1, org.locationtech.jts.geom.Geometry geometry2)
-
-