Vissarion Fisikopoulos
8f69777215
Fix disjoint(segment, box) in spherical_equatorial and geographic CS ( #580 )
...
* [algorithms] Remove azimuth optimization from spherical/geo disjoint segment-box
2019-03-27 10:01:14 +02:00
Adam Wulkiewicz
9d60791702
[disjoint] Implement disjoint Box/Poly using Box/Seg strategy and fix disjoint Seg/Box.
2019-03-26 17:43:06 +01:00
Adam Wulkiewicz
7c0449711e
[strategy] Add disjoint Seg/Box strategy getter to intersection strategies.
2019-03-26 17:41:10 +01:00
Vissarion Fysikopoulos
ff36bf3ba9
[formula] Remove unused variable from karney_direct
2019-03-20 14:45:33 +02:00
Vissarion Fisikopoulos
946426751c
Merge pull request #562 from kenba/develop
...
Update series_expansion.hpp
2019-03-20 11:14:03 +02:00
Nikita Kniazev
c24f8c4bfc
interpolate_point_spherical: inline var initialization
...
Fixes msvc < 12 failures.
2019-03-20 01:06:51 +03:00
Adeel Ahmad
05ae463f4e
[util] Remove math::NaN() function
...
NaN was previously being used when the angle was greater
than 90 deg. Since we now use the maximum angle value [-90, 90]
this function is no longer required.
2019-03-17 11:30:18 +01:00
Adeel Ahmad
3b6ad807c3
[formulas][util] Remove math::round_angle() function and use original value instead
2019-03-17 11:23:37 +01:00
Adam Wulkiewicz
7f703fd5a6
[strategies][buffer] Make sure geographic azimuth is in valid range in geographic_point_circle.
2019-03-15 17:30:38 +01:00
Adam Wulkiewicz
e314795dbb
[formulas] Add asserts for validity of azimuth passed to thomas_direct and differential_quantities.
2019-03-15 17:29:02 +01:00
Vissarion Fysikopoulos
220fe13890
[strategy][test] Robust acos call and tests
2019-03-15 14:43:45 +02:00
Adam Wulkiewicz
392f73e796
Merge pull request #570 from vissarion/fix/vertex_longitude
...
Fix for distance between geometries
2019-03-14 19:41:27 +01:00
Vissarion Fysikopoulos
9a79ed3f7a
[strategy] Swap coordinates before calling vertex longitude formula from distance segment box
2019-03-13 15:43:12 +02:00
Adam Wulkiewicz
c3a18fbfa4
[formulas] Handle azimuth sign 0 in differential_quantities calculation.
2019-03-12 19:32:58 +01:00
Adam Wulkiewicz
37431351de
[formulas] Fix reduced length sign on equator for negative distance.
2019-03-12 01:42:01 +01:00
Adam Wulkiewicz
cbc648e9aa
[formulas] Allow negative distance in direct formulas.
2019-03-12 01:35:06 +01:00
Adam Wulkiewicz
e361c45a35
[extensions][io][shapefile] Support M and Z geometries.
2019-03-10 20:07:06 +01:00
Adam Wulkiewicz
4a6d8075ec
Merge branch 'develop' into feature/point_order
2019-03-08 16:56:33 +01:00
Adam Wulkiewicz
09c7d02c5d
Merge branch 'develop' into feature/read_shapefile
2019-03-08 16:56:09 +01:00
Barend Gehrels
6344e3c72e
Merge pull request #563 from barendgehrels/enhance/more-remove-rescale-preparations
...
Enhance/more remove rescale preparations
2019-03-06 09:47:34 +01:00
Adam Wulkiewicz
592b774bf4
[strategies][io] Add IO umbrella strategies (returning point-order and within strategies).
2019-03-06 02:10:26 +01:00
Adam Wulkiewicz
bd2dc54e8c
[extensions][io] Check rings point-order and assign inner rings.
2019-03-06 02:08:10 +01:00
Barend Gehrels
24455aeab8
changes in comments
2019-03-05 20:31:20 +01:00
Adam Wulkiewicz
e168cd60e4
Merge branch 'develop' into bg-prepare
2019-03-05 13:35:49 +01:00
Adam Wulkiewicz
2c44cfcdb6
[line_interpolate] Fix compilation error, change names.
2019-03-04 18:24:33 +01:00
Adam Wulkiewicz
6de86f8a71
[point_order] Cleanup, comment. Remove unneeded ctor. Remove empty namespace.
2019-03-04 18:11:22 +01:00
Adam Wulkiewicz
53c5ffdd17
[remove_spikes] Replace deque with vector. Instead of modifying the container use iterators to track front and back.
2019-03-04 17:29:40 +01:00
Adam Wulkiewicz
3b5b66705c
[point_order] Update size of range when spikes are removed from the beginning/end of the range.
2019-03-04 17:27:54 +01:00
Barend Gehrels
7daee6f273
[buffer] Extract buffer_box to separate heaaderfile
2019-03-02 13:42:49 +01:00
Barend Gehrels
07dd079033
[CONFIG] Use a positive define (USE_RESCALING) instead of an unclear negative
...
one (NO_ROBUSTNESS). Precedes removing of the rescaling.
2019-03-02 13:39:50 +01:00
Ken Barker
bc5574408c
Update series_expansion.hpp
...
Change evaluate_coeffs_C3 for issue #560
2019-03-02 08:37:13 +00:00
Adam Wulkiewicz
85fee8b95f
[point_order][strategies] Add calculate_point_order() algorithm with stratgies.
2019-03-01 21:27:34 +01:00
Adam Wulkiewicz
7d6cf1165b
[extensions][nsphere] Fix compilation errors.
2019-03-01 16:22:21 +01:00
Adam Wulkiewicz
21e1bea47b
Merge branch 'develop' into bg-prepare
2019-02-28 02:33:33 +01:00
Vissarion Fisikopoulos
1c0f3e398a
Merge branch 'develop' into feature/line_interpolate_point_2
2019-02-27 15:13:37 +02:00
Vissarion Fysikopoulos
eea4d04abe
[algorithm] Fix indentation in line_interpolate
2019-02-27 15:12:13 +02:00
Vissarion Fysikopoulos
03036b4b62
[algorithm] [strategy] [test] [doc] Rename line_interpolate_point to line_interpolate
2019-02-19 16:32:22 +02:00
Vissarion Fysikopoulos
c6a9739f48
[strategy] Change scope in some variable in line_interpolate spherical strategy
2019-02-19 09:21:55 +02:00
Vissarion Fysikopoulos
163797ee0b
[strategy] [formula] Create line_interpolate formula for spherical cs
2019-02-18 17:06:52 +02:00
Vissarion Fysikopoulos
d0331aa3eb
[algorithm] [test] Assertion for possible division with zero in line_interpolate
2019-02-18 14:43:53 +02:00
Vissarion Fysikopoulos
f83cb027b5
[strategy] [test] Use radius in spherical line_interpolate strategy
2019-02-18 14:04:32 +02:00
Vissarion Fysikopoulos
4646d12521
Merge remote-tracking branch 'origin/develop' into feature/line_interpolate_point_2
2019-02-15 15:54:29 +02:00
Barend Gehrels
c46e4625a7
[buffer] rename strategy (review result)
2019-02-13 11:44:13 +01:00
Vissarion Fysikopoulos
0ab93f5280
[strategy] Remove azimuth precomputation from line_interpolate strategies
2019-02-12 16:54:04 +02:00
Vissarion Fysikopoulos
0472b64b52
[strategy] Rename template parameters in line_interpolate strategies
2019-02-12 13:19:30 +02:00
Vissarion Fysikopoulos
3194d6e2d5
[strategy] Fix selection of calculation types for line_interpolate and correct indentation
2019-02-12 13:07:31 +02:00
Vissarion Fysikopoulos
a2e355a683
[algorithm] Simplify termination condition for single points in line_interpolate
2019-02-12 12:37:46 +02:00
Vissarion Fysikopoulos
a6da161fa8
[algorithm] Clean code for line_intrpolate
2019-02-11 17:04:55 +02:00
Vissarion Fysikopoulos
127de58eaf
[test] Test edge cases for line_intrpolate
2019-02-11 17:03:15 +02:00
Vissarion Fysikopoulos
033c9c7aaf
[test] Test for input distance longer than linestring length for line_intrpolate
2019-02-11 16:37:08 +02:00