A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-geoprocessinglinearunit.html below:

GeoprocessingLinearUnit Class | ArcGIS Maps SDK for Qt

Member Function Documentation [explicit] GeoprocessingLinearUnit::GeoprocessingLinearUnit(QObject *parent = nullptr)

Create a geoprocessing linear unit parameter.

[explicit] GeoprocessingLinearUnit::GeoprocessingLinearUnit(double distance, QObject *parent = nullptr)

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 unit. If the unit is changed in this way, the value is not converted.

GeoprocessingLinearUnit::GeoprocessingLinearUnit(double distance, Esri::ArcGISRuntime::GeoprocessingLinearUnits geoprocessingUnit, QObject *parent = nullptr)

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.

GeoprocessingLinearUnit::GeoprocessingLinearUnit(double distance, Esri::ArcGISRuntime::LinearUnitId unitId, QObject *parent = nullptr)

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.

GeoprocessingLinearUnit::GeoprocessingLinearUnit(double distance, const Esri::ArcGISRuntime::LinearUnit &unit, QObject *parent = nullptr)

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.

[override virtual noexcept] GeoprocessingLinearUnit::~GeoprocessingLinearUnit()

Destructor.

double GeoprocessingLinearUnit::distance() const

Returns the distance value of this parameter.

Note that if this geoprocessing linear unit instance was created with a unit type unsupported by geoprocessing, this value will differ from that set as it will have been converted to meters.

See also setDistance().

Esri::ArcGISRuntime::LinearUnit GeoprocessingLinearUnit::linearUnit() const

Returns the geometry linear unit that corresponds to the unit of this parameter.

This method gives a convenient means of using a geoprocessing linear unit with the geometry API. The returned LinearUnit can be used to convert the distance value of this parameter instance to any other linear unit supported by the geometry API.

void GeoprocessingLinearUnit::setDistance(double distance)

Sets the distance to distance.

See also distance.

void GeoprocessingLinearUnit::setUnit(Esri::ArcGISRuntime::GeoprocessingLinearUnits unit)

Sets the unit to unit.

See also unit.

Esri::ArcGISRuntime::GeoprocessingLinearUnits GeoprocessingLinearUnit::unit() const

Returns the geoprocessing unit of this parameter

See also setUnit().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4