Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79642 - in trunk/boost/geometry: algorithms/detail extensions/algorithms/buffer
From: barend.gehrels_at_[hidden]
Date: 2012-07-21 14:20:37


Author: barendgehrels
Date: 2012-07-21 14:20:36 EDT (Sat, 21 Jul 2012)
New Revision: 79642
URL: http://svn.boost.org/trac/boost/changeset/79642

Log:
[geometry] updates some flaws (w.r.t. headerfiles, comments) for buffer/offset
Text files modified:
   trunk/boost/geometry/algorithms/detail/occupation_info.hpp | 2 +-
   trunk/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp | 1 +
   trunk/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp | 2 +-
   3 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/algorithms/detail/occupation_info.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/occupation_info.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/occupation_info.hpp 2012-07-21 14:20:36 EDT (Sat, 21 Jul 2012)
@@ -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>

Modified: trunk/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp 2012-07-21 14:20:36 EDT (Sat, 21 Jul 2012)
@@ -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>
 

Modified: trunk/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp 2012-07-21 14:20:36 EDT (Sat, 21 Jul 2012)
@@ -246,7 +246,7 @@
         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]);
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk