| QGIS API Documentation
    3.18.1-Zürich (202f1bf7e5)
    | 
A combination of distance value and unit. More...
#include <qgsunittypes.h>
| Public Attributes | |
| QgsUnitTypes::DistanceUnit | unit | 
| The value part of the distance.  More... | |
| double | value | 
| The value part of the distance.  More... | |
A combination of distance value and unit.
Definition at line 205 of file qgsunittypes.h.
| QgsUnitTypes::DistanceUnit QgsUnitTypes::DistanceValue::unit | 
The value part of the distance.
For 3.7 meters, this will be QgsUnitTypes::DistanceMeters.
Definition at line 216 of file qgsunittypes.h.
| double QgsUnitTypes::DistanceValue::value | 
The value part of the distance.
For 3.7 meters, this will be 3.7.
Definition at line 211 of file qgsunittypes.h.