Menelaos Karavelas 80c706df39 [algorithms][is_simple] patch the is_simple algorithm to address Boost.trac tickets
11709 and 11710;

Ticket 11709 (is_simple segfault): modify the is_simple algorithm to check a linestring
for emptiness; if an empty linestring is discovered, return false; the actual return
value does not really matter as empty linestrings are considered as invalid, which means
that the behavior of is_simple for empty linestrings is undefined; on the other hand,
we do want to avoid segfaults, which is achieved with the patch; the same approach has
been applied to emtpy rings, and as a result to empty polygons;

Ticket 11710 (empty geometry logic): modify the behavior of the is_simple algorithm with
respect to empty multi-geometries; the old behavior was considering empty multi-geometries
as non-simple, whereas the current behavior is the opposite; this change has been made in
order to be consistent with the fact that empty multi-geometries are considered as valid;
2015-11-05 14:56:18 +02:00
2014-07-21 04:15:15 +02:00
2011-09-26 16:11:47 +00:00
2014-06-16 21:32:34 +02:00

#Boost.Geometry

Boost.Geometry, part of collection of the Boost C++ Libraries, defines concepts, primitives and algorithms for solving geometry problems.

Directories

  • doc - QuickBook documentation sources
  • examples - Boost.Geometry examples
  • extensions - examples and tests for the extensions - develop branch
  • include - the sourcecode of Boost.Geometry
  • index - examples and tests for the Spatial Index
  • test - Boost.Geometry unit tests

Test results

@ Build Coverage Regression
master status status geometry index
develop status status geometry index extensions

More information

Description
Mirrored via gitea-mirror
Readme 61 MiB
Languages
C++ 99.7%
CMake 0.3%