[Boost-bugs] [Boost C++ Libraries] #10887: Error in within() (and relate()) for Linear/MultiPolygon

Subject: [Boost-bugs] [Boost C++ Libraries] #10887: Error in within() (and relate()) for Linear/MultiPolygon
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-19 13:41:20


#10887: Error in within() (and relate()) for Linear/MultiPolygon
-------------------------------------------------+-------------------------
 Reporter: awulkiew | Owner: awulkiew
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: within, relate, linestring, |
  multi_polygon |
-------------------------------------------------+-------------------------
 The following relation operations returns wrong result:

 {{{
 // In all cases below the within() should return true

 within("LINESTRING(5 -2,5 2)",
        "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")
 within("LINESTRING(5 -2,5 5)",
        "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")
 within("LINESTRING(5 -2,5 0)",
        "MULTIPOLYGON(((5 0,0 5,10 5,5 0)),((5 0,10 -5,0 -5,5 0)))")
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10887>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC