public static class DiscreteHausdorffDistance.MaxPointDistanceFilter extends java.lang.Object implements CoordinateFilter
Modifier and Type | Field and Description |
---|---|
private DistanceToPoint |
euclideanDist |
private Geometry |
geom |
private PointPairDistance |
maxPtDist |
private PointPairDistance |
minPtDist |
Constructor and Description |
---|
MaxPointDistanceFilter(Geometry geom) |
Modifier and Type | Method and Description |
---|---|
void |
filter(Coordinate pt)
Performs an operation with the
coord . |
PointPairDistance |
getMaxPointDistance() |
private PointPairDistance maxPtDist
private PointPairDistance minPtDist
private DistanceToPoint euclideanDist
private Geometry geom
public MaxPointDistanceFilter(Geometry geom)
public void filter(Coordinate pt)
CoordinateFilter
coord
.
There is no guarantee that the coordinate is the actual object stored in the target geometry.filter
in interface CoordinateFilter
pt
- a Coordinate
to which the filter is applied.public PointPairDistance getMaxPointDistance()