123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_ENRICHMENT_INFO_HPP
- #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_ENRICHMENT_INFO_HPP
- #include <boost/geometry/algorithms/detail/signed_size_type.hpp>
- namespace boost { namespace geometry
- {
- #ifndef DOXYGEN_NO_DETAIL
- namespace detail { namespace overlay
- {
- template<typename Point>
- struct enrichment_info
- {
- inline enrichment_info()
- : travels_to_vertex_index(-1)
- , travels_to_ip_index(-1)
- , next_ip_index(-1)
- , startable(true)
- , prefer_start(true)
- , count_left(0)
- , count_right(0)
- , rank(-1)
- , zone(-1)
- , region_id(-1)
- , isolated(false)
- {}
- inline signed_size_type get_next_turn_index() const
- {
- return next_ip_index == -1 ? travels_to_ip_index : next_ip_index;
- }
-
-
-
- signed_size_type travels_to_vertex_index;
-
- signed_size_type travels_to_ip_index;
-
- signed_size_type next_ip_index;
- bool startable;
- bool prefer_start;
-
- std::size_t count_left;
- std::size_t count_right;
- signed_size_type rank;
- signed_size_type zone;
- signed_size_type region_id;
- bool isolated;
- };
- }}
- #endif
- }}
- #endif
|