Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63558 - in sandbox/geometry/boost/geometry: algorithms/detail/overlay util
From: barend.gehrels_at_[hidden]
Date: 2010-07-03 15:56:30


Author: barendgehrels
Date: 2010-07-03 15:56:28 EDT (Sat, 03 Jul 2010)
New Revision: 63558
URL: http://svn.boost.org/trac/boost/changeset/63558

Log:
Minor cosmetic changes
Text files modified:
   sandbox/geometry/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp | 4 ----
   sandbox/geometry/boost/geometry/util/add_const_if_c.hpp | 2 +-
   sandbox/geometry/boost/geometry/util/math.hpp | 4 ++--
   sandbox/geometry/boost/geometry/util/select_calculation_type.hpp | 4 ++--
   4 files changed, 5 insertions(+), 9 deletions(-)

Modified: sandbox/geometry/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp 2010-07-03 15:56:28 EDT (Sat, 03 Jul 2010)
@@ -15,11 +15,7 @@
 #include <boost/geometry/core/ring_type.hpp>
 #include <boost/geometry/core/exterior_ring.hpp>
 #include <boost/geometry/core/interior_rings.hpp>
-
 #include <boost/geometry/geometries/concepts/check.hpp>
-
-#include <boost/geometry/iterators/ever_circling_iterator.hpp>
-
 #include <boost/geometry/iterators/range_type.hpp>
 
 

Modified: sandbox/geometry/boost/geometry/util/add_const_if_c.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/util/add_const_if_c.hpp (original)
+++ sandbox/geometry/boost/geometry/util/add_const_if_c.hpp 2010-07-03 15:56:28 EDT (Sat, 03 Jul 2010)
@@ -37,7 +37,7 @@
     typedef typename boost::mpl::if_c
         <
             IsConst,
- const Type,
+ Type const,
             Type
>::type type;
 };

Modified: sandbox/geometry/boost/geometry/util/math.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/util/math.hpp (original)
+++ sandbox/geometry/boost/geometry/util/math.hpp 2010-07-03 15:56:28 EDT (Sat, 03 Jul 2010)
@@ -108,8 +108,8 @@
 template <typename T>
 inline T hav(T const& theta)
 {
- using boost::math::constants::half;
- T const sn = std::sin(half<T>() * theta);
+ T const half = T(0.5);
+ T const sn = sin(half * theta);
     return sn * sn;
 }
 

Modified: sandbox/geometry/boost/geometry/util/select_calculation_type.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/util/select_calculation_type.hpp (original)
+++ sandbox/geometry/boost/geometry/util/select_calculation_type.hpp 2010-07-03 15:56:28 EDT (Sat, 03 Jul 2010)
@@ -32,9 +32,9 @@
 struct select_calculation_type
 {
     typedef typename
- boost::mpl::if_c
+ boost::mpl::if_
         <
- boost::is_void<CalculationType>::type::value,
+ boost::is_void<CalculationType>,
             typename select_coordinate_type
                 <
                     Geometry1,


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