Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71211 - in trunk/libs/geometry/doc/src/examples: algorithms geometries/register
From: barend.gehrels_at_[hidden]
Date: 2011-04-12 14:44:45


Author: barendgehrels
Date: 2011-04-12 14:44:44 EDT (Tue, 12 Apr 2011)
New Revision: 71211
URL: http://svn.boost.org/trac/boost/changeset/71211

Log:
Updates for assign->assign_values
Text files modified:
   trunk/libs/geometry/doc/src/examples/algorithms/assign_box_corners.cpp | 2 +-
   trunk/libs/geometry/doc/src/examples/algorithms/equals.cpp | 2 +-
   trunk/libs/geometry/doc/src/examples/geometries/register/point.cpp | 4 ++--
   3 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/geometry/doc/src/examples/algorithms/assign_box_corners.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/assign_box_corners.cpp (original)
+++ trunk/libs/geometry/doc/src/examples/algorithms/assign_box_corners.cpp 2011-04-12 14:44:44 EDT (Tue, 12 Apr 2011)
@@ -23,7 +23,7 @@
     typedef model::box<point> box;
 
     box b;
- assign(b, 2, 2, 5, 5);
+ assign_values(b, 2, 2, 5, 5);
 
     point ll, lr, ul, ur;
     assign_box_corners(b, ll, lr, ul, ur);

Modified: trunk/libs/geometry/doc/src/examples/algorithms/equals.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/equals.cpp (original)
+++ trunk/libs/geometry/doc/src/examples/algorithms/equals.cpp 2011-04-12 14:44:44 EDT (Tue, 12 Apr 2011)
@@ -34,7 +34,7 @@
         << std::endl;
     
     boost::geometry::model::box<point> box;
- boost::geometry::assign(box, 0, 0, 5, 5);
+ boost::geometry::assign_values(box, 0, 0, 5, 5);
     
     std::cout
         << "polygon and box are spatially "

Modified: trunk/libs/geometry/doc/src/examples/geometries/register/point.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/geometries/register/point.cpp (original)
+++ trunk/libs/geometry/doc/src/examples/geometries/register/point.cpp 2011-04-12 14:44:44 EDT (Tue, 12 Apr 2011)
@@ -29,8 +29,8 @@
     namespace bg = boost::geometry;
 
     /*< Any Boost.Geometry function can be used for legacy point now. Here: assign and distance >*/
- bg::assign(p1, 1, 1);
- bg::assign(p2, 2, 2);
+ bg::assign_values(p1, 1, 1);
+ bg::assign_values(p2, 2, 2);
 
     double d = bg::distance(p1, p2);
 


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