Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a bounding box intersection test to QgsGeometry
We only previously had methods for exact intersections - this commit adds a new QgsGeometry.boundingBoxIntersects() method which can be used to test if just the bounding boxes of geometries/rectangles intersect. It's fast, and doesn't care about invalid geometries (unlike the exact intersects checks)
- Loading branch information
1 parent
9471c5d
commit 3ffbd84
Showing
4 changed files
with
125 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters