GeoprocessingLinearUnit

constructor()

Create a geoprocessing linear unit parameter.

Since

200.1.0


constructor(distance: Double)

Create a geoprocessing linear unit parameter with the given distance. The unit is assumed to be meters. Note that although this constructor defaults to meters, the unit can be changed by calling GeoprocessingLinearUnit.unit. If the unit is changed in this way, the value is not converted.

Since

200.1.0


constructor(distance: Double, geoprocessingLinearUnits: GeoprocessingLinearUnits)

Create a geoprocessing linear unit parameter with the given distance and linear unit. The GeoprocessingLinearUnits used here represents the subset of linear units supported by geoprocessing.

Since

200.1.0


constructor(distance: Double, linearUnit: LinearUnit)

Create a geoprocessing linear unit parameter with the given distance and linear unit. Note that if the given linear unit does not correspond to any of the values in GeoprocessingLinearUnits, the unit will be converted internally to meters. This means that the distance property will return a different value to that set.

Since

200.1.0


constructor(distance: Double, linearUnitID: LinearUnitId)

Create a geoprocessing linear unit parameter with the given distance and linear unit WKID. Note that if the given linear unit WKID does not correspond to any of the values in GeoprocessingLinearUnits, the unit will be converted internally to meters. This means that the distance property will return a different value to that set.

Since

200.1.0