...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Generate contains()
predicate.
Generate a predicate defining Value and Geometry relationship. With this
predicate query returns indexed Values that contain passed Geometry.
Value is returned by the query if
returns bg::within(Geometry, Indexable)
.
true
template<
typename Geometry
>
unspecifiedcontains
(
Geometry const &
g
)
Parameter |
Description |
---|---|
|
The Geometry type. |
Type |
Name |
Description |
---|---|---|
|
|
The Geometry object. |
bgi::query(spatial_index, bgi::contains(box), std::back_inserter(result));