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
Vissarion Fysikopoulos
b02c5e2aae
[algorithm] [strategy] Change line_interpolate_point to use distance instead of fraction
2019-01-25 16:49:03 +02:00
Vissarion Fysikopoulos
e20977bd22
[algorithms] Rename PointType to Pointlike for point or multi-point type
2019-01-24 11:24:13 +02:00
Vissarion Fysikopoulos
9cf73a23df
[algorithms] Add missing const to function parameter
2019-01-24 11:22:00 +02:00
Vissarion Fysikopoulos
d553d82d56
Resolve conflicts and merge with develop
2018-12-17 14:02:20 +02:00
Adam Wulkiewicz
92fb762a2c
[strategy] Fix compilation errors in spherical strategies (missing includes and template keywords).
2018-12-17 03:53:55 +01:00
Adam Wulkiewicz
cd863853c2
[envelope] Add missing #include.
2018-12-17 01:45:32 +01:00
Adam Wulkiewicz
9d5d5ae6e8
[strategies] Fix warning, add missing comment at end of #endif.
2018-12-17 01:38:48 +01:00
Adam Wulkiewicz
371767b248
[get_turns] Remove unneeded comment.
2018-12-16 15:18:34 +01:00
Adam Wulkiewicz
4c099bdd50
Merge branch 'develop' into feature/undefined_cs
2018-12-16 15:16:39 +01:00
Adam Wulkiewicz
ee4ebca3c6
[get_turns] Make side calculation for linear endpoints clearer. Don't calculate unnecessary sides.
2018-12-15 19:07:56 +01:00
Adam Wulkiewicz
60d1f8fa28
Merge pull request #531 from barendgehrels/feature/get_turn_info_add_retrieve_policy
...
Feature/get turn info add retrieve policy
2018-12-14 22:46:47 +01:00
Adam Wulkiewicz
b11ab4c713
Merge pull request #538 from awulkiew/fix/array_init
...
Add workaround for msvc-12 faulty array initialization.
2018-12-11 14:18:24 +01:00
Adam Wulkiewicz
e710403b4d
[core][srs] Add workaround for msvc-12 faulty array initialization.
2018-12-10 22:47:11 +01:00
Barend Gehrels
bac949d20f
[get_turn_info] add ranges
2018-12-08 21:39:51 +01:00
Barend Gehrels
2dce9c3c8a
[get_turn_info] verify more pk/qk to avoid assertions
2018-12-08 19:31:38 +01:00
Barend Gehrels
bec490d6a1
[get_turn_info] review remark, i/o size use is_last_segment
2018-12-08 18:15:21 +01:00
Barend Gehrels
ca22e2445c
[get_turn_info] rename wrongly named variables to more proper symbolic names
2018-12-08 17:45:29 +01:00
Barend Gehrels
a02a4646ce
[get_turn_info] revise operations_of_equal, pass sides instead of ranges
...
because one of the calls had wrong order and yet another version was used.
Besides that it is simpler.
2018-12-08 17:33:56 +01:00
Barend Gehrels
9a6a578bee
[get_turn_info] get rid of confusing names
2018-12-08 15:15:46 +01:00
Barend Gehrels
8626ae1655
[get_turn_info] avoid assertion by refactoring away side_calculator_for_endpoint,
...
such that pk/qk are now retrieved lazily. This also solves part of the
mystery of the points passed in wrong order.
2018-12-08 15:10:51 +01:00
Barend Gehrels
668e9b1707
[get_turn_info] Add conditions to avoid assert in collinear turn handler
...
and is_spike
2018-12-08 14:54:53 +01:00
Barend Gehrels
7ce6dfc7e6
[get_turn_info] review remarks, add assert
...
(still asserting sometimes)
2018-12-08 13:40:13 +01:00
Barend Gehrels
35bdde4dd9
[get_turn_info] review remarks, pass ranges first, use iterators, comments
2018-12-08 13:36:55 +01:00
Barend Gehrels
daf901aaf2
[get_turn_info] minor, comments, style
2018-12-05 11:25:17 +01:00
Barend Gehrels
fdac1fb86d
[get_turn_info] now pi/qi are neither necessary, being used only once
2018-12-05 11:24:50 +01:00
Barend Gehrels
b6a537fcb4
[get_turn_info] now that buffer does not use assign_policy::apply anymore,
...
it can be omitted.
2018-12-05 10:44:32 +01:00
Barend Gehrels
3644f81f6a
[get_turn_info] avoid typedef, omit pj/qj used once
2018-12-05 10:10:40 +01:00
Barend Gehrels
413e590994
[get_turn_info] rename typedef'ed PointQ to point1_type and similar
2018-12-05 10:09:56 +01:00
Barend Gehrels
e0a44b8fb5
[get_turn_info] rename has_k back to is_last
2018-12-05 10:09:21 +01:00
Barend Gehrels
e5b1711afc
[get_turns] fix new code, use correct type
2018-12-05 10:09:04 +01:00
Barend Gehrels
83a1e07506
[buffer] do not calculate robust points in assign, but before.
...
This is slightly less performant (because it is now also calculated
for non-intersecting segments) but probably not significant,
and, more importantly, rescaling will be gone later
2018-12-04 22:31:59 +01:00
Barend Gehrels
11b33d6966
[buffer] propagate change retrieve -> sub_range to buffer
2018-12-04 22:22:00 +01:00
Barend Gehrels
5cc0ac19aa
[get_turn_info] move is_p_last info is_spike_p which avoids many extra
...
checks and passing parameters. For remaining bools use the appropate
conditions directly
2018-12-04 20:28:43 +01:00
Barend Gehrels
9a31ac712f
[get_turn_info] Replace get_point_i/j/k by at, and has_p by size()
...
to make a range-like concept
Also in review there were remark about i/j/k/l
2018-12-04 19:38:08 +01:00
Barend Gehrels
b38de4468e
[get_turn_info] rename RetrieveAdditionalInfoPolicy to UniqueSubRange
2018-12-03 22:40:16 +01:00
Barend Gehrels
6bd612f3e6
[get_turn_info] remove pi,pj / qi,qj from other basic turn handlers
...
In many places it was not used
2018-12-03 20:02:39 +01:00
Barend Gehrels
c418492e4d
[get_turn_info] remove pi,qj / qi,qj from end_points and other analyses
...
This also removes some debug code
2018-12-03 19:38:04 +01:00
Barend Gehrels
e7ff373b73
[get_turn_info] remove pi,pj / qi,qj from crosses
2018-12-03 19:35:39 +01:00
Barend Gehrels
812dc416ed
[get_turn_info] incorporate pi/pj qi/qj into retriever
...
as suggested by Adam during review
2018-12-03 19:14:40 +01:00
Edward Diener
394f425746
Removed executable permission.
2018-12-03 07:59:11 -05:00
Barend Gehrels
f1b9c19402
[get_turn_info] bugfix, never return false for has_k for areal features
2018-12-01 13:23:14 +01:00
Barend Gehrels
5bf8066f36
[get_turn_info] process review remarks, rename policies, methods
...
Postpone getting pk/qk in collinear_opposite
2018-12-01 13:22:03 +01:00
Adam Wulkiewicz
fc34634c08
Merge branch 'develop' into feature/undefined_cs
2018-11-29 17:38:13 +01:00
Adam Wulkiewicz
2e04d7d1a8
[algorithms][doc] Fix discrete_frechet_distance() description.
2018-11-29 14:11:25 +01:00
Adam Wulkiewicz
fbac327ca9
[algorithms][doc] Fix Hausdorff's name.
2018-11-29 13:57:54 +01:00
Adam Wulkiewicz
18ee92853e
[io][doc] Add documentation for DSV stream output.
2018-11-29 02:20:01 +01:00