QgsUnitTypes::AreaValue struct

A combination of area value and unit.

Contents

Public variables

QgsUnitTypes::AreaUnit unit
The value part of the distance.
double value
The value part of the distance.

Variable documentation

QgsUnitTypes::AreaUnit QgsUnitTypes::AreaValue::unit

The value part of the distance.

For 3.7 square meters, this will be QgsUnitTypes::AreaSquareMeters.

double QgsUnitTypes::AreaValue::value

The value part of the distance.

For 3.7 square meters, this will be 3.7.