1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
8 // (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)
14 #ifndef BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
17 #include <boost/mpl/assert.hpp>
20 namespace boost { namespace geometry
23 namespace strategy { namespace within
31 \brief Traits class binding a within determination strategy to a coordinate system
33 \tparam TagContained tag (possibly casted) of point-type
34 \tparam TagContained tag (possibly casted) of (possibly) containing type
35 \tparam CsTagContained tag of coordinate system of point-type
36 \tparam CsTagContaining tag of coordinate system of (possibly) containing type
37 \tparam Geometry geometry-type of input (often point, or box)
38 \tparam GeometryContaining geometry-type of input (possibly) containing type
42 typename TagContained,
43 typename TagContaining,
44 typename CastedTagContained,
45 typename CastedTagContaining,
46 typename CsTagContained,
47 typename CsTagContaining,
48 typename GeometryContained,
49 typename GeometryContaining
51 struct default_strategy
55 false, NOT_IMPLEMENTED_FOR_THESE_TYPES
56 , (types<GeometryContained, GeometryContaining>)
61 } // namespace services
64 }} // namespace strategy::within
67 }} // namespace boost::geometry
70 #endif // BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP