QGIS API Documentation  3.0.2-Girona (307d082)
Macros
qgsgeos.cpp File Reference
#include "qgsgeos.h"
#include "qgsabstractgeometry.h"
#include "qgsgeometrycollection.h"
#include "qgsgeometryfactory.h"
#include "qgslinestring.h"
#include "qgsmessagelog.h"
#include "qgsmulticurve.h"
#include "qgsmultilinestring.h"
#include "qgsmultipoint.h"
#include "qgsmultipolygon.h"
#include "qgslogger.h"
#include "qgspolygon.h"
#include <limits>
#include <cstdio>
Include dependency graph for qgsgeos.cpp:

Go to the source code of this file.

Macros

#define CATCH_GEOS(r)
 
#define CATCH_GEOS_WITH_ERRMSG(r)
 
#define DEFAULT_QUADRANT_SEGMENTS   8
 

Macro Definition Documentation

◆ CATCH_GEOS

#define CATCH_GEOS (   r)
Value:
catch (GEOSException &e) \
{ \
QgsMessageLog::logMessage( QObject::tr( "Exception: %1" ).arg( e.what() ), QObject::tr("GEOS") ); \
return r; \
}
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning)
add a message to the instance (and create it if necessary)

Definition at line 33 of file qgsgeos.cpp.

◆ CATCH_GEOS_WITH_ERRMSG

#define CATCH_GEOS_WITH_ERRMSG (   r)
Value:
catch (GEOSException &e) \
{ \
QgsMessageLog::logMessage( QObject::tr( "Exception: %1" ).arg( e.what() ), QObject::tr("GEOS") ); \
if ( errorMsg ) \
{ \
*errorMsg = e.what(); \
} \
return r; \
}
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning)
add a message to the instance (and create it if necessary)

Definition at line 40 of file qgsgeos.cpp.

◆ DEFAULT_QUADRANT_SEGMENTS

#define DEFAULT_QUADRANT_SEGMENTS   8

Definition at line 31 of file qgsgeos.cpp.