public class HaversineItemDistance extends Object implements ItemDistance
| Constructor and Description |
|---|
HaversineItemDistance() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(org.locationtech.jts.geom.Geometry geometry1,
org.locationtech.jts.geom.Geometry geometry2) |
double |
distance(ItemBoundable item1,
ItemBoundable item2) |
public double distance(ItemBoundable item1, ItemBoundable item2)
distance in interface ItemDistancepublic double distance(org.locationtech.jts.geom.Geometry geometry1,
org.locationtech.jts.geom.Geometry geometry2)
Copyright © 2025 The Apache Software Foundation. All rights reserved.