QGIS API Documentation  3.0.2-Girona (307d082)
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 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 37 of file qgsdistancearea.cpp.

◆ POW2

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

Definition at line 39 of file qgsdistancearea.cpp.

◆ RAD2DEG

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

Definition at line 38 of file qgsdistancearea.cpp.