23 Commits

Author SHA1 Message Date
Barend Gehrels
682994c28a remove alternatives and add for convex hull 2024-02-28 11:17:55 +00:00
Vissarion Fisikopoulos
d87bc244db [test] Remove tests using rescaling 2024-02-13 13:38:31 +02:00
Vissarion Fisikopoulos
c1f7a1adbf Pass strategy to compare policy and use exact fp comparison in convex hull 2023-06-16 16:46:18 +03:00
Barend Gehrels
3806c5dc32 [side] use side_by_triangle by default 2021-12-30 11:16:48 +01:00
Vissarion Fisikopoulos
f79b3f0c45
Merge pull request #908 from vissarion/fix/convex_hull_robust
Fix robust convex hull tests
2021-09-23 14:55:29 +03:00
Vissarion Fisikopoulos
fa72519c4a Fix robust convex hull tests 2021-09-23 14:42:41 +03:00
Adam Wulkiewicz
8c9b11bb85 Merge branch 'develop' into feature/gc3 2021-09-22 23:29:00 +02:00
Vissarion Fisikopoulos
b3172f7b3f
Merge branch 'develop' into feature/use_side_robust_predicate 2021-07-02 18:05:57 +03:00
Vissarion Fisikopoulos
6b49308808 Move side_by_triangle to strategy/cartesian 2021-07-02 16:34:33 +03:00
Adam Wulkiewicz
8fddb60cdc Add support for output DynamicGeometry in convex_hull(). 2021-06-30 23:41:27 +02:00
Adam Wulkiewicz
d3be761ac5 Add support for output GeometryCollection in convex_hull.
Add relate(pt, pt) to convex_hull umbrella strategy.
Add several util::enable_if_xxx type traits.
Remove detail::as_range().

Update the tests.
2021-06-30 23:41:27 +02:00
Adam Wulkiewicz
c2c4569b88 Add support for input DG and GC in is_empty() and convex_hull(). 2021-06-30 23:41:26 +02:00
Vissarion Fisikopoulos
fb9b1d40ff Replace side_by_triangle with side_robust 2021-06-30 13:00:21 +03:00
Adam Wulkiewicz
32aaa05bd0 Remove range_type<> and modify detail::as_range(), plus other minor tweaks.
The rationale behind it is that in all cases range_type<> was used as
ring_type<>. There was a specialization for Box defining box_view<> but
this was semantically different than accessing a ring of geometry.

detail::as_range() was taking a range type and returning a reference to
this range which was inconsistent with ring_return_type<>.

Remove unneeded begin() and end() functions in non-mutable ranges
closeable_view<> and detail::normalized_view<>.

Add specialization of ring_type<> for linestrings since there is already
specialization of ring_return_type<>.

Fix some compilation errors.
2021-06-06 00:00:52 +02:00
Vissarion Fisikopoulos
48b800632b [tests] Fix area accurancy in convex hull tests 2021-01-29 18:41:38 +02:00
Vissarion Fysikopoulos
9c1905d1a5 [test] Calculate convex hull with a non-default spherical side strategy 2020-10-16 11:32:10 +03:00
Vissarion Fysikopoulos
02f52eca68 Merge remote-tracking branch 'origin/develop' into feature/robust_convex_hull 2020-10-16 10:47:24 +03:00
Vissarion Fysikopoulos
c79b9a60b7 [strategies] Remove Geometry parameter from side in convex_hull strategies 2020-10-08 17:48:48 +03:00
Vissarion Fysikopoulos
0df77e40c9 [test] Robustness tests 2020-09-30 18:42:37 +03:00
Vissarion Fysikopoulos
3f81bad3f2 [strategy] Move side_robust and in_circle_robust strategies from extensions to strategy/cartesian 2020-09-25 17:14:00 +03:00
Vissarion Fysikopoulos
69b743f177 [tests] Add tests for robust cartesian convex hulls 2020-09-25 16:56:51 +03:00
Vissarion Fysikopoulos
6873db5549 [tests] Convex hull non cartesian tests added 2020-09-23 12:45:54 +03:00
Vissarion Fysikopoulos
eae06f70df [tests] Move convex hull tests to new directory and adjust them to use the new strategy 2020-09-16 11:34:26 +03:00