| Package | Description |
|---|---|
| org.locationtech.spatial4j.context |
SpatialContext implementations are the facade to the Spatial4j API.
|
| org.locationtech.spatial4j.distance |
Ways to calculate distance.
|
| Modifier and Type | Field and Description |
|---|---|
DistanceCalculator |
SpatialContextFactory.distCalc |
| Modifier and Type | Method and Description |
|---|---|
DistanceCalculator |
SpatialContext.getDistCalc() |
| Constructor and Description |
|---|
SpatialContext(boolean geo,
DistanceCalculator calculator,
Rectangle worldBounds)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDistanceCalculator |
class |
CartesianDistCalc
Calculates based on Euclidean / Cartesian 2d plane.
|
class |
GeodesicSphereDistCalc
A base class for a Distance Calculator that assumes a spherical earth model.
|
static class |
GeodesicSphereDistCalc.Haversine |
static class |
GeodesicSphereDistCalc.LawOfCosines |
static class |
GeodesicSphereDistCalc.Vincenty |
Copyright © 2025 LocationTech. All rights reserved.