18 #ifndef QGSSPATIALINDEXKDBUSHDATA_H 19 #define QGSSPATIALINDEXKDBUSHDATA_H 41 : coords( std::make_pair( x, y ) )
56 return QgsPointXY( coords.first, coords.second );
63 #endif // QGSSPATIALINDEXKDBUSHDATA_H A container for data stored inside a QgsSpatialIndexKDBush index.
A class to represent a 2D point.
QgsPointXY point() const
Returns the indexed point.
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...