What does boost::geometry::intersection return
问题 The documentation for boost::geometry::intersection ( https://www.boost.org/doc/libs/1_73_0/libs/geometry/doc/html/geometry/reference/algorithms/intersection/intersection_3.html ) says the function returns a bool. However the docs do NOT say what the return value indicates. I guessed it would return true if an intersection was found. Wrong!!! This code #include <iostream> #include <deque> #include <boost/geometry.hpp> #include <boost/geometry/geometries/register/point.hpp> namespace bg =