public class BufferDistanceValidator extends Object
This is a heuristic test, and may return false positive results (I.e. it may fail to detect an invalid result.) It should never return a false negative result, however (I.e. it should never report a valid result as invalid.)
Constructor and Description |
---|
BufferDistanceValidator(Geometry input,
double bufDistance,
Geometry result) |
Modifier and Type | Method and Description |
---|---|
Geometry |
getErrorIndicator()
Gets a geometry which indicates the location and nature of a validation failure.
|
Coordinate |
getErrorLocation() |
String |
getErrorMessage() |
boolean |
isValid() |
public boolean isValid()
public String getErrorMessage()
public Coordinate getErrorLocation()
public Geometry getErrorIndicator()
The indicator is a line segment showing the location and size of the distance discrepancy.
Copyright © 2022. All rights reserved.