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 2013. The current version is 1.91.0.
Checks if two geometries are disjoint.
template<typename Geometry1, typename Geometry2> bool disjoint(Geometry1 const & geometry1, Geometry2 const & geometry2)
|
Type |
Concept |
Name |
Description |
|---|---|---|---|
|
Geometry1 const & |
Any type fulfilling a Geometry Concept |
geometry1 |
A model of the specified concept |
|
Geometry2 const & |
Any type fulfilling a Geometry Concept |
geometry2 |
A model of the specified concept |
Returns true if two geometries are disjoint
Either
#include <boost/geometry/geometry.hpp>
Or
#include <boost/geometry/algorithms/disjoint.hpp>
The function disjoint implements function Disjoint from the OGC Simple Feature Specification.