18 #ifndef QGSSPATIALINDEXKDBUSH_PRIVATE_H
19 #define QGSSPATIALINDEXKDBUSH_PRIVATE_H
44 class PointXYKDBush :
public kdbush::KDBush< std::pair<double, double>, QgsSpatialIndexKDBushData, std::size_t >
50 fillFromIterator( fi, feedback );
57 fillFromIterator( it, feedback );
90 sortKD( 0, size - 1, 0 );
93 std::size_t size()
const
100 class QgsSpatialIndexKDBushPrivate
105 : index( qgis::make_unique < PointXYKDBush >( fi, feedback ) )
109 : index( qgis::make_unique < PointXYKDBush >( source, feedback ) )
113 std::unique_ptr< PointXYKDBush > index;
118 #endif // QGSSPATIALINDEXKDBUSH_PRIVATE_H