Menelaos Karavelas 6e4ea5f23f [algorithms][turns] fix problem with less functor for turns;
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;
2015-07-24 10:27:04 +03: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%