QGIS API Documentation  3.6.0-Noosa (5873452)
Macros
qgsunittypes.cpp File Reference
#include "qgsunittypes.h"
#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 CENTIMETERS_TO_METER   0.01
 
#define CM2_TO_M2   0.0001
 
#define DEG2_TO_M2   12392029030.5
 
#define DEGREE_TO_METER   111319.49079327358
 
#define FEET_TO_METER   0.3048
 
#define FT2_TO_M2   0.09290304
 
#define HA_TO_M2   10000.0
 
#define KILOMETERS_TO_METER   1000.0
 
#define KM2_TO_M2   1000000.0
 
#define MI2_TO_M2   2589988.110336
 
#define MILES_TO_METER   1609.344
 
#define MILLIMETERS_TO_METER   0.001
 
#define MM2_TO_M2   0.000001
 
#define NM2_TO_M2   3429904.0
 
#define NMILE_TO_METER   1852.0
 
#define YARDS_TO_FEET   3.0
 
#define YARDS_TO_METER   0.9144
 
#define YD2_TO_M2   0.83612736
 

Macro Definition Documentation

◆ AC_TO_FT2

#define AC_TO_FT2   43560.0

◆ CENTIMETERS_TO_METER

#define CENTIMETERS_TO_METER   0.01

◆ CM2_TO_M2

#define CM2_TO_M2   0.0001

◆ DEG2_TO_M2

#define DEG2_TO_M2   12392029030.5

◆ DEGREE_TO_METER

#define DEGREE_TO_METER   111319.49079327358

◆ FEET_TO_METER

#define FEET_TO_METER   0.3048

◆ FT2_TO_M2

#define FT2_TO_M2   0.09290304

◆ HA_TO_M2

#define HA_TO_M2   10000.0

◆ KILOMETERS_TO_METER

#define KILOMETERS_TO_METER   1000.0

◆ KM2_TO_M2

#define KM2_TO_M2   1000000.0

◆ MI2_TO_M2

#define MI2_TO_M2   2589988.110336

◆ MILES_TO_METER

#define MILES_TO_METER   1609.344

◆ MILLIMETERS_TO_METER

#define MILLIMETERS_TO_METER   0.001

◆ MM2_TO_M2

#define MM2_TO_M2   0.000001

◆ NM2_TO_M2

#define NM2_TO_M2   3429904.0

◆ NMILE_TO_METER

#define NMILE_TO_METER   1852.0

◆ YARDS_TO_FEET

#define YARDS_TO_FEET   3.0

◆ YARDS_TO_METER

#define YARDS_TO_METER   0.9144

◆ YD2_TO_M2

#define YD2_TO_M2   0.83612736