Go to the source code of this file.
|
static bool | _linestringEndpoints (const GEOSGeometry *linestring, double &x1, double &y1, double &x2, double &y2) |
| Extract coordinates of linestring's endpoints. More...
|
|
static GEOSGeometry * | _mergeLinestrings (const GEOSGeometry *line1, const GEOSGeometry *line2, const QgsPoint &interesectionPoint) |
| Merge two linestrings if they meet at the given intersection point, return new geometry or null on error. More...
|
|
◆ CATCH_GEOS
Value:catch (GEOSException &e) \
return r; \
}
QString tr(const char *sourceText, const char *disambiguation, int n)
static void logMessage(const QString &message, const QString &tag=QString::null, MessageLevel level=WARNING)
add a message to the instance (and create it if necessary)
Definition at line 34 of file qgsgeos.cpp.
◆ CATCH_GEOS_WITH_ERRMSG
#define CATCH_GEOS_WITH_ERRMSG |
( |
|
r | ) |
|
Value:catch (GEOSException &e) \
if ( errorMsg ) \
{ \
*errorMsg = e.what(); \
} \
return r; \
}
QString tr(const char *sourceText, const char *disambiguation, int n)
static void logMessage(const QString &message, const QString &tag=QString::null, MessageLevel level=WARNING)
add a message to the instance (and create it if necessary)
Definition at line 41 of file qgsgeos.cpp.
◆ DEFAULT_QUADRANT_SEGMENTS
#define DEFAULT_QUADRANT_SEGMENTS 8 |
◆ _linestringEndpoints()
static bool _linestringEndpoints |
( |
const GEOSGeometry * |
linestring, |
|
|
double & |
x1, |
|
|
double & |
y1, |
|
|
double & |
x2, |
|
|
double & |
y2 |
|
) |
| |
|
static |
Extract coordinates of linestring's endpoints.
Returns false on error.
Definition at line 1927 of file qgsgeos.cpp.
◆ _mergeLinestrings()
static GEOSGeometry* _mergeLinestrings |
( |
const GEOSGeometry * |
line1, |
|
|
const GEOSGeometry * |
line2, |
|
|
const QgsPoint & |
interesectionPoint |
|
) |
| |
|
static |
Merge two linestrings if they meet at the given intersection point, return new geometry or null on error.
Definition at line 1949 of file qgsgeos.cpp.