Re: [Boost-bugs] [Boost C++ Libraries] #11710: is_simple - empty geometry logic

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11710: is_simple - empty geometry logic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-18 08:54:09


#11710: is_simple - empty geometry logic
-------------------------------+---------------------------
  Reporter: anonymous | Owner: barendgehrels
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.58.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+---------------------------
Changes (by mkaravel):

 * cc: mkaravel (added)
 * status: new => closed
 * resolution: => fixed

Comment:

 The ticket has been solved as part of GitHub PR 334:
 https://github.com/boostorg/geometry/pull/334

 Details:

 Empty lines and empty polygons as considered as invalid geometries. As
 such the result of is_simple is irrelevant. In the current fix (see PR
 above) is_simple returns false for both these geometries.

 On the contrary empty multi-geometries are considered as valid (in reality
 representing the empty geometry), and with this bug fix they are
 considered as simple as well.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11710#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:19 UTC