|
QGIS API Documentation 3.99.0-Master (357b655ed83)
|
Utilities for handling and formatting measurements. More...
#include <qgsmeasureutils.h>
Static Public Member Functions | |
| static Q_INVOKABLE QString | formatAreaForProject (QgsProject *project, double area, Qgis::AreaUnit unit) |
| Formats an area measurement (with the specified unit) for use with a project, respecting the project's area unit settings. | |
| static Q_INVOKABLE QString | formatDistanceForProject (QgsProject *project, double distance, Qgis::DistanceUnit unit) |
| Formats a distance measurement (with the specified unit) for use with a project, respecting the project's distance unit settings. | |
Utilities for handling and formatting measurements.
Definition at line 35 of file qgsmeasureutils.h.
|
static |
Formats an area measurement (with the specified unit) for use with a project, respecting the project's area unit settings.
Definition at line 31 of file qgsmeasureutils.cpp.
|
static |
Formats a distance measurement (with the specified unit) for use with a project, respecting the project's distance unit settings.
Definition at line 64 of file qgsmeasureutils.cpp.