Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60592 - in sandbox/geometry/boost/geometry: algorithms multi/algorithms strategies/transform
From: barend.gehrels_at_[hidden]
Date: 2010-03-14 18:22:40


Author: barendgehrels
Date: 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
New Revision: 60592
URL: http://svn.boost.org/trac/boost/changeset/60592

Log:
Small changes in layout
Text files modified:
   sandbox/geometry/boost/geometry/algorithms/clear.hpp | 2 +-
   sandbox/geometry/boost/geometry/algorithms/reverse.hpp | 2 --
   sandbox/geometry/boost/geometry/multi/algorithms/distance.hpp | 6 ++++--
   sandbox/geometry/boost/geometry/strategies/transform/inverse_transformer.hpp | 12 +++++++-----
   sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp | 7 +++++--
   5 files changed, 17 insertions(+), 12 deletions(-)

Modified: sandbox/geometry/boost/geometry/algorithms/clear.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/clear.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/clear.hpp 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
@@ -55,7 +55,7 @@
 template <typename Geometry>
 struct no_action
 {
- static inline void apply(Geometry& geometry)
+ static inline void apply(Geometry& )
     {
     }
 };

Modified: sandbox/geometry/boost/geometry/algorithms/reverse.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/reverse.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/reverse.hpp 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
@@ -73,12 +73,10 @@
 };
 
 
-
 }} // namespace detail::reverse
 #endif // DOXYGEN_NO_DETAIL
 
 
-
 #ifndef DOXYGEN_NO_DISPATCH
 namespace dispatch
 {

Modified: sandbox/geometry/boost/geometry/multi/algorithms/distance.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/multi/algorithms/distance.hpp (original)
+++ sandbox/geometry/boost/geometry/multi/algorithms/distance.hpp 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
@@ -23,10 +23,12 @@
 #include <boost/geometry/util/select_coordinate_type.hpp>
 
 
-namespace boost { namespace geometry {
+namespace boost { namespace geometry
+{
 
 #ifndef DOXYGEN_NO_DETAIL
-namespace detail { namespace distance {
+namespace detail { namespace distance
+{
 
 
 template<typename Geometry, typename MultiGeometry, typename Strategy>

Modified: sandbox/geometry/boost/geometry/strategies/transform/inverse_transformer.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/transform/inverse_transformer.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/transform/inverse_transformer.hpp 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
@@ -18,10 +18,12 @@
 
 #include <boost/geometry/strategies/transform/matrix_transformers.hpp>
 
+
 namespace boost { namespace geometry
 {
 
-namespace strategy { namespace transform {
+namespace strategy { namespace transform
+{
 
 /*!
     \brief Transformation strategy to do an inverse ransformation in Cartesian system
@@ -35,10 +37,11 @@
 {
     typedef typename select_coordinate_type<P1, P2>::type T;
 
- template <typename MatrixType>
- inline inverse_transformer(const MatrixType& input)
+ template <typename Transformer>
+ inline inverse_transformer(Transformer const& input)
     {
- typedef boost::numeric::ublas::matrix<double> matrix_type;
+ typedef boost::numeric::ublas::matrix<T> matrix_type;
+
         // create a working copy of the input
         matrix_type copy(input.matrix());
 
@@ -58,7 +61,6 @@
         }
     }
 
-
 };
 
 

Modified: sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/transform/matrix_transformers.hpp 2010-03-14 18:22:39 EDT (Sun, 14 Mar 2010)
@@ -24,9 +24,12 @@
 #include <boost/geometry/util/select_coordinate_type.hpp>
 #include <boost/geometry/util/select_most_precise.hpp>
 
-namespace boost { namespace geometry {
 
-namespace strategy { namespace transform {
+namespace boost { namespace geometry
+{
+
+namespace strategy { namespace transform
+{
 
 /*!
     \brief Affine transformation strategy in Cartesian system.


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