mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
missed python binding to additional GEOS operators
git-svn-id: http://svn.osgeo.org/qgis/trunk@13372 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
62defb7be6
commit
7e2a10126f
@ -100,6 +100,11 @@ class QgsGeometry
|
|||||||
*/
|
*/
|
||||||
bool isGeosValid();
|
bool isGeosValid();
|
||||||
|
|
||||||
|
/** check if geometry is empty using GEOS
|
||||||
|
@note added in 1.5
|
||||||
|
*/
|
||||||
|
bool isGeosEmpty();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the geometry, feeding in a geometry in GEOS format.
|
Set the geometry, feeding in a geometry in GEOS format.
|
||||||
*/
|
*/
|
||||||
@ -239,10 +244,34 @@ not disjoint with existing polygons of the feature*/
|
|||||||
/** Test for containment of a point (uses GEOS) */
|
/** Test for containment of a point (uses GEOS) */
|
||||||
bool contains(QgsPoint* p);
|
bool contains(QgsPoint* p);
|
||||||
|
|
||||||
/** Test for containment with a geometry (uses GEOS)
|
/** Test for if geometry is contained in an other (uses GEOS)
|
||||||
* @note added in 1.5 */
|
* @note added in 1.5 */
|
||||||
bool contains( QgsGeometry* geometry );
|
bool contains( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry is disjoint of an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool disjoint( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry equals an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool equals( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry touch an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool touches( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry overlaps an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool overlaps( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry is within an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool within( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
/** Test for if geometry crosses an other (uses GEOS)
|
||||||
|
* @note added in 1.5 */
|
||||||
|
bool crosses( QgsGeometry* geometry );
|
||||||
|
|
||||||
/** Returns a buffer region around this geometry having the given width and with a specified number
|
/** Returns a buffer region around this geometry having the given width and with a specified number
|
||||||
of segments used to approximate curves */
|
of segments used to approximate curves */
|
||||||
QgsGeometry* buffer(double distance, int segments) /Factory/;
|
QgsGeometry* buffer(double distance, int segments) /Factory/;
|
||||||
|
@ -288,7 +288,7 @@ class CORE_EXPORT QgsGeometry
|
|||||||
/** Test for containment of a point (uses GEOS) */
|
/** Test for containment of a point (uses GEOS) */
|
||||||
bool contains( QgsPoint* p );
|
bool contains( QgsPoint* p );
|
||||||
|
|
||||||
/** Test for if geometry is contain in an other (uses GEOS)
|
/** Test for if geometry is contained in an other (uses GEOS)
|
||||||
* @note added in 1.5 */
|
* @note added in 1.5 */
|
||||||
bool contains( QgsGeometry* geometry );
|
bool contains( QgsGeometry* geometry );
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ INCLUDE_DIRECTORIES(
|
|||||||
../../core/symbology
|
../../core/symbology
|
||||||
../../gui
|
../../gui
|
||||||
..
|
..
|
||||||
|
${GEOS_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(spatialqueryplugin
|
TARGET_LINK_LIBRARIES(spatialqueryplugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user