Commit Graph

479 Commits

Author SHA1 Message Date
Sebastien Loriot 8836f5e705
Polygon repair using union and intersection (#8510)
## Summary of Changes

Add new repair rules in Polygon_repair package

## Release Management

* Affected package(s): Polygon_repair
* Feature/Small Feature (if any):
[link](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Polygon_repair_union_intersection)
-- **pre-approval 2025/01/03**
* Link to compiled documentation:
[link](https://cgal.geometryfactory.com/~afabri/Repair/Manual/packages.html#PkgPolygonRepair)
* License and copyright ownership: GF
2025-02-12 19:47:30 +01:00
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Sébastien Loriot 0639b48d55 Merge remote-tracking branch 'cgal/master' 2024-11-08 20:07:39 +01:00
Andreas Fabri bdb93ff62b Documention 2024-11-07 17:46:20 +00:00
Andreas Fabri 78c8b4480e Add free functions join() and intersection() for any combination of P, MP, MPwH 2024-11-06 13:05:46 +00:00
Sebastien Loriot 1690619625
CGAL: Modernize CMakeLists.txt (#8528)
## Summary of Changes

- Changed `PUBLIC` to `PRIVATE`  in the `target_link_libraries()`
- ~~Link against `Boost::<COMPONENT>`~~ as we do more than just linking
and must use the `CGAL::_.._support`
- Use `target_compile_definitions()` and `add_compile_definitions()`

More to be done.

## Release Management

* Affected package(s): all
* Issue(s) solved (if any): fix one item of  #4815
* License and copyright ownership: unchanged
2024-10-31 10:32:25 +01:00
Sébastien Loriot a2c16c3768 Merge pull request #8509 from afabri/T2-demo_improvements
Polygon: various clean-ups
2024-10-21 19:20:18 +02:00
Laurent Rineau fb2a9eac90 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-21 16:32:51 +02:00
Sébastien Loriot 0b9b42ace5 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-10-18 18:00:08 +02:00
Laurent Rineau 96cd3e6f09 Merge remote-tracking branch 'cgal/master' into pr/afabri/8528 2024-10-17 00:25:24 +02:00
Andreas Fabri 67da146c62 WS 2024-10-15 08:49:25 +01:00
Andreas Fabri 7d0c6014dd Add a testcase that shows the reported issue (when disabling the fix) 2024-10-15 08:37:58 +01:00
Andreas Fabri 527569346e CGAL: Modernize CMakeLists.txt 2024-10-08 17:02:41 +01:00
albert-github dd02af92a2 issue #8515 Spelling mistakes found checking `en-GB` to `en-US`
Spelling corrections, `en-GB` -> `en-US`
2024-10-05 11:28:29 +02:00
Andreas Fabri a661671fdf unnecessary change 2024-10-01 11:15:16 +01:00
Sébastien Loriot f91765503c demo improvement and various clean-ups 2024-10-01 11:57:04 +02:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
albert-github 92a5cc9ea0 Spelling correction
instanciation -> instantiation
2024-05-27 13:01:46 +02:00
Andreas Fabri dfa0a124cd
Update Polygon/include/CGAL/Multipolygon_with_holes_2.h 2024-04-19 11:29:19 +02:00
Andreas Fabri 31018d0a50 Apply the rule of five 2024-04-19 10:13:40 +01:00
Andreas Fabri 29c6a7905f Add is_empty() 2024-04-19 08:10:46 +01:00
Andreas Fabri 8f1086f050 move a using to avoid doxygen warning 2024-04-18 09:57:47 +01:00
Andreas Fabri 02dd6ad63d Fix warning in test 2024-04-17 08:05:22 +01:00
Andreas Fabri c8c67472b0 Add Mpwh::bbox() 2024-04-16 10:28:19 +01:00
Andreas Fabri 5d6874df85
Apply suggestions from code review
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2024-04-16 10:40:12 +02:00
Andreas Fabri 3effd785c4 Add transform to Polygon_with_holes and Multipolygon_with_holes 2024-04-16 09:05:50 +01:00
Andreas Fabri fcff28f0aa move() -> forward<>() 2024-04-16 08:22:23 +01:00
Andreas Fabri 2af58ecea3 Make read_WKT() work with Multipolygon_with_holes 2024-04-15 18:45:05 +01:00
Andreas Fabri 92ccdbcc08 fix forward 2024-04-15 13:07:00 +01:00
Andreas Fabri ed70775ee9 Polygon_repair:: Use move semantics; Add Polygon_2::reserve() 2024-04-15 11:28:13 +01:00
Guillaume Damiand 8869ab3b8f dependencies for core 2024-03-28 19:31:57 +01:00
Guillaume Damiand 57aa719fbe do not use white as random color 2024-03-28 18:44:10 +01:00
Guillaume Damiand 70d398b692 add examples of drawing of polygon with holes 2024-03-28 17:41:43 +01:00
Guillaume Damiand 9a0b8eb824 Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2024-03-26 16:25:29 +01:00
Laurent Rineau 8212284e1e Merge pull request #7608 from kenohori/gsoc2023-polygon_repair-kenohori
Polygon repair
2024-03-22 09:18:24 +01:00
Laurent Rineau 7a17b47d9f Merge pull request #8052 from afabri/Polygon-exact_area-GF
Polygon: Avoid stackoverflow when summing exact numbers

# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:18:07 +01:00
Laurent Rineau 9f96166d44 Merge branch '5.5.x-branch' into 5.6.x-branch
# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:09:57 +01:00
Sébastien Loriot f34745c4d8 use a functor for collapsing the DAG to not depend on Filtered_kernel
nor inclusion order
2024-03-14 10:02:30 +01:00
Andreas Fabri 6744cc1dd6 Add operator==() for Multipolygon_wih_holes 2024-03-11 16:40:30 +01:00
Sébastien Loriot 9b4f35dfa1 fix dependencies 2024-03-06 11:32:30 +01:00
Andreas Fabri b13b01af99 Remove argc, argv 2024-03-06 08:13:12 +00:00
Andreas Fabri 3bd448d1a8 Polygon: Avoid stackoverflow when summing exact numbers 2024-02-28 14:28:00 +00:00
Andreas Fabri 25b084e146 Fix operator<< for Multipolygon_with_holes 2024-02-23 07:52:05 +00:00
Andreas Fabri 38c43ce2cb Fix multipolygon.cpp 2024-02-23 07:44:07 +00:00
Sébastien Loriot 6edfffe313 update doc to qt6 2024-01-05 11:20:13 +01:00
Andreas Fabri c3d4d115b2 Merge remote-tracking branch 'cgal/master' into gsoc2023-polygon_repair-kenohori 2024-01-05 09:53:07 +00:00
Guillaume Damiand bd04b2a68d Remove space in doc 2023-12-06 17:01:34 +01:00
Guillaume Damiand 03ff679df4 doc draw: move advanced blocks 2023-12-05 14:10:25 +01:00
Guillaume Damiand 74c0894336 doc draw polygon 2023-12-05 13:19:35 +01:00
Guillaume Damiand df2b9ad172 doc draw pwh 2023-12-05 13:16:54 +01:00