Commit Graph

1792 Commits

Author SHA1 Message Date
Menelaos Karavelas
4c1bf7b28f Merge branch 'develop' of https://github.com/boostorg/geometry into feature/disjoint 2014-05-23 20:47:39 +03:00
Menelaos Karavelas
939517e198 [disjoint] remove obsolete file algorithms/detail/disjoint.hpp 2014-05-23 20:47:06 +03:00
brunolalande
8f2a516cc6 Merge pull request #26 from sdebionne/develop
[distance] Add variant support
2014-05-23 16:13:59 +01:00
Samuel Debione
c9edff5e31 [distance] Remove global is_implemented 2014-05-23 17:00:03 +02:00
Adam Wulkiewicz
5cc480d2c2 [index] Remove unneeded template keyword from member function call 2014-05-23 14:18:47 +02:00
Samuel Debione
79cd3df923 [distance] Support different variant type
Add support for different variant type as parameters
2014-05-23 14:09:23 +02:00
Menelaos Karavelas
21b7851381 [disjoint][segment-box] factor-out common code in disjoint_segment_box_impl 2014-05-23 14:12:01 +03:00
Adam Wulkiewicz
3474244d0a [index] Varian-based nodes used in the rtree by default.
This should fix the crash when the rtree is used in the shared memory reported in this thread: http://boost-geometry.203548.n3.nabble.com/rtree-crash-when-used-with-inter-process-td4026037.html
2014-05-22 17:24:31 +02:00
Samuel Debione
82abc509df Merge remote-tracking branch 'boostorg/geometry/develop' into develop 2014-05-22 12:15:04 +02:00
Menelaos Karavelas
0df67aa716 [disjoint] add missing include of basic dispatch 2014-05-21 17:33:33 +03:00
Menelaos Karavelas
8e03f95ec8 [multi][get turns] remove unused include 2014-05-21 17:26:27 +03:00
Menelaos Karavelas
57921a7e89 [disjoint] clean-up code in detail/disjoint/interface.hpp;
create and add proper includes in detail/disjoint/implementation.hpp;
re-create algorithms/disjoint.hpp and add the above two includes;
2014-05-21 17:18:38 +03:00
Menelaos Karavelas
b6522c4e74 [disjoint] move main file to detail/disjoint/interface.hpp 2014-05-21 17:14:56 +03:00
Menelaos Karavelas
e3512fc622 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/disjoint 2014-05-21 17:09:56 +03:00
Menelaos Karavelas
90ac851e4e [disjoint] add missing includes 2014-05-21 17:06:36 +03:00
Menelaos Karavelas
c29c4cd246 [strategies] replace inclusion of algorithms/detail/disjoint/point_point.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:56:57 +03:00
Menelaos Karavelas
050bedec65 [relate] replace inclusion of algorithms/detail/disjoint/point_point.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:55:02 +03:00
Menelaos Karavelas
1035533676 [within] replace inclusion of algorithms/detail/disjoint/point_point.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:53:39 +03:00
Menelaos Karavelas
c2cf7215f0 [overlay] replace include of algorithms/detail/disjoint.hpp by algorithms/detail/disjoint/box_box.hpp 2014-05-21 16:51:55 +03:00
Menelaos Karavelas
531127252c [overlay] replace inclusion of algorithms/detail/disjoint.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:49:09 +03:00
Menelaos Karavelas
957addb5e2 [set ops P/P] replace inclusion of algorithms/detail/disjoint.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:47:45 +03:00
Menelaos Karavelas
a7323f79f4 [point on border] replace inclusion of algorithms/detail/disjoint.hpp by algorithms/detail/equals/point_point.hpp 2014-05-21 16:44:43 +03:00
Menelaos Karavelas
1d3432f83c [has self intersections] include header with disjoint interrupt policy 2014-05-21 16:43:32 +03:00
Menelaos Karavelas
0d4eccd510 [buffer] remove inclusion of algorithms/detail/disjoint.hpp 2014-05-21 16:42:42 +03:00
Menelaos Karavelas
4eca302164 [extensions][ttmath] add unary operator-() for ttmath_big (needed for
boost::geometry::math::abs) and also add binary operator-() (needed
because of the unary overlaod)
2014-05-21 16:37:53 +03:00
Menelaos Karavelas
f8c0b46d43 [disjoint] move code from multi/algorithms/disjoint.hpp to files
in algorithms/disjoint/detail; move code from algorithms/distance.hpp
also to algorithms/disjoint/detail and in algorithms/dispatch/disjoint.hpp
2014-05-21 16:35:40 +03:00
Menelaos Karavelas
7f1bb277ab [disjoint] add files in algorithms/detail/disjoint with existing code
and new code (for new geometry combinations); clean-up/simplify
dispatch using tag_cast and clean-up dispatch specializations;
2014-05-21 16:33:17 +03:00
Menelaos Karavelas
cf517dcb2e [disjoint] add dispatch and fix copyright headers 2014-05-21 16:12:02 +03:00
Menelaos Karavelas
b39c46575c [disjoint] add dispatch specialization for point-point and point-box;
move equals::point_point code to proper place;
2014-05-21 15:45:35 +03:00
Menelaos Karavelas
ce750e15ae [disjoint] move disjoint_interrupt_policy from algorithms/detail/disjoint.hpp
to a separate file under policies
2014-05-21 15:37:51 +03:00
Menelaos Karavelas
5afdb4acbb [disjoint] add error message in algorithms/detail/disjoint.hpp to check
whether this file is included somewhere or not; this file will go away
2014-05-21 15:36:22 +03:00
Menelaos Karavelas
d71975878f [disjoint/equals] move equals::point_point from algorithms/detail/disjoint/point_point.hpp
to algorithms/detail/equals/point_point.hpp
2014-05-21 15:34:05 +03:00
Menelaos Karavelas
001fa94c76 [disjoint] move basic disjoint dispatch in algorithms/dispatch/disjoint.hpp; use tag_cast to simplify dispatching 2014-05-21 14:58:53 +03:00
Barend Gehrels
30a4bc3990 [buffer] rename m_rescale_policy to m_robust_policy 2014-05-21 12:39:14 +02:00
Barend Gehrels
089a9841c6 [rescale] fix for points / empty boxes 2014-05-21 12:33:11 +02:00
Barend Gehrels
6d6c472d74 [buffer] fix for changed name geometry_multi_within_coe to point_in_geometry 2014-05-21 12:32:40 +02:00
Barend Gehrels
157b9237ec [buffer] fix for update get_turns 2014-05-21 12:32:07 +02:00
Menelaos Karavelas
7a25e39129 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/disjoint 2014-05-20 04:12:02 +03:00
Barend Gehrels
86259f78a7 [doc][wkt] Fixed WKT doc / extended WKT doc (in progress) 2014-05-19 23:10:06 +02:00
Menelaos Karavelas
7445898e77 [distance] fix bugs in segment-to-box distance computation;
add generic algorithm for computing segment-to-box distances:
the algorithm first checks the segment and the box for intersection,
then if no intersection is found, it returns the minimum distance
over all point-segment combinations from the two geometries; for
computing a point-box distance the algorithm either calls the default
point-box strategy, or calls the detail::distance::point_to_range
algorithm; this alternate segment-box distance computation algorithm
is currently used in unit tests of segment-box distances to verify
results with the cartesian-specific approach
2014-05-19 16:49:35 +03:00
Menelaos Karavelas
86563682b3 [distance] modify the range-to-segment/box code, so that in the case
of computing the distance of a point of the range from the box, the
point-to-range code in point_in_geometry.hpp is used
2014-05-19 16:45:44 +03:00
Menelaos Karavelas
bacf060256 [distance] modify the point-to-range code so that a container/range
of points can be passed as an argument (e.g., a vector of points)
2014-05-19 16:44:27 +03:00
Samuel Debione
09a8ba53a7 [distance] Use transform_variant
Remove dependency to is_implemented. Update transform_variant to support
MPL sequence input.
2014-05-19 13:52:09 +02:00
Adam Wulkiewicz
1e8358c0df Merge pull request #33 from mkaravel/develop
[distance] fix bug in point-box distance computation in range-to-segment/box code
2014-05-19 02:34:30 +02:00
Adam Wulkiewicz
ba8d1b471d [index][example] Improve the rtree visualization.
Add support for rtrees storing Points and Segments.
Add the support for Segments in print_indexable() and gl_draw_indexable() index utilities.
2014-05-19 01:10:36 +02:00
Menelaos Karavelas
949691799f [distance] fix bug in point-box distance computation in range-to-segment/box code 2014-05-19 01:38:39 +03:00
Adam Wulkiewicz
e6fccafd40 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-05-18 00:21:38 +02:00
Adam Wulkiewicz
c4ca605bab [overlay][relate][within][test] Fix unused variable warnings. 2014-05-18 00:20:36 +02:00
Barend Gehrels
e79e6c9e2e Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-05-18 00:02:56 +02:00
Barend Gehrels
5007f1debb [extensions][dissolve] repaired dissolve w.r.t. turn changes 2014-05-17 21:09:07 +02:00