File indexing completed on 2026-08-21 08:45:50
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_GRAPH_IS_OPERATION_INCLUDED_HPP
0010 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_GRAPH_IS_OPERATION_INCLUDED_HPP
0011
0012 #include <boost/geometry/algorithms/detail/overlay/overlay_type.hpp>
0013 #include <boost/geometry/algorithms/detail/overlay/overlay_type.hpp>
0014
0015 namespace boost { namespace geometry
0016 {
0017
0018 #ifndef DOXYGEN_NO_DETAIL
0019 namespace detail { namespace overlay
0020 {
0021
0022 template <operation_type target_operation>
0023 struct is_operation_included {};
0024
0025 template <>
0026 struct is_operation_included<operation_intersection>
0027 {
0028 template <typename Operation>
0029 static bool apply(Operation const& op)
0030 {
0031 return op.enriched.count_right >= 2;
0032 }
0033 };
0034
0035 template <>
0036 struct is_operation_included<operation_union>
0037 {
0038 template <typename Operation>
0039 static bool apply(Operation const& op)
0040 {
0041 return op.enriched.count_left == 0;
0042 }
0043 };
0044
0045 }}
0046 #endif
0047
0048 }}
0049
0050 #endif