|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SmootherControl
Defines methods to control the smoothing process.
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 LineSmoother#setControl(jaitools.jts.LineSmoother.Control) .
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
double getMinLength()
int getNumVertices(double length)
length - input segment length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||