package validate
- Alphabetic
- Public
- Protected
Type Members
- class BufferCurveMaximumDistanceFinder extends AnyRef
- class BufferDistanceValidator extends AnyRef
- class BufferResultValidator extends AnyRef
- class PointPairDistance extends AnyRef
Contains a pair of points and the distance between them.
Contains a pair of points and the distance between them. Provides methods to update with a new point pair with either maximum or minimum distance.
Value Members
- object BufferCurveMaximumDistanceFinder
Finds the approximate maximum distance from a buffer curve to the originating geometry.
Finds the approximate maximum distance from a buffer curve to the originating geometry. This is similar to the Discrete Oriented Hausdorff distance from the buffer curve to the input.
The approximate maximum distance is determined by testing all vertices in the buffer curve, as well as midpoints of the curve segments. Due to the way buffer curves are constructed, this should be a very close approximation.
- object BufferDistanceValidator
Validates that a given buffer curve lies an appropriate distance from the input generating it.
Validates that a given buffer curve lies an appropriate distance from the input generating it. Useful only for round buffers (cap and join). Can be used for either positive or negative distances.
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.)
- object BufferResultValidator
Validates that the result of a buffer operation is geometrically correct, within a computed tolerance.
Validates that the result of a buffer operation is geometrically correct, within a computed tolerance.
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.)
This test may be (much) more expensive than the original buffer computation.
- object DistanceToPointFinder
Computes the Euclidean distance (L2 metric) from a Point to a Geometry.
Computes the Euclidean distance (L2 metric) from a Point to a Geometry. Also computes two points which are separated by the distance.