intersection.hpp 1.2 KB

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