QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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 225 of file qgsunittypes.h.

Member Data Documentation

◆ unit

QgsUnitTypes::AreaUnit QgsUnitTypes::AreaValue::unit

The value part of the distance.

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

Definition at line 236 of file qgsunittypes.h.

◆ value

double QgsUnitTypes::AreaValue::value

The value part of the distance.

For 3.7 square meters, this will be 3.7.

Definition at line 231 of file qgsunittypes.h.


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