Updates for assign->assign_values

[SVN r71211]
This commit is contained in:
Barend Gehrels 2011-04-12 18:44:44 +00:00
parent 3cf4b0e1fe
commit 7edfdba5dc
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ int main()
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);

View File

@ -34,7 +34,7 @@ int main()
<< 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 "

View File

@ -29,8 +29,8 @@ int main()
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);