mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-13 12:32:09 +00:00
[geometry] updates some flaws (w.r.t. headerfiles, comments) for buffer/offset
[SVN r79642]
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OCCUPATION_INFO_HPP
|
||||
|
||||
#if ! defined(NDEBUG)
|
||||
#define BOOST_GEOMETRY_DEBUG_BUFFER_OCCUPATION
|
||||
// #define BOOST_GEOMETRY_DEBUG_BUFFER_OCCUPATION
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <boost/geometry/algorithms/covered_by.hpp>
|
||||
#include <boost/geometry/extensions/strategies/buffer_side.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp>
|
||||
#include <boost/geometry/algorithms/detail/overlay/calculate_distance_policy.hpp>
|
||||
#include <boost/geometry/algorithms/detail/overlay/turn_info.hpp>
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ struct get_ring<detail::buffer::buffered_ring_collection_tag>
|
||||
BOOST_ASSERT
|
||||
(
|
||||
id.multi_index >= 0
|
||||
&& id.multi_index < boost::size(multi_ring)
|
||||
&& id.multi_index < int(boost::size(multi_ring))
|
||||
);
|
||||
return get_ring<ring_tag>::apply(id, multi_ring[id.multi_index]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user