QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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. More...
 
QgsPointXY point () const
 Returns the indexed point. More...
 

Public Attributes

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

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 ( 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

QgsPointXY QgsSpatialIndexKDBushData::point ( ) const
inline

Returns the indexed point.

Definition at line 54 of file qgsspatialindexkdbushdata.h.

Member Data Documentation

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

Pair of coordinate data.

Note
Not available in Python bindings.

Definition at line 49 of file qgsspatialindexkdbushdata.h.

QgsFeatureId QgsSpatialIndexKDBushData::id

Feature ID.

Definition at line 60 of file qgsspatialindexkdbushdata.h.


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