Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58915 - sandbox/gtl/boost/polygon/detail
From: lucanus.j.simonson_at_[hidden]
Date: 2010-01-11 19:54:12


Author: ljsimons
Date: 2010-01-11 19:54:11 EST (Mon, 11 Jan 2010)
New Revision: 58915
URL: http://svn.boost.org/trac/boost/changeset/58915

Log:
fix for bug in polygon hole fracturing
Text files modified:
   sandbox/gtl/boost/polygon/detail/polygon_arbitrary_formation.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/gtl/boost/polygon/detail/polygon_arbitrary_formation.hpp
==============================================================================
--- sandbox/gtl/boost/polygon/detail/polygon_arbitrary_formation.hpp (original)
+++ sandbox/gtl/boost/polygon/detail/polygon_arbitrary_formation.hpp 2010-01-11 19:54:11 EST (Mon, 11 Jan 2010)
@@ -1754,7 +1754,7 @@
           //std::cout << "checking whether ot handle hole\n";
           if(currentIter == inputEnd ||
              currentIter->pt.get(HORIZONTAL) != x_ ||
- on_above_or_below(currentIter->pt, half_edge(iter->first.pt, iter->first.other_pt)) == 1) {
+ on_above_or_below(currentIter->pt, half_edge(iter->first.pt, iter->first.other_pt)) != -1) {
             //(high_precision)(currentIter->pt.get(VERTICAL)) >= iter->first.evalAtX(x_)) {
 
             //std::cout << "handle hole here\n";


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