Barend Gehrels
52e26ab6c1
[dissolve] minor, fix line length
2017-11-24 13:32:19 +01:00
Barend Gehrels
bf0ebd31c5
[dissolve][fix] use rescale policy to fix some cases defined as <float>
2017-11-24 13:31:59 +01:00
Barend Gehrels
93862fa638
[dissolve][test] add testcase which was already fixed by one of the
...
earlier fixes
2017-11-24 12:54:10 +01:00
Barend Gehrels
9c6040f4de
[dissolve][test] add comments to testcases, including a possible todo item
2017-11-24 12:31:17 +01:00
Barend Gehrels
13ee521b2f
[dissolve][test] add case #dissolve_mail_2017_10_26_c which is fixed by
...
making sure count_left/count_right are not used
2017-11-24 12:23:03 +01:00
Barend Gehrels
b65b212f99
[dissolve] make sure that for dissolve both startable and selection of
...
union operation does not make use of counts
2017-11-24 12:21:59 +01:00
Barend Gehrels
66112af890
[dissolve][test] add second testcase which is fixed already
...
(be it that it generates two points which might be removed)
2017-11-24 12:09:55 +01:00
Barend Gehrels
6b474e536a
[dissolve][test] add reported testcase which should generate a hole
2017-11-24 12:02:45 +01:00
Barend Gehrels
e474309feb
[dissolve] fix selecting the right turn for traveling to itself
...
This fixes the reported testcase #dissolve_mail_2017_10_26_a
2017-11-24 12:01:35 +01:00
Barend Gehrels
381e8e8414
Merge branch 'develop' into feature/dissolve
2017-11-24 09:19:26 +01:00
Glen Fernandes
1d0dfdb9ca
Use to_address free function instead of pointer_traits member
...
The free function was accepted and voted into C++20 (P0653R2).
2017-11-23 23:26:57 -05:00
Adam Wulkiewicz
ec4c17ad15
[extensions][test] Fix Boost inspect issues (tabs).
2017-11-24 01:18:59 +01:00
Adam Wulkiewicz
cdf766d175
[test] Fix Boost inspect issues (license, tabs, non-asci character, no-newline).
2017-11-24 01:18:26 +01:00
Barend Gehrels
48c58beb3e
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2017-11-23 23:36:38 +01:00
Barend Gehrels
a4f917628d
[test] mark certain cases as invalid. These cases fail on either MinGW
...
or on PowerPC platforms.
2017-11-23 23:36:16 +01:00
Adam Wulkiewicz
5e807b9028
[test][is_simple] Fix the order of coordinates in WKT in one geographic case.
2017-11-23 20:51:00 +01:00
Barend Gehrels
3307dc3b2b
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2017-11-23 17:26:52 +01:00
Barend Gehrels
97728e4896
Merge branch 'feature/intvalid' into develop
2017-11-23 17:26:26 +01:00
Barend Gehrels
49a4bbe6a1
[doc] add buffer-validity to release notes
2017-11-23 17:24:52 +01:00
Barend Gehrels
8bfd285086
[test] exclude one extra case still failing
2017-11-23 17:22:05 +01:00
Barend Gehrels
fc8cc479fa
[traverse] make select_source more generi
2017-11-23 17:15:48 +01:00
Barend Gehrels
751b05ddc1
[buffer] revert one change (should keep multi_index) and
...
update tests now that validity is improved (but not yet solved).
Also 2 testcases are added generating uu points
2017-11-23 17:03:41 +01:00
Barend Gehrels
88b9e041ed
[buffer] for uu-turns, use piece_index instead of multi_index because
...
a uu turn might be formed at the same source multi-index
2017-11-23 16:02:33 +01:00
Barend Gehrels
ec454bbce1
[buffer] add the necessary piece-information to operators and debug info
2017-11-23 16:01:49 +01:00
Barend Gehrels
1335aac14d
[buffer] remove exception for buffer, it is outdated and its omission
...
is necessary to calculate switch_source correctly
2017-11-23 15:44:30 +01:00
Adam Wulkiewicz
48d2d99b2b
[formulas][strategies] Move updating of state from area formulas to strategy where it should be. This also fixes conversion warning.
2017-11-23 15:32:54 +01:00
Barend Gehrels
276cb427d5
Merge branch 'develop' into feature/intvalid
2017-11-23 13:59:49 +01:00
Adam Wulkiewicz
0e7614f27d
Merge pull request #433 from vissarion/feature_fix_pt_sgmt_pole
...
Fix pt-sgmt strategy for special meridian segments passing through poles
2017-11-23 02:37:11 +01:00
Adam Wulkiewicz
88cb906b53
[test][union] Modify geographic union test wrt recent changes (by default invalid polygons are not returned).
2017-11-23 00:09:05 +01:00
Adam Wulkiewicz
fde5475144
[overlay] Restore old behavior of union for invalid polygons, changeable with #define.
2017-11-23 00:08:13 +01:00
Adam Wulkiewicz
d6fd87f37d
[test][is_simple] Add geographic cases.
2017-11-22 18:54:49 +01:00
Adam Wulkiewicz
fda7dbb297
[formulas] Improve robustness and add optimization in sjoberg_intersection formula.
...
- After newton's method check the resulting longitude and finish only if
it's between segments' endpoints. If it isn't use more robust method.
- Don't perform spheroidal calculation if model is a sphere.
2017-11-22 18:49:17 +01:00
Adam Wulkiewicz
8de0dae9bb
Merge pull request #435 from awulkiew/fix/geographic_antipodal
...
Fix several algorithms for segments with antipodal endpoints.
2017-11-22 18:43:19 +01:00
Adam Wulkiewicz
1c104d999d
[test][andoyer] Alter test wrt recent changes in handling of antipodal points.
2017-11-22 18:42:23 +01:00
Adam Wulkiewicz
1e1d050bbd
[formulas] In Andoyer formula always generate azimuth=0 for antipodal points (besides when p1 is north pole).
2017-11-22 18:41:40 +01:00
Adam Wulkiewicz
e93cd66b51
[test][is_valid] Add geographic cases.
2017-11-21 21:16:16 +01:00
Adam Wulkiewicz
fef1d69d19
[test][difference] Add geo case with antipodal endpoints.
2017-11-20 21:09:41 +01:00
Adam Wulkiewicz
e2489462f6
[test][envelope] Add geo case with antipodal endpoints.
2017-11-20 21:09:09 +01:00
Adam Wulkiewicz
4598fc01de
[test][get_turns] Add geo case with antipodal endpoints.
2017-11-20 21:08:46 +01:00
Adam Wulkiewicz
ab5fe53c6b
[envelope] Fix segment envelope for antipodal endpoints.
2017-11-20 21:07:51 +01:00
Adam Wulkiewicz
a0ab628707
[formulas] Fix formulas for antipodal endpoints (andoyer inverse, thomas direct, sjoberg intersection).
2017-11-20 21:07:00 +01:00
Barend Gehrels
283abc3adc
Merge branch 'feature/intvalid' into develop
2017-11-19 16:02:11 +01:00
Barend Gehrels
44f61d05bb
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2017-11-19 16:01:09 +01:00
Barend Gehrels
5b3ac5847b
[test][buffer] update countries test where Norway (distance 2) reports invalid
2017-11-19 16:00:17 +01:00
Barend Gehrels
55753fc017
[test][buffer] test, by default, for is_valid
2017-11-19 15:53:07 +01:00
Barend Gehrels
56023ee015
[test][buffer] handle the optional right distance differently,
...
such that it does not have to be specified in case of same as left
2017-11-19 14:06:55 +01:00
Barend Gehrels
5962b10743
[test][buffer] add ut_settings like done in overlay tests, to be able
...
to add test on validity
2017-11-19 13:59:21 +01:00
Vissarion Fysikopoulos
92dc0ce8e3
[strategies] Use more efficient meridian arc length call from distance strategy
2017-11-16 18:31:55 +02:00
Adam Wulkiewicz
a2d889ca05
[test][union] Conditionally check union's invalid output exception.
2017-11-15 21:34:37 +01:00
Adam Wulkiewicz
0b8a704ae9
[core][overlay] Improve/fix add_rings().
...
Support passing of area strategy into add_rings() and pass it from
overlay, buffer and dissolve.
Add invalid_output_exception and if preprocesor definition is
defined throw it if an intermediate result in add_rings() has negative
area which means that in non-cartesian CS too big polygon is the result.
If area of the intermediate result is 0 ignore it.
2017-11-15 21:23:49 +01:00