Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66787 - sandbox/geometry/libs/geometry/example
From: barend.gehrels_at_[hidden]
Date: 2010-11-27 10:03:52


Author: barendgehrels
Date: 2010-11-27 10:03:50 EST (Sat, 27 Nov 2010)
New Revision: 66787
URL: http://svn.boost.org/trac/boost/changeset/66787

Log:
Fixed two examples
Text files modified:
   sandbox/geometry/libs/geometry/example/c05_custom_point_pointer_example.cpp | 2 +-
   sandbox/geometry/libs/geometry/example/c08_custom_non_std_example.cpp | 2 ++
   sandbox/geometry/libs/geometry/example/custom_examples.sln | 6 ------
   3 files changed, 3 insertions(+), 7 deletions(-)

Modified: sandbox/geometry/libs/geometry/example/c05_custom_point_pointer_example.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/example/c05_custom_point_pointer_example.cpp (original)
+++ sandbox/geometry/libs/geometry/example/c05_custom_point_pointer_example.cpp 2010-11-27 10:03:50 EST (Sat, 27 Nov 2010)
@@ -95,7 +95,7 @@
     // This works because outputs to a normal struct point, no point*
     std::vector<boost::geometry::linestring_2d> clipped;
     boost::geometry::strategy::intersection::liang_barsky<boost::geometry::box_2d, boost::geometry::point_2d> strategy;
- boost::geometry::detail::intersection::clip_linestring_with_box<boost::geometry::linestring_2d>(cb,
+ boost::geometry::detail::intersection::clip_range_with_box<boost::geometry::linestring_2d>(cb,
                     myline, std::back_inserter(clipped), strategy);
 
 

Modified: sandbox/geometry/libs/geometry/example/c08_custom_non_std_example.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/example/c08_custom_non_std_example.cpp (original)
+++ sandbox/geometry/libs/geometry/example/c08_custom_non_std_example.cpp 2010-11-27 10:03:50 EST (Sat, 27 Nov 2010)
@@ -59,6 +59,8 @@
         int point_count() const { return points.size(); }
         void erase_all() { points.clear(); }
 
+ // TEMPORARY:
+ inline void resize(int n) { points.resize(n); }
 
         // Note: it IS possible to have different method names;
         // however, there should (probably) be two different

Modified: sandbox/geometry/libs/geometry/example/custom_examples.sln
==============================================================================
--- sandbox/geometry/libs/geometry/example/custom_examples.sln (original)
+++ sandbox/geometry/libs/geometry/example/custom_examples.sln 2010-11-27 10:03:50 EST (Sat, 27 Nov 2010)
@@ -18,8 +18,6 @@
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c08_custom_non_std_example", "c08_custom_non_std_example.vcproj", "{C215F131-F021-4155-A96E-BB2D91918A17}"
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c09_custom_fusion_example", "c09_custom_fusion_example.vcproj", "{DA36AD55-E448-43DE-A974-EA765AE3967A}"
-EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c10_custom_cs_example", "c10_custom_cs_example.vcproj", "{E16737C9-E1F7-450E-9251-B35840FE69B5}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "c11_custom_cs_transform_example", "c11_custom_cs_transform_example.vcproj", "{E73E52EC-9BDC-4777-ABB2-DB14FAF27AA5}"
@@ -66,10 +64,6 @@
                 {C215F131-F021-4155-A96E-BB2D91918A17}.Debug|Win32.Build.0 = Debug|Win32
                 {C215F131-F021-4155-A96E-BB2D91918A17}.Release|Win32.ActiveCfg = Release|Win32
                 {C215F131-F021-4155-A96E-BB2D91918A17}.Release|Win32.Build.0 = Release|Win32
- {DA36AD55-E448-43DE-A974-EA765AE3967A}.Debug|Win32.ActiveCfg = Debug|Win32
- {DA36AD55-E448-43DE-A974-EA765AE3967A}.Debug|Win32.Build.0 = Debug|Win32
- {DA36AD55-E448-43DE-A974-EA765AE3967A}.Release|Win32.ActiveCfg = Release|Win32
- {DA36AD55-E448-43DE-A974-EA765AE3967A}.Release|Win32.Build.0 = Release|Win32
                 {E16737C9-E1F7-450E-9251-B35840FE69B5}.Debug|Win32.ActiveCfg = Debug|Win32
                 {E16737C9-E1F7-450E-9251-B35840FE69B5}.Debug|Win32.Build.0 = Debug|Win32
                 {E16737C9-E1F7-450E-9251-B35840FE69B5}.Release|Win32.ActiveCfg = Release|Win32


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