public class GeneralizeParameters
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static GeneralizeParameters |
create()
Creates a new GeneralizeParameters object.
|
GeometryService.UnitType |
getDeviationUnit()
The maximum deviation unit.
|
com.google.gwt.core.client.JsArray<Geometry> |
getGeometries()
The array of input geometries to generalize.
|
double |
getMaxDeviation()
The maximum deviation for constructing a generalized geometry based on the input geomteries.
|
void |
setDeviationUnit(GeometryService.UnitType deviationUnit)
Set the deviation unit parameter.
|
void |
setGeometries(Geometry[] geometries)
set the geometries parameter.
|
void |
setMaxDeviation(double maxDeviation)
set the max deviation parameter.
|
public static GeneralizeParameters create()
public final GeometryService.UnitType getDeviationUnit()
public final void setDeviationUnit(GeometryService.UnitType deviationUnit)
deviationUnit
- - The maximum deviation unit. If the unit is not specified, units are derived from the spatial reference.public final com.google.gwt.core.client.JsArray<Geometry> getGeometries()
public final void setGeometries(Geometry[] geometries)
geometries
- - All geometries in this array must be of the same geometry type (esriGeometryPolyline or esriGeometryPolygon).public final double getMaxDeviation()
public final void setMaxDeviation(double maxDeviation)
maxDeviation
- - The maximum deviation for constructing a generalized geometry based on the input geomteries.