QGIS API Documentation  3.6.0-Noosa (5873452)
Macros
qgsdistancearea.cpp File Reference
#include <cmath>
#include <QString>
#include <QObject>
#include "qgsdistancearea.h"
#include "qgis.h"
#include "qgspointxy.h"
#include "qgscoordinatetransform.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsgeometry.h"
#include "qgsgeometrycollection.h"
#include "qgslogger.h"
#include "qgsmessagelog.h"
#include "qgsmultisurface.h"
#include "qgswkbptr.h"
#include "qgslinestring.h"
#include "qgspolygon.h"
#include "qgssurface.h"
#include "qgsunittypes.h"
#include "qgsexception.h"
#include "qgsmultilinestring.h"
#include <geodesic.h>
Include dependency graph for qgsdistancearea.cpp:

Go to the source code of this file.

Macros

#define DEG2RAD(x)   ((x)*M_PI/180)
 
#define POW2(x)   ((x)*(x))
 
#define RAD2DEG(r)   (180.0 * (r) / M_PI)
 

Macro Definition Documentation

◆ DEG2RAD

#define DEG2RAD (   x)    ((x)*M_PI/180)

Definition at line 40 of file qgsdistancearea.cpp.

◆ POW2

#define POW2 (   x)    ((x)*(x))

Definition at line 42 of file qgsdistancearea.cpp.

◆ RAD2DEG

#define RAD2DEG (   r)    (180.0 * (r) / M_PI)

Definition at line 41 of file qgsdistancearea.cpp.