mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 23:22:10 +00:00
076d1077c5ecb0fd3fc482fee4599fb9e2db42d0
Do not use the ratios when checking the relation of endpoints and the other segment. The ratios depend on segment lengths and if one of the segments was a lot longer than the other one the direction and intersection results were inconsistent. E.g. the endpoints of one segment was detected inside/outside the longer segment and in the same time (using different check) both endpoints was detected equal to one of the endpoints of the longer segment. Then depending on the order of the segments 2 intersection points were generated or 1 which could cause an assertion failure in turn handler.
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
More information
Description
Languages
C++
99.7%
CMake
0.3%
