1 // Boost.Geometry (aka GGL, Generic Geometry Library) 2 3 // Copyright (c) 2007-2016 Barend Gehrels, Amsterdam, the Netherlands. 4 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) 8 9 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_CLUSTER_INFO_HPP 10 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_CLUSTER_INFO_HPP 11 12 13 #include <set> 14 #include <boost/geometry/algorithms/detail/signed_size_type.hpp> 15 16 17 namespace boost { namespace geometry 18 { 19 20 #ifndef DOXYGEN_NO_DETAIL 21 namespace detail { namespace overlay 22 { 23 24 25 struct cluster_info 26 { 27 std::set<signed_size_type> turn_indices; 28 29 //! Number of open spaces (e.g. 2 for touch) 30 std::size_t open_count; 31 cluster_infoboost::geometry::detail::overlay::cluster_info32 inline cluster_info() 33 : open_count(0) 34 {} 35 }; 36 37 38 }} // namespace detail::overlay 39 #endif //DOXYGEN_NO_DETAIL 40 41 42 }} // namespace boost::geometry 43 44 45 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_CLUSTER_INFO_HPP 46 47