GeoprocessingLinearUnit.withLinearUnit constructor
- required double distance,
- required 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.
Parameters:
distance— The distance value of the parameter.linearUnit— The unit of distance.