123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- #ifndef BOOST_GEOMETRY_STRATEGIES_DISTANCE_HPP
- #define BOOST_GEOMETRY_STRATEGIES_DISTANCE_HPP
- #include <boost/geometry/core/cs.hpp>
- #include <boost/geometry/core/static_assert.hpp>
- #include <boost/geometry/strategies/tags.hpp>
- namespace boost { namespace geometry
- {
- namespace strategy { namespace distance { namespace services
- {
- template <typename Strategy> struct tag
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Strategy.",
- Strategy);
- };
- template <typename Strategy, typename P1, typename P2>
- struct return_type
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Strategy.",
- Strategy, P1, P2);
- };
- template <typename Strategy> struct comparable_type
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Strategy.",
- Strategy);
- };
- template <typename Strategy> struct get_comparable
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Strategy.",
- Strategy);
- };
- template <typename Strategy, typename P1, typename P2>
- struct result_from_distance
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Strategy.",
- Strategy, P1, P2);
- };
- template
- <
- typename GeometryTag1,
- typename GeometryTag2,
- typename Point1,
- typename Point2 = Point1,
- typename CsTag1 = typename cs_tag<Point1>::type,
- typename CsTag2 = typename cs_tag<Point2>::type,
- typename UnderlyingStrategy = void
- >
- struct default_strategy
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for this Point type combination.",
- Point1, Point2, CsTag1, CsTag2);
- };
- }}}
- }}
- #endif
|