Re: [Boost-bugs] [Boost C++ Libraries] #9988: boost::geometry::intersection returns opposite of intersection

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9988: boost::geometry::intersection returns opposite of intersection
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-06 12:43:04


#9988: boost::geometry::intersection returns opposite of intersection
-------------------------------+---------------------------
  Reporter: ajoseph4@… | Owner: barendgehrels
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords: intersection
-------------------------------+---------------------------
Changes (by barendgehrels):

 * status: new => closed
 * resolution: => invalid

Comment:

 Hi, thanks for your report.

 One of your geometries is counter clockwise. Please use
 boost::geometry::correct in that case. If done, the intersection is OK.
 Producing the difference with a counter clockwise polygon is intentional -
 it considers all of the outside as the polygon, and makes an intersection
 with that all-of-the-outside with the polygon. This is the difference.

 I resolve it as "invalid"

 Regards, Barend

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9988#comment:2>
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:16 UTC