Commit Graph

114037 Commits

Author SHA1 Message Date
Laurent Rineau 44e3994c51 careful when the union-find has only one set 2025-09-24 18:31:20 +02:00
Laurent Rineau 1a2c061364 add another way to reduce to two sets with union-find 2025-09-24 18:29:42 +02:00
Laurent Rineau f6ebe208e9 extract a member function `detect_edges_and_cells_intersecting_region` 2025-09-24 16:59:32 +02:00
Laurent Rineau 5e80ca60bb fix when CGAL_CDT_3_CAN_USE_CXX20_FORMAT is false 2025-09-23 21:37:55 +02:00
Laurent Rineau 538c2721b3 add border_facet_above 2025-09-23 21:30:59 +02:00
Laurent Rineau 9a241b2a9d const-construct facets_of_border 2025-09-23 21:30:59 +02:00
Sébastien Loriot ca5f64b973 suggestion from @gdamiand 2025-09-23 19:53:23 +02:00
Sebastien Loriot bec36a30b0
Misc fixes for the doc of do_intersect / Intersect combinations (#9075)
# Release Management

* Affected package(s): Kernel_23 / Circular|Spherical_kernel
* Issue(s) solved (if any): fix #8756
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2025-09-23 19:49:12 +02:00
Laurent Rineau 9726fb59bc const-construct vertex_above 2025-09-23 19:00:03 +02:00
bonsaiiV 71446c9c54
regular triangulation docs: fix all vertex iterators
order of begin and end iterator was wrong and description did not match
2025-09-22 20:27:03 +00:00
Sébastien Loriot 31901d0197 fix the initial edge size in the 2D case 2025-09-22 16:53:02 +02:00
Sebastien Loriot 4c97f3ea85
Dt2 remove: replace thread_local vectors by arrays (#9060)
## Summary of Changes

Fix issue #9058.

In `CGAL::Delaunay_triangulation_2`, replace thread_local vectors by
`std::array` on the stack.

## Release Management

* Affected package(s): Triangulation_2
* Issue(s) solved (if any): fix #9058
* License and copyright ownership: no change, maintenance by
GeometryFactory
2025-09-22 12:06:33 +02:00
Sebastien Loriot 7a311ec821
cosmetic improvements of CMake outputs (#9063)
## Summary of Changes

cosmetic improvements of CMake outputs

### set `FOLDER` for sub-directories of CGAL

In VS Code, the CMake project outline is much cleaner if CGAL is
configured with examples and demos:

<img width="416" height="574" alt="Screenshot_20250911_154221"
src="https://github.com/user-attachments/assets/f39f4ea5-317b-4f2d-ba75-e04691674c27"
/>

### set `CMAKE_MESSAGE_INDENT` to indent the outputs in sub-folders

The output messages from sub-directories are indented, now:

```
== Generating build files for examples ==
-- Configuring examples in examples/AABB_tree
-- Configuring examples in examples/Advancing_front_surface_reconstruction
-- Configuring examples in examples/Algebraic_foundations
-- Configuring examples in examples/Algebraic_kernel_d
  NOTICE: This project requires the MPFI library and GMP support, and will not be compiled.
-- Configuring examples in examples/Alpha_shapes_2
-- Configuring examples in examples/Alpha_shapes_3
-- Configuring examples in examples/Alpha_wrap_3
-- Configuring examples in examples/Apollonius_graph_2
-- Configuring examples in examples/Arrangement_on_surface_2
--   Boost include dirs: /usr/include
--   Boost libraries:    
--   Using gcc version 4 or later. Adding -frounding-math
-- Configuring examples in examples/BGL_LCC
-- Configuring examples in examples/BGL_OpenMesh
-- Configuring examples in examples/BGL_arrangement_2
-- Configuring examples in examples/BGL_graphcut
-- Configuring examples in examples/BGL_polyhedron_3
2025-09-22 12:04:29 +02:00
Sébastien Loriot 947c9d0370 Merge pull request #9049 from soesau/CGAL-warnings-GF
Fixing warnings (mostly unused variables)
2025-09-22 12:01:07 +02:00
Sebastien Loriot 39c7001a25
Stream Support: Return false if nothing was read (#9038)
## Summary of Changes

The `read_..._WKT()` functions have `bool` as return type, but currently
only check if the stream is bad, which is not the case if no input was
read.

This PR was triggered by the fact that CGALlab could not WTK files with
polygons, but only polylines. It now can read polygons, but does only
draw the contours and not the interior.

## Release Management

* Affected package(s): Stream_support
* License and copyright ownership:  unchanged
2025-09-22 12:00:10 +02:00
Sebastien Loriot 521883477d
CGAL: Adress Wunused-but-set-variable (#9040)
## Summary of Changes

### Todo

In the issue I had questions to @soesau and @janetournois 

## Release Management

* Affected package(s): 
* Issue(s) solved (if any): fix #9039
* License and copyright ownership: unchanged
2025-09-22 11:58:40 +02:00
Sebastien Loriot 6974230f15
Remove % as Boolean does not get linked. (#9068)
## Release Management

* Affected package(s): Polygon_repair
2025-09-22 11:56:22 +02:00
Laurent Rineau f017011037 rename `master` to `main` in our scripts 2025-09-19 17:32:59 +02:00
Mael Rouxel-Labbé a9f95cbbb7 Add some documentation for the concept/model design pattern 2025-09-19 16:58:27 +02:00
Laurent Rineau 7267b3a347 refactor the definition of vertex_below_handle 2025-09-19 16:40:58 +02:00
Laurent Rineau 9d08d4087d missing is_marked 2025-09-19 16:40:12 +02:00
Laurent Rineau 489a9675dd fix iwyu warnings 2025-09-19 16:39:32 +02:00
Mael Rouxel-Labbé a5608f85dc Add missing header 2025-09-19 16:22:33 +02:00
Laurent Rineau 92fab37129 add member fcts to handle vertex marks 2025-09-19 16:20:21 +02:00
Mael Rouxel-Labbé 98b4fed177 Clarify what "any other type" means 2025-09-19 15:27:09 +02:00
Mael Rouxel-Labbé 788a5f6dfb Add missing combinations in 2D linear do_intersections 2025-09-19 15:14:29 +02:00
Mael Rouxel-Labbé 8dfcd2813d Re-organize macro calls for clarity 2025-09-19 15:14:06 +02:00
Mael Rouxel-Labbé e91357cd7d Add missing header includes 2025-09-19 15:13:50 +02:00
Mael Rouxel-Labbé 7f0a0f99d0 Test API of previously missing overloads 2025-09-19 15:13:35 +02:00
Mael Rouxel-Labbé 6bcc074d74 Add missing overloads 2025-09-19 15:13:25 +02:00
Mael Rouxel-Labbé b653138420 Fix some links 2025-09-19 13:26:36 +02:00
Laurent Rineau c5ad5bb113 more concise code 2025-09-19 12:11:28 +02:00
Laurent Rineau 2a8a32d6ad fix Prevent_deref<Union_find::iterator>
`std::iterator_traits` requires that the iterator type defines all five nested types.

I have also modified the implementation of

```c++
make_prevent_deref_range(Range)
```
2025-09-19 11:53:02 +02:00
Mael Rouxel-Labbé 4591d9a899 Drive-by doc fixes 2025-09-19 00:28:24 +02:00
Mael Rouxel-Labbé cc9f36f0f3 \link-less link fixes 2025-09-19 00:28:04 +02:00
Mael Rouxel-Labbé 0721be1a58 Use \link / \ref to add missing links of functions with parameters 2025-09-19 00:26:17 +02:00
Laurent Rineau 0b2ebbc23e extract debug output functions from construct_cavities 2025-09-18 16:57:54 +02:00
Sven Oesau 9cefab759d adding dependencies for print_MPFR_version.cpp 2025-09-18 16:33:34 +02:00
Laurent Rineau b3e2f204a4 Merge branch 'master'
# Conflicts:
#	Installation/include/CGAL/version.h
#	Installation/lib/cmake/CGAL/CGALConfigVersion.cmake
2025-09-18 11:29:58 +02:00
Laurent Rineau 125c4b254f Merge branch '6.0.x-branch' 2025-09-18 11:28:37 +02:00
Laurent Rineau 269fd76b5a this branch now prepares 6.1 final version 2025-09-18 11:27:36 +02:00
Laurent Rineau dd51daea5e next version on this branch will be 6.0.3 2025-09-18 10:53:49 +02:00
Andreas Fabri 9b7af9f73d Do not document Boolean 2025-09-18 07:25:49 +01:00
Andreas Fabri 6912b8c668 CGALlab can now load wkt polygons and display them as polylines 2025-09-17 16:10:45 +01:00
Andreas Fabri a95bfa77c8 The example can also read in a polygon with 3D points 2025-09-17 15:27:23 +01:00
Efi Fogel 22c7de1d6a Fixed check 2025-09-17 17:01:38 +03:00
Laurent Rineau 50050e34c4 add option --clobber to re-upload assets 2025-09-17 15:43:31 +02:00
Efi Fogel a5300e16f0 Respected verbose 2025-09-17 16:36:10 +03:00
Sébastien Loriot 78cca37c62 update menu for new releases 2025-09-17 07:10:17 +02:00
Laurent Rineau 0273049541 use if-constexpr instead of C++ preprocessor 2025-09-16 16:26:54 +02:00