18 #ifndef QGSSPATIALINDEXKDBUSHDATA_H
19 #define QGSSPATIALINDEXKDBUSHDATA_H
41 : coords( std::make_pair( x, y ) )
56 return QgsPointXY( coords.first, coords.second );
A class to represent a 2D point.
A container for data stored inside a QgsSpatialIndexKDBush index.
QgsFeatureId id
Feature ID.
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.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features