1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
5 // Use, modification and distribution is subject to the Boost Software License,
6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_OVERLAY_TYPE_HPP
10 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_OVERLAY_TYPE_HPP
14 namespace boost { namespace geometry
17 // TODO: move to detail
27 #ifndef DOXYGEN_NO_DETAIL
28 namespace detail { namespace overlay
35 operation_intersection,
42 template <overlay_type OverlayType>
43 struct operation_from_overlay
45 static const operation_type value = operation_union;
49 struct operation_from_overlay<overlay_intersection>
51 static const operation_type value = operation_intersection;
55 struct operation_from_overlay<overlay_difference>
57 static const operation_type value = operation_intersection;
60 }} // namespace detail::overlay
61 #endif //DOXYGEN_NO_DETAIL
64 }} // namespace boost::geometry
67 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_OVERLAY_TYPE_HPP