Class EuclideanItemDistance
java.lang.Object
org.apache.sedona.core.knnJudgement.EuclideanItemDistance
- All Implemented Interfaces:
org.locationtech.jts.index.strtree.ItemDistance
public class EuclideanItemDistance
extends Object
implements org.locationtech.jts.index.strtree.ItemDistance
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EuclideanItemDistance
public EuclideanItemDistance()
-
-
Method Details
-
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)
-