14 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
1dea69dc6b [cmake] Add optional variable to boost_geometry_add_unit_test 2024-09-05 16:51:50 +03:00
Vissarion Fisikopoulos
d7745884fd Add missing newlines at end of files 2024-08-14 15:03:28 +03:00
Vissarion Fisikopoulos
16f9c637f4 Add cs_undefined to cmake tests and reorder add_subdirectory calls 2024-08-14 13:35:12 +03: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
Adam Wulkiewicz
ebbc58b52e Fix various warnings, e.g. remove unused variables, etc. 2021-07-05 14:15:38 +02:00
Adam Wulkiewicz
a87f924304 Merge branch 'develop' into feature/strategies_rest 2021-04-01 03:14:52 +02:00
Adam Wulkiewicz
1a7716e814 [test][csundef] Divide setops test into two files. 2021-03-26 14:08:22 +01:00
Adam Wulkiewicz
6eb9e238bc [strategies] Remove distance() dependency from weighted_length strategy.
Also add optional CalculationType.
2021-03-11 00:45:08 +01:00
Adam Wulkiewicz
edc2aa5051 [index][strategies] Pass strategy to centroid() in the rtree.
Implement spherical and geographic strategies in order to maintain
backward compatibility. Even though dummy legacy strategy is returned.

Add centroid tests for undefined CS.
2021-03-10 17:03:03 +01:00
Adam Wulkiewicz
433ebf4c41 [test] Add/modify tests after recent changes in simplify(). 2021-03-03 01:17:23 +01:00
Adam Wulkiewicz
6b74f7c8a3 Support umbrella strategies in relops, setops, index, buffer and more.
Also is_simple, is_valid and extensions like dissolve and nsphere relops.

Add umbrella strategies:
 - relate: used in setops, relops, buffer, is_xxx, dissolve, etc.
 - index: used in rtree
 - io: used in wkt read/write and extensions/shapefile

Replace `point_box_by_side` agnostic strategy with CS-specific strategies.

Fix passing of strategies (no defaults when user-defined strategy is
passed) in places like buffer and distance.

Alter tests accordingly.
2020-10-21 17:42:02 +02:00
Mateusz Łoskot
96db897fc5
Rename Jamfile.v2 to Jamfile (#679)
There is no reason to maintain the legacy .v2 file extension,
which is unnecessary clutter, may be confusing.
2020-03-08 23:50:18 +01:00
Adam Wulkiewicz
0c77558db2 [test] Divide cs::undefined relops test into two deparate files. 2019-06-30 22:17:26 +02:00
Adam Wulkiewicz
b73a401480 [test] Add cs::undefined tests. 2019-06-28 23:30:04 +02:00