mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-19 14:32:10 +00:00
80c706df39ca5d7e1c218b4132c39e55e88a88ba
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;
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 | ![]() |
![]() |
![]() |
| develop | ![]() |
![]() |
![]() |
More information
Description
Languages
C++
99.7%
CMake
0.3%







