QGIS API Documentation
2.10.1-Pisa
|
Does vector analysis using the geos library and handles import, export, exception handling*. More...
#include <qgsgeos.h>
Public Member Functions | |
QgsGeos (const QgsAbstractGeometryV2 *geometry) | |
~QgsGeos () | |
double | area () const override |
QgsAbstractGeometryV2 * | buffer (double distance, int segments) const override |
QgsAbstractGeometryV2 * | buffer (double distance, int segments, int endCapStyle, int joinStyle, double mitreLimit) const override |
bool | centroid (QgsPointV2 &pt) const override |
QgsAbstractGeometryV2 * | combine (const QgsAbstractGeometryV2 &geom) const override |
QgsAbstractGeometryV2 * | combine (const QList< const QgsAbstractGeometryV2 * >) const override |
bool | contains (const QgsAbstractGeometryV2 &geom) const override |
QgsAbstractGeometryV2 * | convexHull () const override |
bool | crosses (const QgsAbstractGeometryV2 &geom) const override |
QgsAbstractGeometryV2 * | difference (const QgsAbstractGeometryV2 &geom) const override |
bool | disjoint (const QgsAbstractGeometryV2 &geom) const override |
double | distance (const QgsAbstractGeometryV2 &geom) const override |
void | geometryChanged () override |
Removes caches. More... | |
QgsAbstractGeometryV2 * | interpolate (double distance) const override |
QgsAbstractGeometryV2 * | intersection (const QgsAbstractGeometryV2 &geom) const override |
bool | intersects (const QgsAbstractGeometryV2 &geom) const override |
bool | isEmpty () const override |
bool | isEqual (const QgsAbstractGeometryV2 &geom) const override |
bool | isValid () const override |
double | length () const override |
QgsAbstractGeometryV2 * | offsetCurve (double distance, int segments, int joinStyle, double mitreLimit) const override |
bool | overlaps (const QgsAbstractGeometryV2 &geom) const override |
bool | pointOnSurface (QgsPointV2 &pt) const override |
void | prepareGeometry () override |
QgsAbstractGeometryV2 * | reshapeGeometry (const QgsLineStringV2 &reshapeWithLine, int *errorCode) const |
QgsAbstractGeometryV2 * | simplify (double tolerance) const override |
int | splitGeometry (const QgsLineStringV2 &splitLine, QList< QgsAbstractGeometryV2 * > &newGeometries, bool topological, QList< QgsPointV2 > &topologyTestPoints) const override |
Splits this geometry according to a given line. More... | |
QgsAbstractGeometryV2 * | symDifference (const QgsAbstractGeometryV2 &geom) const override |
bool | touches (const QgsAbstractGeometryV2 &geom) const override |
bool | within (const QgsAbstractGeometryV2 &geom) const override |
Public Member Functions inherited from QgsGeometryEngine | |
QgsGeometryEngine (const QgsAbstractGeometryV2 *geometry) | |
virtual | ~QgsGeometryEngine () |
Static Public Member Functions | |
static GEOSGeometry * | asGeos (const QgsAbstractGeometryV2 *geom) |
static QgsPointV2 | coordSeqPoint (const GEOSCoordSequence *cs, int i, bool hasZ, bool hasM) |
static QgsAbstractGeometryV2 * | fromGeos (const GEOSGeometry *geos) |
static QgsPolygonV2 * | fromGeosPolygon (const GEOSGeometry *geos) |
static GEOSContextHandle_t | getGEOSHandler () |
Additional Inherited Members | |
Protected Member Functions inherited from QgsGeometryEngine | |
QgsGeometryEngine () | |
Protected Attributes inherited from QgsGeometryEngine | |
const QgsAbstractGeometryV2 * | mGeometry |
Does vector analysis using the geos library and handles import, export, exception handling*.
QgsGeos::QgsGeos | ( | const QgsAbstractGeometryV2 * | geometry | ) |
Definition at line 127 of file qgsgeos.cpp.
QgsGeos::~QgsGeos | ( | ) |
Definition at line 132 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 269 of file qgsgeos.cpp.
|
static |
Definition at line 970 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1172 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1188 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1240 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 177 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 182 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 259 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1295 of file qgsgeos.cpp.
|
static |
Definition at line 933 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 244 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 172 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 264 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 211 of file qgsgeos.cpp.
|
static |
Definition at line 782 of file qgsgeos.cpp.
|
static |
Definition at line 870 of file qgsgeos.cpp.
|
overridevirtual |
|
static |
Definition at line 2056 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1225 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 167 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 234 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1347 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1326 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1312 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 286 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1502 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 254 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1266 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 147 of file qgsgeos.cpp.
QgsAbstractGeometryV2 * QgsGeos::reshapeGeometry | ( | const QgsLineStringV2 & | reshapeWithLine, |
int * | errorCode | ||
) | const |
Definition at line 1518 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 1210 of file qgsgeos.cpp.
|
overridevirtual |
Splits this geometry according to a given line.
splitLine | the line that splits the geometry | |
[out] | newGeometries | list of new geometries that have been created with the split |
topological | true if topological editing is enabled | |
[out] | topologyTestPoints | points that need to be tested for topological completeness in the dataset |
Reimplemented from QgsGeometryEngine.
Definition at line 302 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 206 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 239 of file qgsgeos.cpp.
|
overridevirtual |
Implements QgsGeometryEngine.
Definition at line 249 of file qgsgeos.cpp.