Commit Graph

1915 Commits

Author SHA1 Message Date
Barend Gehrels
cfbecc9935 [buffer] remove more unused functionality 2014-06-09 12:39:58 +02:00
Barend Gehrels
f822df3545 [buffer] remove uu processing which is redundant 2014-06-09 12:16:16 +02:00
Barend Gehrels
c836fab395 [buffer] remove more now unused functionality 2014-06-09 12:05:55 +02:00
Barend Gehrels
0e666541e7 [buffer] skip within check where not necessary 2014-06-09 11:52:39 +02:00
Barend Gehrels
17d027ec2d [buffer] remove now unused functionality 2014-06-09 11:51:01 +02:00
Barend Gehrels
4002e3d36a [buffer] update svg-mapping debug class 2014-06-09 11:16:10 +02:00
Barend Gehrels
432d62809d [buffer] remove old left-turn approach 2014-06-09 11:15:13 +02:00
Barend Gehrels
11c71d161a [occupation_info] add once instead of twice
preparing for new get_left_turns
2014-06-08 21:57:24 +02:00
Barend Gehrels
a746e7323d [buffer] Remove occupation_map, use std::map instead
turn_indices from occupation_map were not used anymore
2014-06-08 20:21:31 +02:00
Barend Gehrels
5a85076f4b [get_left_turns] reimplement using integer arithmetic
including unit test
2014-06-08 19:03:11 +02:00
Barend Gehrels
5e6d542d81 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-08 17:19:08 +02:00
Adam Wulkiewicz
928f1aad70 [algorithms/detail] Rename const_conformant<> to copy_const<> and implement it without MPL and TypeTraits 2014-06-08 16:31:20 +02:00
Adam Wulkiewicz
1e6f7164e1 [algorithms] Drop TypeOf dependency 2014-06-08 13:32:00 +02:00
Adam Wulkiewicz
e52a297c98 [io] Drop TypeOf dependency. Add detail::interior_ring_iterator<>. 2014-06-08 13:05:44 +02:00
Barend Gehrels
79cbf6f18c [buffer] Occupation map now makes use of robust points
(this adds one failing testcase, to be investigated,
 but further simplifies/enhances all code)
2014-06-08 12:46:41 +02:00
Barend Gehrels
aec2b7801e [buffer] Cleanup comments/unused functionality 2014-06-08 10:58:47 +02:00
Adam Wulkiewicz
4626d53ead [algorithms/detail] Add interior_iterator<> tool and use it in places where BOOST_AUTO_TPL was used to get rid of unreadable, long types 2014-06-08 02:23:59 +02:00
Adam Wulkiewicz
18746a4293 [within] Remove not needed TypeOf header 2014-06-08 01:13:26 +02:00
Adam Wulkiewicz
3b9d4eba02 [point_in_geometry] Fix compilation error - replace BOOST_AUTO_TPL - drop TypeOf dependency 2014-06-08 00:27:35 +02:00
Adam Wulkiewicz
86c91f4b53 [algorithms][multi] Move the code of some algorithms from multi/ dir and drop TypeOf dependency.
Modified algorithms: area, centroid, clear, convert, length, perimeter, simplify.
Update included headers paths to reflect the changes.
2014-06-08 00:03:14 +02:00
Adam Wulkiewicz
52ece6c0e4 [algorithms] Move the code of some algorithms from multi/ and drop TypeOf dependency.
Algorithms moved: correct, envelope, equals, length, num_geometries, perimeter, remove_spikes.
2014-06-07 22:48:20 +02:00
Adam Wulkiewicz
68e7bacb7e [reverse] Move the code from multi/ and drop TypeOf dependency 2014-06-07 18:16:06 +02:00
Adam Wulkiewicz
2460f51614 [transform] Move the code from multi/ and drop TypeOf dependency 2014-06-07 18:01:23 +02:00
Adam Wulkiewicz
c2d00d8619 [unique] Move from multi/ and drop TypeOf dependency 2014-06-07 17:43:07 +02:00
Adam Wulkiewicz
f0b119141a [for_each] Move from multi/ and drop TypeOf dependency 2014-06-07 16:54:37 +02:00
Barend Gehrels
9c30fd698a Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-07 12:39:48 +02:00
Barend Gehrels
8a417e6fa9 [buffer] Classify turn-points using rescaled rings
This makes side_on_convex_range and intersection_side redundant
It fixes all but one (p20) remaining cases for polygons
2014-06-07 12:38:02 +02:00
Adam Wulkiewicz
f6ba62a43a [comparable_distance][test][extensions] Break comparable_distance into interface and implementation.
Also remove geometry.hpp header include from comparable_distance test and nsphere header included in all tests.
2014-06-06 00:29:31 +02:00
Adam Wulkiewicz
7cdbcf5fee [extensions/nsphere] Enable commented-out tests and change point_in_nsphere strategy WRT areal_tag removal workaround 2014-06-05 19:25:45 +02:00
Adam Wulkiewicz
55a8ad35f8 [extensions] Fix NSphere compilation issues.
The fixes are rather temporary workarounds (see comments in the code).
2014-06-05 19:06:06 +02:00
Adam Wulkiewicz
51fc37e43b [extensions][offset] Fix compilation errors 2014-06-05 18:03:14 +02:00
Adam Wulkiewicz
46b46ee080 Merge pull request #55 from awulkiew/refactor_multi
Moving geometry/multi/ into geometry/
2014-06-05 16:16:08 +02:00
Adam Wulkiewicz
d8baba40bd [multi] Remove multi-geometries concepts from multi/multi.hpp since they are included in geometries/concepts/check.hpp 2014-06-05 15:24:01 +02:00
Adam Wulkiewicz
5903c5a292 [extensions] Replace includes of headers moved from multi/ directory. 2014-06-04 19:39:26 +02:00
Adam Wulkiewicz
2a86cf0c20 [geometry] Replace includes of headers from algorithms/detail moved from multi/ directory. 2014-06-04 18:43:42 +02:00
Adam Wulkiewicz
1d4a73cc89 [algorithms/detail] Fix for_each_range backward compatibility.
In the specialization for Box remove_const before creating box_view<> and passing the object of this type into the Actor::apply().
2014-06-04 18:15:05 +02:00
Adam Wulkiewicz
3f872f1621 [algorithms/detail] Refactor for_each_range and move it from multi/directory. 2014-06-04 17:10:17 +02:00
Adam Wulkiewicz
2c7da5eb1f [multi] Move algorithms details used only by multi/algorithm from multi/ directory. 2014-06-04 16:06:21 +02:00
Barend Gehrels
89b2fb4d6a [buffer] use intersection_side for checking side on convex range
This fixes many of the issues (in multi_polygon_buffer). However, some
new cases now fail because of this and should be fixed later
2014-06-04 15:58:53 +02:00
Adam Wulkiewicz
55e684c64c [multi][algorithm/detail] Move most of the code of details from multi/ directory.
This commit doesn't move for_each_range.
Details used only by multi/algorithms aren't moved as well.
2014-06-04 15:53:46 +02:00
Adam Wulkiewicz
320f796b9d [geometry] Replace headers of parts moved from multi/ directory. 2014-06-04 14:52:28 +02:00
Barend Gehrels
77969d4194 [buffer] merged implementations of side_on_convex_range 2014-06-04 13:30:45 +02:00
Barend Gehrels
1a2a2f4de1 [buffer] remove RobustPolicy from side_on_convex_range
because side of a point w.r.t. a segment cannot be done with rescaling,
due to rounding the point can be located on the other side of the segment
This adds 4 more failing testcases, but it has to be done first because
the solution is not reliable
2014-06-04 13:26:26 +02:00
Adam Wulkiewicz
0bec8e26c3 [multi] Include headers of moved parts from geometry/ directory. 2014-06-04 13:24:29 +02:00
Adam Wulkiewicz
b0a1704779 [multi][io] Move wkt and dsv implementation for Multi Geometries from multi/ directory 2014-06-04 03:25:07 +02:00
Adam Wulkiewicz
f63fabcbb7 [multi][geometries] Move models, concepts and register macros from multi/ directory 2014-06-04 02:20:23 +02:00
Adam Wulkiewicz
82a2b50b0c [multi][strategies] Move centroid_average from multi/ directory 2014-06-03 22:17:56 +02:00
Adam Wulkiewicz
676090691f [multi][views] Move range_type<> from multi/ directory.
Also tweak the parameters of the dispatched implementation - reverse the order and add default Tag.
2014-06-03 21:54:01 +02:00
Adam Wulkiewicz
da20d7c409 [multi][core] Move functionalities of multi/core into core 2014-06-03 21:21:03 +02:00
Adam Wulkiewicz
948208a485 [strategies] Fix unused typedefs warnings. 2014-06-03 12:55:49 +02:00