Class DiscreteHausdorffDistance.MaxPointDistanceFilter
- java.lang.Object
-
- org.locationtech.jts.algorithm.distance.DiscreteHausdorffDistance.MaxPointDistanceFilter
-
- All Implemented Interfaces:
CoordinateFilter
- Enclosing class:
- DiscreteHausdorffDistance
public static class DiscreteHausdorffDistance.MaxPointDistanceFilter extends java.lang.Object implements CoordinateFilter
-
-
Constructor Summary
Constructors Constructor Description MaxPointDistanceFilter(Geometry geom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(Coordinate pt)
Performs an operation with the providedcoord
.PointPairDistance
getMaxPointDistance()
-
-
-
Constructor Detail
-
MaxPointDistanceFilter
public MaxPointDistanceFilter(Geometry geom)
-
-
Method Detail
-
filter
public void filter(Coordinate pt)
Description copied from interface:CoordinateFilter
Performs an operation with the providedcoord
. Note that there is no guarantee that the input coordinate is the actual object stored in the source geometry, so changes to the coordinate object may not be persistent.- Specified by:
filter
in interfaceCoordinateFilter
- Parameters:
pt
- aCoordinate
to which the filter is applied.
-
getMaxPointDistance
public PointPairDistance getMaxPointDistance()
-
-