diff --git a/region.hpp b/region.hpp index eec878de..8e318ba5 100644 --- a/region.hpp +++ b/region.hpp @@ -296,6 +296,16 @@ namespace cruft { /////////////////////////////////////////////////////////////////////////// + template + bool + intersects ( + cruft::region const &a, + cruft::region const &b + ) { + return a.intersects (b); + } + + /// returns true if the supplied point lies within the supplied region /// inclusive of borders. template