box_box.hpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
  3. // This file was modified by Oracle on 2014.
  4. // Modifications copyright (c) 2014, Oracle and/or its affiliates.
  5. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  6. // Use, modification and distribution is subject to the Boost Software License,
  7. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_INTERSECTION_BOX_BOX_HPP
  10. #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_INTERSECTION_BOX_BOX_HPP
  11. #include <boost/geometry/algorithms/detail/intersection/interface.hpp>
  12. #include <boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp>
  13. namespace boost { namespace geometry
  14. {
  15. #ifndef DOXYGEN_NO_DISPATCH
  16. namespace dispatch
  17. {
  18. template
  19. <
  20. typename Box1, typename Box2, bool Reverse
  21. >
  22. struct intersection
  23. <
  24. Box1, Box2,
  25. box_tag, box_tag,
  26. Reverse
  27. > : public detail::intersection::intersection_box_box
  28. <
  29. 0, geometry::dimension<Box1>::value
  30. >
  31. {};
  32. } // namespace dispatch
  33. #endif // DOXYGEN_NO_DISPATCH
  34. }} // namespace boost::geometry
  35. #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_INTERSECTION_BOX_BOX_HPP