mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-02 08:52:10 +00:00
eec0091bc0519734e18dea9f998eee227bea94f0
The optimization is based on the fact that in the most cases the segments handled in the TurnInfoPolicy are disjoint. For disjoint segments first the points are rescaled, then the test for disjoint is run, next the TurnInfoPolicy just returns and the next pair of segments is handled. Therefore to optimze the get_turns() this commit changes two things: 1. the cart_intersect strategy may return just after the calculation of sides for the first segment (2 sides calculation instead of 4), 2. the points are rescaled only one time in the intersection_helper, already rescaled points are passed into the intersection strategy
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%







