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

Subject: [Boost-bugs] [Boost C++ Libraries] #11710: is_simple - empty geometry logic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-05 21:25:07


#11710: is_simple - empty geometry logic
------------------------------+---------------------------
 Reporter: anonymous | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 The logic around dealing with empty datasets and is_simple seems a little
 confusing:

 An empty line - seg fault (see
 https://svn.boost.org/trac/boost/ticket/11709)
 An empty multi line - returns false
 An empty polygon - returns true
 An empty multi polygon - returns false

 Should a multi polygon or linestring that is empty be considered simple. I
 would think it would as it would not have any anomalous geometric points,
 such as self intersection or self tangency.

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