Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67402 - sandbox/geometry/boost/geometry/core
From: barend.gehrels_at_[hidden]
Date: 2010-12-21 17:45:43


Author: barendgehrels
Date: 2010-12-21 17:45:43 EST (Tue, 21 Dec 2010)
New Revision: 67402
URL: http://svn.boost.org/trac/boost/changeset/67402

Log:
Added multi/closure.hpp (adaptions for MPL_ASSERT) - all should be closed otherwise linestring is closed explicitly
Text files modified:
   sandbox/geometry/boost/geometry/core/closure.hpp | 11 +++--------
   1 files changed, 3 insertions(+), 8 deletions(-)

Modified: sandbox/geometry/boost/geometry/core/closure.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/core/closure.hpp (original)
+++ sandbox/geometry/boost/geometry/core/closure.hpp 2010-12-21 17:45:43 EST (Tue, 21 Dec 2010)
@@ -54,11 +54,6 @@
     static const closure_selector value = geometry::closed;
 };
 
-struct open
-{
- static const closure_selector value = geometry::open;
-};
-
 
 }} // namespace detail::point_order
 #endif // DOXYGEN_NO_DETAIL
@@ -80,16 +75,16 @@
 };
 
 template <typename Box>
-struct closure<point_tag, Box> : public core_detail::closure::open {};
+struct closure<point_tag, Box> : public core_detail::closure::closed {};
 
 template <typename Box>
 struct closure<box_tag, Box> : public core_detail::closure::closed {};
 
 template <typename Box>
-struct closure<segment_tag, Box> : public core_detail::closure::open {};
+struct closure<segment_tag, Box> : public core_detail::closure::closed {};
 
 template <typename LineString>
-struct closure<linestring_tag, LineString> : public core_detail::closure::open {};
+struct closure<linestring_tag, LineString> : public core_detail::closure::closed {};
 
 
 template <typename Ring>


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