|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70118 - trunk/libs/geometry/example
From: barend.gehrels_at_[hidden]
Date: 2011-03-18 08:08:25
Author: barendgehrels
Date: 2011-03-18 08:08:12 EDT (Fri, 18 Mar 2011)
New Revision: 70118
URL: http://svn.boost.org/trac/boost/changeset/70118
Log:
Fixes in sample c06
Text files modified:
trunk/libs/geometry/example/c06_custom_polygon_example.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/geometry/example/c06_custom_polygon_example.cpp
==============================================================================
--- trunk/libs/geometry/example/c06_custom_polygon_example.cpp (original)
+++ trunk/libs/geometry/example/c06_custom_polygon_example.cpp 2011-03-18 08:08:12 EDT (Fri, 18 Mar 2011)
@@ -110,20 +110,20 @@
// Fill it the my-way, triangle
p1.boundary.push_back(my_point(2, 0));
p1.boundary.push_back(my_point(1, 5));
- p1.boundary.push_back(my_point(5, 5));
+ p1.boundary.push_back(my_point(7, 6));
p1.boundary.push_back(my_point(2, 0));
// Triangle
p1.holes[0].push_back(my_point(2, 1));
- p1.holes[0].push_back(my_point(1.9, 2));
p1.holes[0].push_back(my_point(2.4, 2));
+ p1.holes[0].push_back(my_point(1.9, 2));
p1.holes[0].push_back(my_point(2, 1));
// Box
p1.holes[1].push_back(my_point(3, 3));
- p1.holes[1].push_back(my_point(3, 4));
- p1.holes[1].push_back(my_point(4, 4));
p1.holes[1].push_back(my_point(4, 3));
+ p1.holes[1].push_back(my_point(4, 4));
+ p1.holes[1].push_back(my_point(3, 4));
p1.holes[1].push_back(my_point(3, 3));
std::cout << "Representation of " << p1.name << ": "
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