ArcGISDistance

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISDistance
Since: 1.0.0

Summary

ArcGISDistance holds the distance measurement data associated with a specific distance component.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

The unit of the Distance component.

No
Yes

The value of the Distance component.

Unit

ArcGISLinearUnit GetUnit() const

The unit of the Distance component.

Unit is the linear unit by which the value of the distance is measured.

Value

double GetValue() const

The value of the Distance component.

Value is the scalar value of the distance, measured by the associated Distance Unit. Will return NAN if an error occurs.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.