GeoprocessingLinearUnit constructor

GeoprocessingLinearUnit({
  1. double distance = 0.0,
  2. GeoprocessingLinearUnits unit = GeoprocessingLinearUnits.meter,
})

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.

Parameters:

  • distance — The distance value of the parameter.
  • unit — The unit of distance.