Barend Gehrels
f3fd9084ea
[geometry] moved zoom_to_robust to algorithms/detail
2014-03-05 12:04:56 +01:00
Barend Gehrels
921c7d2f14
[geometry] splitted file zoom_to_robust.hpp into several files:
...
- get_max_size
- rescale_policy
- robust_type
- get_rescale_policy
2014-03-05 12:01:43 +01:00
Barend Gehrels
4211a2b1e9
[geometry] Use robust_policy in append_no_dups_or_spikes
...
Only if robust_policy would make any difference, so we added an "enabled"
boolean into the policy
2014-02-26 12:05:48 +01:00
Barend Gehrels
6269c5f4c1
[geometry] Simplified copy_segments template signature,
...
now that we also added RobustPolicy
2014-02-19 12:31:40 +01:00
Barend Gehrels
3ec7162957
[geometry] Added RobustPolicy to copy_segments and append_no_dups_or_spikes
...
- and moved typedefs inside function two times
- no other actions
2014-02-19 12:18:16 +01:00
Barend Gehrels
13aa0b07db
[geometry] Append without duplicates, fixed 3 calls
2014-02-19 11:18:20 +01:00
Barend Gehrels
52fc96ccc1
[geometry] Get buffer in compileable state w.r.t. rescale policies
2014-02-12 22:44:28 +01:00
Barend Gehrels
832ea52015
[geometry] removed "distance" from enhanced_info
...
(now protected by ifdef). Also removed calculate_distance_policy, and "r".
All these are now obsolete.
This also removes the verify_r in cart_intersect
2014-02-12 16:38:42 +01:00
Barend Gehrels
bb60749540
[geometry] Use fraction instead of distance for "follow" and enrichment
2014-02-12 16:36:58 +01:00
Barend Gehrels
02deb84786
[geometry] Fixes for new MSVC issues
2014-02-12 12:54:26 +01:00
Barend Gehrels
2a85b339f1
[geometry] Fix compile errors w.r.t. changed turn_info in touches
2014-02-12 12:14:23 +01:00
Barend Gehrels
8d202fd319
[geometry] Verified compatibility with/without robust rescaling
...
We now have the define BOOST_GEOMETRY_NO_ROBUSTNESS to avoid rescaling
(probably should be renamed)
2014-02-12 11:45:02 +01:00
Barend Gehrels
664bd2b488
[geometry] Rescaling, build-fixes, changed assert's in conditions,
...
comment changes, handle_tangencies: now skip overlap_info
2014-02-12 11:43:50 +01:00
Barend Gehrels
f3147001b5
[geometry] Splitted file rescale.hpp into different files:
...
segment_ratio_type
robust_point_type
no_rescale_policy
2014-02-11 23:08:32 +01:00
Barend Gehrels
f6ce9e2c91
[geometry] Moved robustness policies to policies folder
...
Also added unit-test to develop/test behaviour of different policies
2014-02-09 19:29:01 +01:00
Barend Gehrels
547ed12024
[geometry] Changes for segment_ratio
...
Removed as default parameter, removed default type-defs for robust_point_type
and for segment_ratio_type
2014-02-09 19:05:40 +01:00
Barend Gehrels
83703aac99
[geometry] removed/changed comment
2014-02-06 22:28:01 +01:00
Barend Gehrels
99b3e8a24d
[geometry] Allow different types for Cramers rule
2014-02-06 22:27:15 +01:00
Barend Gehrels
03c8f6822f
[geometry] explicitly specify SegmentRatio type for turn_info
2014-02-06 22:26:55 +01:00
Barend Gehrels
7c6ba53e59
[geometry] Added RescalePolicy (to get SegmentRatio) to strategy_intersection
...
Some creations/instances of rescale policy had therefore to be moved
2014-02-05 14:06:00 +01:00
Barend Gehrels
1b23e260d5
[geometry] Removed commented unused code
2014-02-05 14:02:07 +01:00
Barend Gehrels
05e9c7905d
[geometry] Use side strategy only in relative order
...
(preparing next commit changing strategy_intersection)
2014-02-05 14:01:50 +01:00
Barend Gehrels
24a11fe984
[geometry] Added comparisons for segment_ratio's based on float
2014-02-05 11:37:13 +01:00
Barend Gehrels
336f73e276
[geometry] made SegmentRatio as a template argument for turn_operations,
...
and therefore for turn_info and many more
2014-02-05 11:36:42 +01:00
Barend Gehrels
41f9c94e31
[geometry] Fixed unit test for collinear intersections w.r.t new parameters
2014-01-19 22:33:58 +01:00
Barend Gehrels
9dd4eaff7f
[geometry] Use segment_ratio_type metafunction in handle_tangencies,
...
disjoint, add policy_type to intersection strategy with 2 segments
2014-01-19 22:13:52 +01:00
Barend Gehrels
011815a80d
[geometry] Extracted segment_ratio_type as a metafunction
...
just like robust_point_type
2014-01-19 22:02:01 +01:00
Barend Gehrels
9ea637265e
[geometry] Merged rescale policy and (rudimentary) robustness policy.
...
We should decide how we call this thing (probably RobustnessPolicy as it
decides for types, ratio-types, rescaling and other behaviour related to
robustness)
2014-01-19 15:34:15 +01:00
Barend Gehrels
c7111355cc
[geometry] Made SegmentRatio a template parameter as was intended.
...
Still TODO: it should come from a robustness-policy
2014-01-19 15:06:07 +01:00
Barend Gehrels
ca6280c9af
[geometry] Added (probably temporary) comment
2014-01-19 14:48:55 +01:00
Barend Gehrels
2851b50fc3
[geometry] Removed now redundant template parameters from segment-intersection
...
strategies.
2014-01-19 14:48:39 +01:00
Barend Gehrels
fe207c73da
[geometry] Removed now unused method
2014-01-19 14:40:35 +01:00
Barend Gehrels
482c9a3a62
[geometry] Added static assert
2014-01-18 21:33:20 +01:00
Barend Gehrels
3eadfb2549
[geometry] Comment change
2014-01-18 21:33:10 +01:00
Barend Gehrels
7d8342093a
[geometry] Removed unnecessary includes
2014-01-18 21:32:45 +01:00
Barend Gehrels
e76936025c
[geometry] Bugfix get point-type instead of segment-type
2014-01-18 21:32:19 +01:00
Barend Gehrels
175032c841
[geometry] Integer coordinates are now not rescaled
...
which fixes corresponding tests
2014-01-17 19:58:31 +01:00
Barend Gehrels
fc681ba236
[geometry] fixes in unit tests w.r.t. rescale policy
2014-01-17 18:53:29 +01:00
Barend Gehrels
683267e3e5
[geometry] Bugfix in new code, arrival value should be -1 if not on segment
2014-01-16 18:46:03 +01:00
Barend Gehrels
90b75b7640
Merge branch 'develop' into rescale_to_integer
2014-01-16 14:19:01 +01:00
Bruno Lalande
cfba8409c5
Made transform variant-aware.
2014-01-09 09:09:56 +00:00
Barend Gehrels
fd781b79d5
[geometry] Rescale to integer: changed types to make them consistent
...
w.r.t. integer/float input points. IP calculation is now always based on
ratios.
2014-01-08 13:47:18 +01:00
Barend Gehrels
cd0ec07f64
[geometry] Minor - pass ringtype separately
...
(further this change was part of a non-committed change)
2014-01-08 13:26:00 +01:00
Bruno Lalande
6646a16d7f
Added strategy resolution stage to transform algorithm.
2014-01-05 17:53:08 +00:00
Bruno Lalande
8d58aaf8b9
Made touches (1 param version) variant aware.
2014-01-05 15:54:14 +00:00
Bruno Lalande
87a5a242f4
Made touches (2 params version) variant aware.
2014-01-02 09:34:31 +00:00
Bruno Lalande
ea3cf83bf8
Fixed how resolve_strategy::simplify_insert is called from the public functions
2013-12-24 22:27:38 +00:00
Bruno Lalande
4919e00e2d
Made simplify variant-aware
2013-12-24 22:15:15 +00:00
Bruno Lalande
2ddcf5dccf
Added resolve_strategy stage for simplify_insert.
2013-12-23 12:19:25 +00:00
Bruno Lalande
5e946a1c1e
Added resolve_strategy stage for simplify.
2013-12-22 23:18:29 +00:00