QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
qgsspatialindexutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgenericspatialindex.h
3
------------------------
4
Date : December 2019
5
Copyright : (C) 2019 by Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSSPATIALINDEXUTILS_H
17
#define QGSSPATIALINDEXUTILS_H
18
19
#include "qgis_core.h"
20
21
#define SIP_NO_FILE
22
23
class
QgsRectangle
;
24
26
// forward declaration
27
namespace
SpatialIndex
28
{
29
class
IStorageManager;
30
class
ISpatialIndex;
31
class
Region;
32
class
Point;
33
34
namespace
StorageManager
35
{
36
class
IBuffer;
37
}
38
}
//namespace SpatialIndex
40
50
class
CORE_EXPORT
QgsSpatialIndexUtils
51
{
52
public
:
56
static
SpatialIndex::Region
rectangleToRegion
(
const
QgsRectangle
&rectangle );
57
};
58
59
#endif
// QGSSPATIALINDEXUTILS_H
QgsRectangle
A rectangle specified with double values.
Definition
qgsrectangle.h:47
QgsSpatialIndexUtils
Contains utility functions for working with spatial indexes.
Definition
qgsspatialindexutils.h:51
QgsSpatialIndexUtils::rectangleToRegion
static SpatialIndex::Region rectangleToRegion(const QgsRectangle &rectangle)
Converts a QGIS rectangle to a SpatialIndex region.
Definition
qgsspatialindexutils.cpp:22
SpatialIndex
Definition
qgspointlocator.h:88
Generated on
for QGIS API Documentation by
1.17.0