mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Standardise naming of all internal functions to lowercase with underscore convention. Add aliases for old names to avoid breakage.
14 lines
504 B
Plaintext
14 lines
504 B
Plaintext
<h3>intersects_bbox function</h3>
|
|
Returns 1 if the geometries spatially intersect the bounding box defined and 0 if they don't.
|
|
|
|
<h4>Syntax</h4>
|
|
<pre>intersects_bbox( a, b )</pre>
|
|
|
|
<h4>Arguments</h4>
|
|
a → geometry
|
|
b → geometry
|
|
|
|
<h4>Example</h4>
|
|
<pre>intersects_bbox( geomFromWKT( 'POINT(4 5)' ) , geom_from_wkt( 'LINESTRING(3 3 , 4 4 , 5 5)' )) → returns 1</pre>
|
|
<pre>intersects_bbox( geomFromWKT( 'POINT(6 5)' ) , geom_from_wkt( 'POLYGON((3 3 , 4 4 , 5 5, 3 3))' )) → returns 0</pre>
|