Skip to content
Permalink
Browse files

Add missing dox

  • Loading branch information
nyalldawson committed Jul 15, 2017
1 parent 7baa623 commit 353d4fc70371fae2da440fd9b9697635a38e4053
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/core/qgsspatialindex.cpp
@@ -163,6 +163,14 @@ class QgsSpatialIndexData : public QSharedData
initTree();
}

/**
* Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator
* \a fi.
*
* The optional \a feedback object can be used to allow cancelation of bulk feature loading. Ownership
* of \a feedback is not transferred, and callers must take care that the lifetime of feedback exceeds
* that of the spatial index construction.
*/
explicit QgsSpatialIndexData( const QgsFeatureIterator &fi, QgsFeedback *feedback = nullptr )
{
QgsFeatureIteratorDataStream fids( fi, feedback );

0 comments on commit 353d4fc

Please sign in to comment.
You can’t perform that action at this time.