Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62173 - in sandbox/geometry: boost/geometry/algorithms libs/geometry
From: barend.gehrels_at_[hidden]
Date: 2010-05-24 10:01:10


Author: barendgehrels
Date: 2010-05-24 10:01:10 EDT (Mon, 24 May 2010)
New Revision: 62173
URL: http://svn.boost.org/trac/boost/changeset/62173

Log:
Jamfile update
Fixed perimeter for non-closed rings
Text files modified:
   sandbox/geometry/boost/geometry/algorithms/perimeter.hpp | 4 ++--
   sandbox/geometry/libs/geometry/Jamroot | 6 ++----
   2 files changed, 4 insertions(+), 6 deletions(-)

Modified: sandbox/geometry/boost/geometry/algorithms/perimeter.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/perimeter.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/perimeter.hpp 2010-05-24 10:01:10 EDT (Mon, 24 May 2010)
@@ -48,7 +48,7 @@
 template <typename Geometry, typename Strategy>
 struct perimeter<ring_tag, Geometry, Strategy>
     : detail::length::range_length<Geometry, Strategy,
- closure<Geometry>::value == closed>
+ closure<Geometry>::value == open>
 {};
 
 template <typename Polygon, typename Strategy>
@@ -62,7 +62,7 @@
                 <
                     typename ring_type<Polygon>::type,
                     Strategy,
- closure<Polygon>::value == closed
+ closure<Polygon>::value == open
>
>
 {};

Modified: sandbox/geometry/libs/geometry/Jamroot
==============================================================================
--- sandbox/geometry/libs/geometry/Jamroot (original)
+++ sandbox/geometry/libs/geometry/Jamroot 2010-05-24 10:01:10 EDT (Mon, 24 May 2010)
@@ -10,9 +10,7 @@
 
 project
     : requirements
- <toolset>msvc
- <define>_SCL_SECURE_NO_DEPRECATE # For Ublas
- <toolset>gcc:<cxxflags>"-pedantic -Wall -Wstrict-aliasing -fstrict-aliasing -Wno-long-long"
         <include>../..
- <dependency>/boost//headers
+ <toolset>gcc:<cxxflags>"-pedantic -Wall -Wstrict-aliasing -fstrict-aliasing -Wno-long-long"
+ <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE # For Ublas
     ;


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