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 voidfilter(Coordinate pt)Performs an operation with the providedcoord.PointPairDistancegetMaxPointDistance()
-
-
-
Constructor Detail
-
MaxPointDistanceFilter
public MaxPointDistanceFilter(Geometry geom)
-
-
Method Detail
-
filter
public void filter(Coordinate pt)
Description copied from interface:CoordinateFilterPerforms 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:
filterin interfaceCoordinateFilter- Parameters:
pt- aCoordinateto which the filter is applied.
-
getMaxPointDistance
public PointPairDistance getMaxPointDistance()
-
-