![]() |
Home | Libraries | People | FAQ | More |
Returns the query iterator pointing at the begin of the query range.
This method returns the iterator which may be used to perform iterative queries. For the information about the predicates which may be passed to this method see query().
template<
typename Predicates
>
const_query_iterator
qbegin
(
Predicates const &
predicates
)
const
Type |
Name |
Description |
---|---|---|
|
|
Predicates. |
The iterator pointing at the begin of the query range.
for ( Rtree::const_query_iterator it = tree.qbegin(bgi::nearest(pt, 10000)) ; it != tree.qend() ; ++it ) { // do something with value if ( has_enough_nearest_values() ) break; }
If predicates copy throws. If allocation throws.