Contains the distance measurement data associated with a specific distance component. More...
Header:#include <Distance.h>
Since: Esri::ArcGISRuntime 100.3
Public Functions Distance() Distance(const Esri::ArcGISRuntime::Distance &other) Distance(Esri::ArcGISRuntime::Distance &&other) ~Distance() bool isEmpty() const Esri::ArcGISRuntime::LinearUnit unit() const double value() const Esri::ArcGISRuntime::Distance & operator=(Esri::ArcGISRuntime::Distance &&other) Esri::ArcGISRuntime::Distance & operator=(const Esri::ArcGISRuntime::Distance &other) Detailed Description
Distance contains the value and associated LinearUnit of a specific distance component.
Instances of Distance are immutable.
Member Function Documentation Distance::Distance()Default constructor. Creates an empty Distance.
Distance::Distance(const Esri::ArcGISRuntime::Distance &other)Copy constructor from other Distance.
[noexcept]
Distance::Distance(Esri::ArcGISRuntime::Distance &&other)
Move constructor from other Distance.
[noexcept]
Distance::~Distance()
Destructor
bool Distance::isEmpty() constReturns whether this Distance is empty.
A Distance is empty if its distance value is NaN
and linear unit object is empty.
Returns true
if empty.
Returns the linear unit of the Distance component by which the value of the distance is measured.
double Distance::value() constReturns the value of the Distance component.
The value is the scalar value of the distance, measured by the associated Distance linear unit.
[noexcept]
Esri::ArcGISRuntime::Distance &Distance::operator=(Esri::ArcGISRuntime::Distance &&other)
Move operator from other Distance.
Esri::ArcGISRuntime::Distance &Distance::operator=(const Esri::ArcGISRuntime::Distance &other)Assignment operator from other Distance.
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