QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsSpatialIndexKDBushData Class Reference

A container for data stored inside a QgsSpatialIndexKDBush index. More...

#include <qgsspatialindexkdbushdata.h>

Public Member Functions

 QgsSpatialIndexKDBushData (QgsFeatureId id, double x, double y)
 Constructor for QgsSpatialIndexKDBushData, for a feature with the given id and x, y coordinate.
 
QgsPointXY point () const
 Returns the indexed point.
 

Public Attributes

std::pair< double, double > coords
 Pair of coordinate data.
 
QgsFeatureId id
 Feature ID.
 

Detailed Description

A container for data stored inside a QgsSpatialIndexKDBush index.

Since
QGIS 3.4

Definition at line 32 of file qgsspatialindexkdbushdata.h.

Constructor & Destructor Documentation

◆ QgsSpatialIndexKDBushData()

QgsSpatialIndexKDBushData::QgsSpatialIndexKDBushData ( QgsFeatureId  id,
double  x,
double  y 
)
inline

Constructor for QgsSpatialIndexKDBushData, for a feature with the given id and x, y coordinate.

Definition at line 40 of file qgsspatialindexkdbushdata.h.

Member Function Documentation

◆ point()

QgsPointXY QgsSpatialIndexKDBushData::point ( ) const
inline

Returns the indexed point.

Definition at line 54 of file qgsspatialindexkdbushdata.h.

Member Data Documentation

◆ coords

std::pair<double, double> QgsSpatialIndexKDBushData::coords

Pair of coordinate data.

Note
Not available in Python bindings.

Definition at line 49 of file qgsspatialindexkdbushdata.h.

◆ id

QgsFeatureId QgsSpatialIndexKDBushData::id

Feature ID.

Definition at line 60 of file qgsspatialindexkdbushdata.h.


The documentation for this class was generated from the following file: