Indicates the units of measurement of an instance of AngularUnit, or an angular measurement operation. More...
Detailed DescriptionInstances of classes that inherit from the Units class, like this one does, are initialized as a specific unit of measurement. Each instance has properties for the unit name (singular, plural and abbreviated) and provides methods for unit conversion.
Member Function Documentation AngularUnit::AngularUnit()Default constructor.
AngularUnit::AngularUnit(Esri::ArcGISRuntime::AngularUnitId angularUnitId)Creates an AngularUnit representing the specified angularUnitId.
[explicit]
AngularUnit::AngularUnit(const Esri::ArcGISRuntime::Unit &other)
Converting constructor from other Unit.
See also Downcast helper functions.
AngularUnit::AngularUnit(const Esri::ArcGISRuntime::AngularUnit &other)Copy constructor from other AngularUnit.
[noexcept]
AngularUnit::AngularUnit(Esri::ArcGISRuntime::AngularUnit &&other)
Move constructor from other AngularUnit.
[override virtual noexcept]
AngularUnit::~AngularUnit()
Destructor.
Esri::ArcGISRuntime::AngularUnitId AngularUnit::angularUnitId() constReturns the AngularUnitId corresponding to this AngularUnit.
double AngularUnit::convertFrom(const Esri::ArcGISRuntime::AngularUnit &fromUnit, double angle) constConverts and returns a value in another UOM into this UOM.
Returns the angular value radians converted from radians into AngularUnit.
double AngularUnit::convertTo(const Esri::ArcGISRuntime::AngularUnit &toUnit, double angle) constConverts and returns a value in this UOM into another UOM.
Returns the angular value thisUnitValue converted from this AngularUnit into radians.
[static]
Esri::ArcGISRuntime::AngularUnit AngularUnit::degrees()
Returns an AngularUnit object representing degrees (AngularUnitId::Degrees).
[since Esri::ArcGISRuntime 100.2]
bool AngularUnit::isValid() const
Gets whether this AngularUnit is valid.
An AngularUnit is valid if it is not empty and unitType is UnitType::AngularUnit
.
Returns true
if valid.
This function was introduced in Esri::ArcGISRuntime 100.2.
[static]
Esri::ArcGISRuntime::AngularUnit AngularUnit::radians()
Returns an AngularUnit object representing radians (AngularUnitId::Radians).
[noexcept]
Esri::ArcGISRuntime::AngularUnit &AngularUnit::operator=(Esri::ArcGISRuntime::AngularUnit &&other)
Move operator from other AngularUnit.
Esri::ArcGISRuntime::AngularUnit &AngularUnit::operator=(const Esri::ArcGISRuntime::AngularUnit &other)Assignment operator from other AngularUnit.
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