Class IndexedFacetDistance.FacetSequenceDistance
- java.lang.Object
-
- org.locationtech.jts.operation.distance.IndexedFacetDistance.FacetSequenceDistance
-
- All Implemented Interfaces:
ItemDistance
- Enclosing class:
- IndexedFacetDistance
private static class IndexedFacetDistance.FacetSequenceDistance extends java.lang.Object implements ItemDistance
Tests whether the base geometry lies within a specified distance of the given geometry. // * @param g the geometry to test // * @param maximumDistance the maximum distance to test // * @return true if the geometry lies with the specified distance
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FacetSequenceDistance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
distance(ItemBoundable item1, ItemBoundable item2)
Computes the distance between two items.
-
-
-
Method Detail
-
distance
public double distance(ItemBoundable item1, ItemBoundable item2)
Description copied from interface:ItemDistance
Computes the distance between two items.- Specified by:
distance
in interfaceItemDistance
- Returns:
- the distance between the items
-
-