public interface SmootherControl
LineSmoother has a default implementation
that specifies a constant number of vertices in smoothed
segments and no lower bound on the distance between
input vertices for smoothing.
To customize smoothing, pass your own implementation
to AbstractSmoother.setControl(org.jaitools.jts.SmootherControl)
| Modifier and Type | Method and Description |
|---|---|
double |
getMinLength()
Gets the minimum distance between input vertices
for the segment to be smoothed.
|
int |
getNumVertices(double length)
Given an input segment length, returns the number
of vertices to use for the smoothed segment.
|
double getMinLength()
int getNumVertices(double length)
length - input segment lengthCopyright © 2009–2020. All rights reserved.