QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
A combination of distance value and unit. More...
#include <qgsunittypes.h>
Public Attributes | |
Qgis::DistanceUnit | unit |
The value part of the distance. | |
double | value |
The value part of the distance. | |
A combination of distance value and unit.
Definition at line 48 of file qgsunittypes.h.
Qgis::DistanceUnit QgsUnitTypes::DistanceValue::unit |
The value part of the distance.
For 3.7 meters, this will be QgsUnitTypes::DistanceMeters.
Definition at line 59 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 54 of file qgsunittypes.h.