QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
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 206 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 217 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 212 of file qgsunittypes.h.