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 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 -
Method Summary
Modifier and TypeMethodDescriptiondouble
distance
(ItemBoundable item1, ItemBoundable item2) Computes the distance between two items.
-
Constructor Details
-
FacetSequenceDistance
private FacetSequenceDistance()
-
-
Method Details
-
distance
Description copied from interface:ItemDistance
Computes the distance between two items.- Specified by:
distance
in interfaceItemDistance
- Parameters:
item1
-item2
-- Returns:
- the distance between the items
-