linear.hpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
  3. // Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
  4. // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
  5. // This file was modified by Oracle on 2015-2020.
  6. // Modifications copyright (c) 2015-2020, Oracle and/or its affiliates.
  7. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
  8. // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
  9. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  10. // Distributed under the Boost Software License, Version 1.0.
  11. // (See accompanying file LICENSE_1_0.txt or copy at
  12. // http://www.boost.org/LICENSE_1_0.txt)
  13. #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP
  14. #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP
  15. #include <boost/geometry/core/tags.hpp>
  16. #include <boost/geometry/algorithms/detail/envelope/range.hpp>
  17. #include <boost/geometry/algorithms/dispatch/envelope.hpp>
  18. namespace boost { namespace geometry
  19. {
  20. #ifndef DOXYGEN_NO_DISPATCH
  21. namespace dispatch
  22. {
  23. template <typename Linestring>
  24. struct envelope<Linestring, linestring_tag>
  25. : detail::envelope::envelope_range
  26. {};
  27. template <typename MultiLinestring>
  28. struct envelope<MultiLinestring, multi_linestring_tag>
  29. : detail::envelope::envelope_multi_range
  30. <
  31. detail::envelope::envelope_range
  32. >
  33. {};
  34. } // namespace dispatch
  35. #endif // DOXYGEN_NO_DISPATCH
  36. }} // namespace boost::geometry
  37. #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP