Quantum GIS API Documentation  1.8
Classes | Defines | Functions | Variables
src/core/qgsgeometry.cpp File Reference
#include <limits>
#include <cstdarg>
#include <cstdio>
#include <cmath>
#include "qgis.h"
#include "qgsgeometry.h"
#include "qgsapplication.h"
#include "qgslogger.h"
#include "qgsmessagelog.h"
#include "qgspoint.h"
#include "qgsrectangle.h"
#include "qgsmaplayerregistry.h"
#include "qgsvectorlayer.h"
#include "qgsproject.h"
#include "qgsgeometryvalidator.h"
Include dependency graph for qgsgeometry.cpp:

Go to the source code of this file.

Classes

class  GEOSException
class  GEOSInit

Defines

#define DEFAULT_QUADRANT_SEGMENTS   8
#define CATCH_GEOS(r)

Functions

static void throwGEOSException (const char *fmt,...)
static void printGEOSNotice (const char *fmt,...)
static unsigned int getNumGeosPoints (const GEOSGeometry *geom)
static GEOSGeometry * createGeosPoint (const QgsPoint &point)
static GEOSCoordSequence * createGeosCoordSequence (const QgsPolyline &points)
static GEOSGeometry * createGeosCollection (int typeId, QVector< GEOSGeometry * > geoms)
static GEOSGeometry * createGeosLineString (const QgsPolyline &polyline)
static GEOSGeometry * createGeosLinearRing (const QgsPolyline &polyline)
static GEOSGeometry * createGeosPolygon (const QVector< GEOSGeometry * > &rings)
static GEOSGeometry * createGeosPolygon (GEOSGeometry *shell)
static GEOSGeometry * createGeosPolygon (const QgsPolygon &polygon)
static QgsGeometryfromGeosGeom (GEOSGeometry *geom)

Variables

static GEOSInit geosinit

Define Documentation

#define CATCH_GEOS (   r)
#define DEFAULT_QUADRANT_SEGMENTS   8

Definition at line 35 of file qgsgeometry.cpp.

Referenced by QgsGeometry::lineContainedInLine().


Function Documentation

static GEOSGeometry* createGeosCollection ( int  typeId,
QVector< GEOSGeometry * >  geoms 
) [static]
static GEOSCoordSequence* createGeosCoordSequence ( const QgsPolyline points) [static]
static GEOSGeometry* createGeosLinearRing ( const QgsPolyline polyline) [static]
static GEOSGeometry* createGeosLineString ( const QgsPolyline polyline) [static]
static GEOSGeometry* createGeosPoint ( const QgsPoint point) [static]
static GEOSGeometry* createGeosPolygon ( const QVector< GEOSGeometry * > &  rings) [static]
static GEOSGeometry* createGeosPolygon ( GEOSGeometry *  shell) [static]

Definition at line 371 of file qgsgeometry.cpp.

References createGeosPolygon().

static GEOSGeometry* createGeosPolygon ( const QgsPolygon polygon) [static]
static QgsGeometry* fromGeosGeom ( GEOSGeometry *  geom) [static]
static unsigned int getNumGeosPoints ( const GEOSGeometry *  geom) [static]

Definition at line 231 of file qgsgeometry.cpp.

Referenced by QgsGeometry::exportGeosToWkb().

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

Definition at line 98 of file qgsgeometry.cpp.

References QgsDebugMsg.

Referenced by GEOSInit::GEOSInit().

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

Definition at line 84 of file qgsgeometry.cpp.

References QgsDebugMsg.

Referenced by QgsGeometry::addRing(), and GEOSInit::GEOSInit().


Variable Documentation

GEOSInit geosinit [static]

Definition at line 128 of file qgsgeometry.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines