public class MaxDistanceOp.MaxDistanceFilter extends Object implements org.locationtech.jts.geom.CoordinateFilter
| Constructor and Description |
|---|
MaxDistanceFilter(HashSet<org.locationtech.jts.geom.Coordinate> coordsToExclude)
Compute the max distance between two geometries
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(org.locationtech.jts.geom.Coordinate coord) |
org.locationtech.jts.geom.Coordinate[] |
getCoordinatesDistance()
Return the maximum distance as two coordinates.
|
double |
getDistance()
Return the maximum distance
|
public MaxDistanceFilter(HashSet<org.locationtech.jts.geom.Coordinate> coordsToExclude)
coordsToExclude - public void filter(org.locationtech.jts.geom.Coordinate coord)
filter in interface org.locationtech.jts.geom.CoordinateFilterpublic double getDistance()
public org.locationtech.jts.geom.Coordinate[] getCoordinatesDistance()
Copyright © 2019 CNRS. All rights reserved.