public abstract class AbstractSmoother extends Object
| Modifier and Type | Field and Description |
|---|---|
static SmootherControl |
DEFAULT_CONTROL
Default smoothing control.
|
| Constructor and Description |
|---|
AbstractSmoother(org.locationtech.jts.geom.GeometryFactory geomFactory)
Creates a new smoother that will use the given
GeometryFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
setControl(SmootherControl control)
Sets a new
Control object to for smoothing. |
public static final SmootherControl DEFAULT_CONTROL
public AbstractSmoother(org.locationtech.jts.geom.GeometryFactory geomFactory)
GeometryFactory.geomFactory - factory to use for creating smoothed objectsIllegalArgumentException - if geomFactory is nullpublic void setControl(SmootherControl control)
Control object to for smoothing.control - the control to use for smoothing; if null the
default control will be setCopyright © 2009–2018. All rights reserved.