QGIS API Documentation 4.3.0-Master (9dce731a7a1)
Loading...
Searching...
No Matches
qgsgeos.h File Reference
#include "qgsconfig.h"
#include <geos_c.h>
#include "qgis_core.h"
#include "qgis_sip.h"
#include "qgsgeometry.h"
#include "qgsgeometryengine.h"
#include <QThreadStorage>
Include dependency graph for qgsgeos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  geos::GeosDeleter
 Destroys the GEOS geometry geom, using the static QGIS geos context. More...
class  QgsGeos
 Does vector analysis using the GEOS library and handles import, export, and exception handling. More...
class  QgsGeosContext
 Used to create and store a GEOS context object, correctly freeing the context upon destruction. More...
class  QgsScopedGeosContextRegisterFeedback
 Scoped object for setting the current thread GEOS context feedback object. More...

Namespaces

namespace  geos
 Contains geos related utilities and functions.

Macros

#define GEOS_COMPUTE_VERSION(major, minor, patch)
 compute GEOS integer version from major, minor and patch number
#define GEOS_SUPPORTS_ZM
 While GEOS 3.14 already supported M, GEOS 3.15.0 and 3.15.1 have got some important bug fixes.
#define GEOS_VERSION_NUM   GEOS_COMPUTE_VERSION( GEOS_VERSION_MAJOR, GEOS_VERSION_MINOR, GEOS_VERSION_PATCH )
 compute current GEOS integer version

Typedefs

using geos::buffer_params_unique_ptr = std::unique_ptr< GEOSBufferParams, GeosDeleter>
 Scoped GEOS buffer params pointer.
using geos::coord_sequence_unique_ptr = std::unique_ptr< GEOSCoordSequence, GeosDeleter>
 Scoped GEOS coordinate sequence pointer.
using geos::prepared_unique_ptr = std::unique_ptr< const GEOSPreparedGeometry, GeosDeleter>
 Scoped GEOS prepared geometry pointer.
using geos::unique_ptr = std::unique_ptr< GEOSGeometry, GeosDeleter>
 Scoped GEOS pointer.

Macro Definition Documentation

◆ GEOS_COMPUTE_VERSION

#define GEOS_COMPUTE_VERSION ( major,
minor,
patch )
Value:
( ( major ) * 10000 + ( minor ) * 100 + ( patch ) )

compute GEOS integer version from major, minor and patch number

Definition at line 38 of file qgsgeos.h.

◆ GEOS_SUPPORTS_ZM

#define GEOS_SUPPORTS_ZM

While GEOS 3.14 already supported M, GEOS 3.15.0 and 3.15.1 have got some important bug fixes.

Definition at line 47 of file qgsgeos.h.

◆ GEOS_VERSION_NUM

#define GEOS_VERSION_NUM   GEOS_COMPUTE_VERSION( GEOS_VERSION_MAJOR, GEOS_VERSION_MINOR, GEOS_VERSION_PATCH )

compute current GEOS integer version

Definition at line 42 of file qgsgeos.h.