Commit Graph

7736 Commits

Author SHA1 Message Date
Barend Gehrels
dc688951da [buffer] specialize check_helper_segment 2018-12-19 13:12:29 +01:00
Barend Gehrels
7911971d44 [buffer] extract check_helper_segment to split it in next commit 2018-12-19 12:55:32 +01:00
Barend Gehrels
1468965673 [buffer] split implementation for side (of intersection), depending
on coordinate system
2018-12-19 12:51:33 +01:00
Barend Gehrels
d5e3fe996d [test] pass the buffer itself 2018-12-19 11:49:35 +01:00
Barend Gehrels
78735951c8 [test] add number of points to unit test settings 2018-12-19 11:16:32 +01:00
Barend Gehrels
96d0cd8646 [buffer] restructure turn_in_piece_visitor code such that it can be
easier splitted and specialized for geo (no side of intersection)
and cartesian (with side of intersection)
2018-12-19 11:11:09 +01:00
Adam Wulkiewicz
b8951f2d1d Merge pull request #540 from awulkiew/feature/get_turn_info
Make side calculation for linear endpoints clearer.
2018-12-15 19:09:19 +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
329e63b3e5 Merge pull request #535 from eldiener/develop
Removed executable permission from file(s).
2018-12-10 23:08:08 +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
b5d44b7428 [test] fix get_turn_info test 2018-12-08 18:55:47 +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
2c14e92289 [test] put ranges first 2018-12-08 17:59:02 +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
64126a9173 [get_turn_info][test] add point_type, rename policy 2018-12-04 23:12:20 +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
2653bf5e7b [get_turn_info] Adapt unit test to latest state 2018-12-04 19:42:46 +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
36157800d4 [doc] Fix typos. 2018-11-30 14:14:31 +01:00
Adam Wulkiewicz
2d94c586d5 Merge pull request #534 from vissarion/fix/doc_release
Fix minor issues in documentation and release notes
2018-11-30 14:05:50 +01:00
Vissarion Fysikopoulos
b22e376422 Update 1.69 release notes 2018-11-30 14:37:32 +02:00
Vissarion Fysikopoulos
a5b5441715 [doc] Fix ordering in imports.qbk and make_qbk.py 2018-11-30 14:36:43 +02:00
Vissarion Fysikopoulos
8b7d6067ba [doc] Fix Hausdorff's and Frechet's names in index.html 2018-11-30 14:35:14 +02:00