public class BufferCurveMaximumDistanceFinder extends Object
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.
Modifier and Type | Class and Description |
---|---|
static class |
BufferCurveMaximumDistanceFinder.MaxMidpointDistanceFilter |
static class |
BufferCurveMaximumDistanceFinder.MaxPointDistanceFilter |
Constructor and Description |
---|
BufferCurveMaximumDistanceFinder(Geometry inputGeom) |
Modifier and Type | Method and Description |
---|---|
double |
findDistance(Geometry bufferCurve) |
PointPairDistance |
getDistancePoints() |
public BufferCurveMaximumDistanceFinder(Geometry inputGeom)
public double findDistance(Geometry bufferCurve)
public PointPairDistance getDistancePoints()
Copyright © 2022. All rights reserved.