side.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
  3. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
  4. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
  5. // This file was modified by Oracle on 2018.
  6. // Modifications copyright (c) 2018, Oracle and/or its affiliates.
  7. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  8. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
  9. // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
  10. // Use, modification and distribution is subject to the Boost Software License,
  11. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  12. // http://www.boost.org/LICENSE_1_0.txt)
  13. #ifndef BOOST_GEOMETRY_STRATEGIES_SIDE_HPP
  14. #define BOOST_GEOMETRY_STRATEGIES_SIDE_HPP
  15. #include <boost/mpl/assert.hpp>
  16. #include <boost/geometry/strategies/tags.hpp>
  17. namespace boost { namespace geometry
  18. {
  19. namespace strategy { namespace side
  20. {
  21. namespace services
  22. {
  23. /*!
  24. \brief Traits class binding a side determination strategy to a coordinate system
  25. \ingroup util
  26. \tparam CSTag tag of coordinate system of point-type
  27. \tparam CalculationType \tparam_calculation
  28. */
  29. template <typename CSTag, typename CalculationType = void>
  30. struct default_strategy
  31. {
  32. BOOST_MPL_ASSERT_MSG
  33. (
  34. false, NOT_IMPLEMENTED_FOR_THIS_TYPE
  35. , (types<CSTag>)
  36. );
  37. };
  38. } // namespace services
  39. }} // namespace strategy::side
  40. }} // namespace boost::geometry
  41. #endif // BOOST_GEOMETRY_STRATEGIES_SIDE_HPP