envelope.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2016-2018 Oracle and/or its affiliates.
  3. // Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle
  4. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  5. // Use, modification and distribution is subject to the Boost Software License,
  6. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. #ifndef BOOST_GEOMETRY_STRATEGIES_ENVELOPE_HPP
  9. #define BOOST_GEOMETRY_STRATEGIES_ENVELOPE_HPP
  10. #include <boost/mpl/assert.hpp>
  11. namespace boost { namespace geometry
  12. {
  13. namespace strategy { namespace envelope { namespace services
  14. {
  15. /*!
  16. \brief Traits class binding a default envelope strategy to a coordinate system
  17. \ingroup util
  18. \tparam Tag tag of geometry
  19. \tparam CSTag tag of coordinate system
  20. \tparam CalculationType \tparam_calculation
  21. */
  22. template <typename Tag, typename CSTag, typename CalculationType = void>
  23. struct default_strategy
  24. {
  25. BOOST_MPL_ASSERT_MSG
  26. (
  27. false, NOT_IMPLEMENTED_FOR_THIS_TYPE
  28. , (types<Tag, CSTag>)
  29. );
  30. };
  31. }}} // namespace strategy::envelope::services
  32. }} // namespace boost::geometry
  33. #endif // BOOST_GEOMETRY_STRATEGIES_ENVELOPE_HPP