QGIS API Documentation  2.99.0-Master (009e47e)
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 "qgscsexception.h"
Include dependency graph for qgsdistancearea.cpp:

Go to the source code of this file.

Macros

#define DEG2RAD(x)   ((x)*M_PI/180)
 
#define M_PI   3.14159265358979323846
 
#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 42 of file qgsdistancearea.cpp.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 39 of file qgsdistancearea.cpp.

◆ POW2

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

Definition at line 44 of file qgsdistancearea.cpp.

◆ RAD2DEG

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

Definition at line 43 of file qgsdistancearea.cpp.