123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- #ifndef BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
- #define BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
- #include <boost/geometry/core/cs.hpp>
- #include <boost/geometry/core/point_type.hpp>
- #include <boost/geometry/core/static_assert.hpp>
- #include <boost/geometry/core/tag.hpp>
- #include <boost/geometry/core/tags.hpp>
- #include <boost/geometry/core/tag_cast.hpp>
- namespace boost { namespace geometry
- {
- namespace strategy { namespace within
- {
- namespace services
- {
- template
- <
- typename GeometryContained,
- typename GeometryContaining,
- typename TagContained = typename tag<GeometryContained>::type,
- typename TagContaining = typename tag<GeometryContaining>::type,
- typename CastedTagContained = typename tag_cast
- <
- typename tag<GeometryContained>::type,
- pointlike_tag, linear_tag, polygonal_tag, areal_tag
- >::type,
- typename CastedTagContaining = typename tag_cast
- <
- typename tag<GeometryContaining>::type,
- pointlike_tag, linear_tag, polygonal_tag, areal_tag
- >::type,
- typename CsTagContained = typename tag_cast
- <
- typename cs_tag<typename point_type<GeometryContained>::type>::type,
- spherical_tag
- >::type,
- typename CsTagContaining = typename tag_cast
- <
- typename cs_tag<typename point_type<GeometryContaining>::type>::type,
- spherical_tag
- >::type
- >
- struct default_strategy
- {
- BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
- "Not implemented for these types.",
- GeometryContained, GeometryContaining);
- };
- }
- }}
- }}
- #endif
|