QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Attributes | List of all members
QgsUnitTypes::AreaValue Struct Reference

A combination of area value and unit. More...

#include <qgsunittypes.h>

Public Attributes

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

Detailed Description

A combination of area value and unit.

Since
QGIS 3.0

Definition at line 168 of file qgsunittypes.h.

Member Data Documentation

QgsUnitTypes::AreaUnit QgsUnitTypes::AreaValue::unit

The value part of the distance.

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

Definition at line 179 of file qgsunittypes.h.

double QgsUnitTypes::AreaValue::value

The value part of the distance.

For 3.7 square meters, this will be 3.7.

Definition at line 174 of file qgsunittypes.h.


The documentation for this struct was generated from the following file: