QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions | Variables
qgsgeos.cpp File Reference
#include "qgsgeos.h"
#include "qgsabstractgeometryv2.h"
#include "qgsgeometrycollectionv2.h"
#include "qgsgeometryfactory.h"
#include "qgslinestringv2.h"
#include "qgsmessagelog.h"
#include "qgsmulticurvev2.h"
#include "qgsmultilinestringv2.h"
#include "qgsmultipointv2.h"
#include "qgsmultipolygonv2.h"
#include "qgslogger.h"
#include "qgspolygonv2.h"
#include <cstdio>
Include dependency graph for qgsgeos.cpp:

Go to the source code of this file.

Classes

class  GEOSException
 
class  GEOSInit
 

Macros

#define CATCH_GEOS(r)
 
#define DEFAULT_QUADRANT_SEGMENTS   8
 

Functions

static void printGEOSNotice (const char *fmt,...)
 
static void throwGEOSException (const char *fmt,...)
 

Variables

static GEOSInit geosinit
 

Macro Definition Documentation

#define CATCH_GEOS (   r)
Value:
catch (GEOSException &e) \
{ \
QgsMessageLog::logMessage( QObject::tr( "Exception: %1" ).arg( e.what() ), QObject::tr("GEOS") ); \
return r; \
}
QString what()
Definition: qgsgeos.cpp:67
QString tr(const char *sourceText, const char *disambiguation, int n)
static void logMessage(QString message, QString tag=QString::null, MessageLevel level=WARNING)
add a message to the instance (and create it if necessary)

Definition at line 32 of file qgsgeos.cpp.

#define DEFAULT_QUADRANT_SEGMENTS   8

Definition at line 30 of file qgsgeos.cpp.

Function Documentation

static void printGEOSNotice ( const char *  fmt,
  ... 
)
static

Definition at line 93 of file qgsgeos.cpp.

static void throwGEOSException ( const char *  fmt,
  ... 
)
static

Definition at line 79 of file qgsgeos.cpp.

Variable Documentation

GEOSInit geosinit
static

Definition at line 125 of file qgsgeos.cpp.