Adam Wulkiewicz
eec0091bc0
[get_turns][strategies] Optimize get_turns().
...
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
2015-07-03 21:38:43 +02:00
Adam Wulkiewicz
2fe55e07dd
[test][difference] Add failing case.
2015-07-02 12:03:29 +02:00
Adam Wulkiewicz
18607a9b38
[test][is_valid] Add failing case.
2015-07-02 12:03:10 +02:00
Adam Wulkiewicz
2e43017894
[math][policies] Rename round to rounding_cast and remove the use of boost::math::round() for performance reasons.
2015-07-02 12:02:12 +02:00
Barend Gehrels
b4c598e732
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2015-07-01 14:03:06 +02:00
Barend Gehrels
b1f208d29c
[test] buffer, update expectations and tolerances
...
(after changing rounding/rescaling)
2015-07-01 14:02:30 +02:00
barendgehrels
a737721bed
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-07-01 12:39:41 +02:00
barendgehrels
4ab0cdc442
[doc] update buffer doc
2015-07-01 12:39:15 +02:00
Adam Wulkiewicz
18ff29297e
[index] Add a comment about the Box initialization in pack_create.
2015-07-01 02:55:14 +02:00
Adam Wulkiewicz
b258281b42
Merge pull request #312 from black-tomato/patch-1
...
Without boost::geometry:: compiler try to use distance defined in my …
2015-06-29 14:26:03 +02:00
black-tomato
8be10f33a3
Without boost::geometry:: compiler try to use distance defined in my custom point class.
...
Microsoft Visual Studio 2008
2015-06-29 12:26:16 +03:00
barendgehrels
63359548bd
[doc] update release notes
2015-06-28 12:29:12 +02:00
barendgehrels
dd347254d1
[test] remove conditional from spike30 (round) because output is OK
2015-06-27 12:31:28 +02:00
barendgehrels
4025867a85
[test] pending changes/fixes in SVG generation
2015-06-27 12:30:56 +02:00
barendgehrels
2357569dac
[test] fix removed method
2015-06-27 12:16:00 +02:00
barendgehrels
c3f1eb9b06
[test] remove two conditionals because these cases now also succeed,
...
either after selecting IP differently, or after rescale/rounding (or both)
2015-06-27 12:12:21 +02:00
barendgehrels
ea940461d9
[test] move SVG creation upwards to avoid invalid SVG if buffered result is empty
2015-06-27 12:04:54 +02:00
barendgehrels
606cb236af
[buffer][test] update expected values after change to rounding in rescaling,
...
and increased the tolerance.
Largest difference was 1.3e-05% (it100 deflate, 9087m2) and results are checked visually
2015-06-27 12:04:10 +02:00
barendgehrels
f77f0652b1
[buffer] update expected values and tolerance for mikado3 case
2015-06-27 11:44:12 +02:00
Adam Wulkiewicz
3db50a42ec
[intersection][test] Alter the expected result one case.
...
With MSVC and MinGW the results are quite different so pick a value
between the ones calculated with those two compilers.
2015-06-25 20:18:25 +02:00
Adam Wulkiewicz
5fa509783d
[buffer][test] Alter the expected result and tolerance for one MLs case.
...
Increase the tolerance two times. With MSVC and MinGW the results are so
different that the currently used tolerance is too small.
2015-06-25 18:51:33 +02:00
Adam Wulkiewicz
5c03dd10d6
[union] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:29:56 +02:00
Adam Wulkiewicz
f1d39a4385
[intersection] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:29:40 +02:00
Adam Wulkiewicz
dddc0bb055
[difference] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:29:24 +02:00
Adam Wulkiewicz
c372b628d1
[overlay] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:28:57 +02:00
Adam Wulkiewicz
7f91c4a527
[buffer] Update expected test results, syncronize with the change in rescale policy (rounding).
2015-06-25 17:28:38 +02:00
Adam Wulkiewicz
c691425d6a
[is_valid] Update the test according to the change of rescale_policy.
...
The consistent results for MPoly and Poly contained in it.
2015-06-24 22:53:33 +02:00
Adam Wulkiewicz
6d0be4db61
[policies] Round to the nearest integral value during rescaling.
2015-06-24 22:50:50 +02:00
barendgehrels
d40bed9381
[buffer] change testvalues and tolerance in mikado with large distance
...
cases to support for all occuring variants on various platforms (can differ
up to 53 square meter so an average is selected and 30 meter tolerance)
2015-06-24 17:09:02 +02:00
Barend Gehrels
90aaa664c4
[test] add commented section to conveniently create a csv from testresults
2015-06-24 16:29:18 +02:00
Barend Gehrels
688ea21d42
[buffer] fix countries buffer test after change to select IP closest to
...
endpoint or else IP using shortest segment. New values are close to old
values, checked visually and the same for MSVC/gcc/clang
2015-06-24 16:28:51 +02:00
Barend Gehrels
15b14b5d7d
[buffer][test] higher tolerance for mikado cases
2015-06-24 13:18:22 +02:00
Barend Gehrels
9914d7a116
[buffer][test] replace -999 with constant
2015-06-24 13:17:52 +02:00
barendgehrels
181c17be5c
[buffer] fix testcase for county1 which had empty output (but expected area)
2015-06-24 12:18:16 +02:00
barendgehrels
b5756e9e08
[buffer] test: don't use assign_inverse but assign just coordinates to avoid
...
infinite ranges. Check for emptyness as expected
2015-06-24 11:51:06 +02:00
barendgehrels
16aac54944
[robustness] check for infinite numbers in calculating the factor, and
...
only assert when really assigned
2015-06-24 11:45:41 +02:00
barendgehrels
fbe3cb1c83
[buffer] unit test: don't calculate rescale policy on empty output to
...
avoid empty or invalid boxes and possible assertions
2015-06-24 11:06:23 +02:00
Adam Wulkiewicz
dd0e360146
[io][wkt] Optimize the usage of end tokenizer::iterator.
...
Create and return the end iterator in initialize() function the same way how
iterator `it` is, by output function argument passed by reference. Reuse it
inside this function.
In ..._parser::apply() functions reuse the end iterator, do not create it
each time it is needed.
Consistently pass the end iterator by const reference.
2015-06-22 22:58:05 +02:00
Adam Wulkiewicz
7910be94fd
[relate] Add assertion and remove unneeded condition.
2015-06-22 22:33:07 +02:00
Adam Wulkiewicz
6a04e80f1a
[geometry][ci] Propagate failing test result status from loop running tests.
2015-06-22 18:59:50 +02:00
Menelaos Karavelas
95c13605f9
[test][algorithms][sym_difference][L/L] increase the torelance from EPS to 4*EPS for a failing test case
2015-06-22 15:18:13 +03:00
Menelaos Karavelas
6cc42c5dc5
[test][algorithms][difference][L/L] increase the precision tolerance from EPS to 4*EPS for two test cases
2015-06-22 15:14:38 +03:00
Menelaos Karavelas
a0ca615051
Merge pull request #311 from mkaravel/fix/distance_point_box_cross_track_strategy
...
Fix cross_track_point_box distance strategy
2015-06-22 00:13:11 +03:00
barendgehrels
283f0a2853
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-06-21 22:59:27 +02:00
barendgehrels
88be2948f3
Three minor various details
2015-06-21 22:55:09 +02:00
barendgehrels
97c368cdf2
Buffer unit test - small rewrite of access to folder location
2015-06-21 22:54:32 +02:00
barendgehrels
6926c270b3
Adapt difference/intersection unit tests to change in IP calculation
2015-06-21 22:53:25 +02:00
barendgehrels
603a2a7c12
Adapt buffer unit tests to change in IP calculation
2015-06-21 22:52:17 +02:00
barendgehrels
ed103f777e
intersection calculation: fix behaviour in rare cases where IP is taken from segment
...
A but segment B is much shorter, and IP is also at end-point of segment B.
The arbitrary decision (robust_ra < robust_rb) is changed into another
decision, based on closeness to end-points and on segment length, which leads
to more precise results
2015-06-21 22:50:40 +02:00
Adam Wulkiewicz
9804911dd1
[geometry][ci] Improve the CircleCI script.
...
- define the tests as a list stored in the environment variable
- when moving the coverage results keep picking test names until
a unique name is found.
- after the info files from different containers are gathered
automatically merge all of them into one.
- improve/add comments
2015-06-20 18:48:10 +02:00