QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Macros | Functions
qgsunittypes.cpp File Reference
#include "qgsunittypes.h"
#include "moc_qgsunittypes.cpp"
#include "qgis.h"
Include dependency graph for qgsunittypes.cpp:

Go to the source code of this file.

Macros

#define AC_TO_FT2   43560.0
 
#define CM2_TO_M2   0.0001
 
#define DEG2_TO_M2   12392029030.5
 
#define DEG2_TO_M3   1379474361572186.2
 
#define FT2_TO_M2   0.09290304
 
#define HA_TO_M2   10000.0
 
#define IN2_TO_M2   0.00064516
 
#define KM2_TO_M2   1000000.0
 
#define MI2_TO_M2   2589988.110336
 
#define MM2_TO_M2   0.000001
 
#define NM2_TO_M2   3429904.0
 
#define YD2_TO_M2   0.83612736
 

Functions

constexpr double distanceUnitToMeter (Qgis::DistanceUnit unit)
 

Macro Definition Documentation

◆ AC_TO_FT2

#define AC_TO_FT2   43560.0

◆ CM2_TO_M2

#define CM2_TO_M2   0.0001

◆ DEG2_TO_M2

#define DEG2_TO_M2   12392029030.5

◆ DEG2_TO_M3

#define DEG2_TO_M3   1379474361572186.2

Definition at line 2292 of file qgsunittypes.cpp.

◆ FT2_TO_M2

#define FT2_TO_M2   0.09290304

◆ HA_TO_M2

#define HA_TO_M2   10000.0

◆ IN2_TO_M2

#define IN2_TO_M2   0.00064516

◆ KM2_TO_M2

#define KM2_TO_M2   1000000.0

◆ MI2_TO_M2

#define MI2_TO_M2   2589988.110336

◆ MM2_TO_M2

#define MM2_TO_M2   0.000001

◆ NM2_TO_M2

#define NM2_TO_M2   3429904.0

◆ YD2_TO_M2

#define YD2_TO_M2   0.83612736

Function Documentation

◆ distanceUnitToMeter()

constexpr double distanceUnitToMeter ( Qgis::DistanceUnit  unit)
constexpr

Definition at line 758 of file qgsunittypes.cpp.