Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.89.0.
Generate intersects()
predicate.
Generate a predicate defining Value and Geometry relationship. With this
predicate query returns indexed Values that intersect passed Geometry.
Value is returned by the query if returns bg::intersects(Indexable, Geometry).
true
template<typename Geometry>unspecifiedintersects(Geometry const &g)
|
Parameter |
Description |
|---|---|
|
|
The Geometry type. |
|
Type |
Name |
Description |
|---|---|---|
|
|
|
The Geometry object. |
bgi::query(spatial_index, bgi::intersects(box), std::back_inserter(result)); bgi::query(spatial_index, bgi::intersects(ring), std::back_inserter(result)); bgi::query(spatial_index, bgi::intersects(polygon), std::back_inserter(result));