mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-02 08:52:10 +00:00
6e4ea5f23f35d032305edc1e336d49c4fdc9a13e
In the previous implementation the fractions of the two turns where compared first using operator< and then tested for equality using math::equals; the consequence of this implementation is that it could be possible to have two turns t1 and t2 whose fractions satisfied both operator< and math::equals, which lead to the possibility of having both less(t1, t2) and less(t2, t1) true; this behavior for less is wrong and has produced failures on various compilers (especially when sorting); The solution is to rearrange the code in the less functor so that math::equals for the two fractions is checked first, that is before the operator< is called; this makes the outcomes of less(t1, t2) and less(t2, t1) always consistent with each other;
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%







