Commit Graph
115356 Commits
Author SHA1 Message Date
aminkhalsi e9fde2bb3f changed 'well known' to 'well-known' 2026-02-28 16:02:52 +01:00
Sébastien Loriot 058401a608 fix deprecation warning 2026-02-24 07:45:52 +01:00
Sébastien Loriot d4633ca2ab Merge pull request #9283 from afabri/Mesh_3-glitches-GF
Mesh_3: Fix Documentation Glitches
2026-02-18 17:20:04 +01:00
Andreas Fabri ea50908d40 Remove anchor 2026-02-18 11:01:02 +00:00
Andreas Fabri 3c68858928 Remove anchor 2026-02-18 10:46:36 +00:00
Andreas Fabri c44121aba6 Remove anchor 2026-02-18 10:40:50 +00:00
Andreas Fabri cc6ece41e3 Move the anchor 2026-02-18 08:26:53 +00:00
Andreas Fabri 81e422b24d Move the anchor 2026-02-17 15:13:30 +00:00
Andreas FabriandMael 1e59611f73 Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2026-02-17 15:10:11 +01:00
Andreas Fabri c89324b855 In changes.md we have to write CGAL:: 2026-02-16 14:38:30 +00:00
Andreas Fabri 9a5c339452 Merge branch 'main' into Mesh_3-glitches-GF 2026-02-16 15:33:47 +01:00
Sebastien Loriot bd95a7cdc5 Correcting references for METIS (#9326)
Seen the problems with the website where METIS was hosted (see
https://github.com/KarypisLab/METIS/issues/78) there is a new website,
this has been implemented now.
2026-02-16 14:58:02 +01:00
Sebastien Loriot a27f0b1195 Spelling corrections (#9324)
Spelling corrections
2026-02-16 14:51:58 +01:00
Andreas Fabri 556c87acc3 Fix iterator type 2026-02-14 10:12:59 +00:00
albert-github 3069894864 Correcting references for METIS
Seen the problems with the website where METIS was hosted (see https://github.com/KarypisLab/METIS/issues/78) there is a new website, this has been implemented now.
2026-02-14 10:46:32 +01:00
Laurent Rineau 0973bc9173 build main documentation on push (cont.) 2026-02-13 17:55:02 +01:00
Laurent Rineau 4cec61c852 build main documentation on push (cont.) 2026-02-13 17:50:50 +01:00
Laurent Rineau 16852bda15 build main documentation on push (cont.) 2026-02-13 17:49:45 +01:00
Laurent Rineau 46fecdf437 build main documentation on push (cont.) 2026-02-13 17:43:13 +01:00
Laurent Rineau c92e1a6cc9 build main documentation on push 2026-02-13 17:38:05 +01:00
Laurent Rineau b3fe0afec5 fix the action "Documentation Removal" 2026-02-13 17:02:53 +01:00
albert-github 0d30924acf Spelling corrections
Spelling corrections
2026-02-13 14:09:48 +01:00
Sebastien Loriot f6014dcc26 Add functions to compute the kernel of a triangle mesh (#9131)
Add functions to compute the kernel of a mesh

## Release Management

* Affected package(s):  `PMP`, `BGL`
* Issue(s) solved (if any): 
* Feature/Small Feature (if any):
[Mesh_Kernel](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Mesh_Kernel)
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*]()
* License and copyright ownership: GF
2026-02-13 13:45:32 +01:00
Sébastien Loriot 715b680a88 copy/paste error 2026-02-13 12:25:21 +01:00
Sébastien Loriot a4648a7d15 typo 2026-02-13 12:24:36 +01:00
Sébastien Loriot 217f72a110 restore permissions 2026-02-12 15:59:10 +01:00
Sébastien Loriot cbc13ac9aa typo 2026-02-12 15:55:23 +01:00
Sébastien Loriot 62116800fc Merge pull request #9123 from lrineau/CDT_3-fix_v2-lrineau
CDT_3: fix v2
2026-02-12 15:52:32 +01:00
Sebastien Loriot efec4a2058 Advancing Front: Write in file (#9318)
## Summary of Changes

In the examples, write the resulting mesh in a file with the same stem
as the input file.

## Release Management

* Affected package(s): Advancing_front_reconstruction
* License and copyright ownership:  unchanged
2026-02-12 15:08:21 +01:00
Sebastien Loriot ff4d6d99ee fix macro name 2026-02-12 15:07:25 +01:00
Laurent Rineau baab52ae3c Merge remote-tracking branch 'lrineau/Stream_support-color_and_indenting_streams-lrineau' into CDT_3-fix_v2-lrineau 2026-02-12 15:07:12 +01:00
Sebastien Loriot f60daf05e4 Mesh_2: fix degenerate cases (#9290)
## Summary of Changes

This PR fixes the error reported in issue #781. The main two changes
are:

- in `Refine_edges.h`: allow the refinement point of a constrained edge
to be an existing close encroaching vertex,
- in `Refine_faces.h`: skip tiny bad faces when their bbox are smaller
than a few ulp.

## Release Management

* Affected package(s): Triangulation_2, Mesh_2
* Issue(s) solved (if any): fix #781
* Feature/Small Feature (if any):
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership: maintenance by GeometryFactory, now
copyright change
2026-02-12 15:01:59 +01:00
Sebastien Loriot 0b66cce432 Stream_support: add indenting and coloring stream wrappers (#9115)
## Summary of Changes

Stream_support: add indenting and coloring stream wrappers

See the test examples.

### Indenting

Example:

```plain
=== Basic Indenting Usage ===

1. Basic indentation with std::cout:
  This line is indented
  So is this one
  Multi-line output:
  Line 1
  Line 2
  Line 3
Back to normal indentation

2. Nested indentation levels:
| Level 1 indentation
| | Level 2 indentation
| | | Level 3 indentation
| | Back to level 2
| Back to level 1
Back to normal

3. Custom indentation string:
>>> Custom prefix on each line
>>> Works with multiple lines too
Normal output again
```

### Coloring

Example:
<img width="381" height="809" alt="Screenshot_20251029_143948"
src="https://github.com/user-attachments/assets/6a53b985-c72b-49cc-b44f-fb89c9c854fb"
/>

## Todo

- [ ] Write a paragraph in the User Manual

## Release Management

* Affected package(s): Stream_support
* Feature/Small Feature (if any): **TODO**
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership:  unchanged
2026-02-12 15:00:26 +01:00
Sebastien Loriot 244d9dee08 STL_Extension: Add bisect_failures debugging utility (#9118)
## Summary

This PR adds a new debugging utility `bisect_failures` to the
STL_Extension package. This function helps identify minimal failing test
cases from complex input data by using a bisection-like approach.

**Small feature: [bisect failures debugging
utility](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/bisect_failures_debugging_utility)**

## Features

- **Multiple failure type support**: Handles CGAL exceptions,
std::exceptions, and exit codes
- **Automatic granularity adjustment**: Starts with ratio=0.5,
automatically halves when no fault is found
- **Debug output**: Saves intermediate states (`current`, `bad`,
`error`, `final_bad`)
- **Template-based design**: Works with any copyable/assignable data
type

## Testing

Added comprehensive test suite (`test_bisect_failures.cpp`) with 14
tests:
-  Edge cases (empty data, no failures)
-  Single element failures (CGAL exception, std::exception, exit code)
-  Pair combinations (all 2-element permutations)
-  Triple combinations (all 3 failure types together)

All tests pass in both Debug and Release configurations.

## Use Case

This utility is particularly useful for:
- Debugging complex geometric algorithms with large input datasets
- Finding minimal reproducible test cases from failing inputs
- Isolating problematic elements in mesh processing, triangulation, etc.

## Example Usage

```cpp
auto get_size = [](const Mesh& m) { return m.number_of_faces(); };
auto simplify = [](Mesh& m, std::size_t start, std::size_t end) -> bool {
  // Remove faces from start to end
  for(std::size_t i = start; i < end && i < m.number_of_faces(); ++i) {
    m.remove_face(start);
  }
  return true;
};
auto run = [](const Mesh& m) -> int { return algorithm(m); };
auto save = [](const Mesh& m, const std::string& prefix) {
  std::ofstream out(prefix + ".off");
  out << m;
};

int result = bisect_failures(mesh, get_size, simplify, run, save);
```

## Files Changed

- `STL_Extension/include/CGAL/bisect_failures.h` (new) - Main utility
header
- `STL_Extension/test/STL_Extension/test_bisect_failures.cpp` (new) -
Test suite
- `STL_Extension/test/STL_Extension/CMakeLists.txt` (modified) - Added
test

## Checklist

- [x] Code compiles without errors (Debug and Release)
- [x] All tests pass
- [x] Comprehensive documentation with Doxygen comments
- [x] Example usage in documentation
- [x] Follows CGAL coding style conventions
- [x] Deal with false positive in the testsuite

## Release Management

* Affected package(s): `STL_Extension`
* Feature/Small Feature (if any): [bisect failures debugging
utility](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/bisect_failures_debugging_utility)
* Link to compiled documentation (obligatory for small feature)
[doc](https://cgal.github.io/9118/v2/STL_Extension/group__PkgSTLExtensionUtilities.html#gad56d708faac9063d3de057394a6d8c52)
* License and copyright ownership: no change
2026-02-12 14:59:15 +01:00
Laurent Rineau cbd02dc73d Merge branch 'main' into Stream_support-color_and_indenting_streams-lrineau 2026-02-12 10:12:18 +01:00
Laurent Rineau 8040ab0475 Merge remote-tracking branch 'lrineau/STL_Extension-bisect_failures-lrineau' into CDT_3-fix_v2-lrineau 2026-02-12 10:07:59 +01:00
Laurent Rineau b489aca744 fix clangd warnings 2026-02-12 10:04:42 +01:00
Laurent Rineau f498226561 fix conflicts (merge 'cgal/main') 2026-02-12 10:02:05 +01:00
Laurent Rineau 4ab3aad8f7 simpler .clangd file
I do not want to push my `.clangd` configuration to CGAL `main`.
2026-02-12 10:00:35 +01:00
Laurent Rineau d4008bc0e4 re-indent the code correctly 2026-02-12 09:59:36 +01:00
Laurent Rineau 808a7f5c7d improve setup script
- add known_hosts for cgaltest user,
- install pcp and cockpit-podman,
- and configure dnf5 automatic updates (if dnf5 exists)
2026-02-10 12:14:24 +01:00
Andreas Fabri b0fc8bf46e Fix link to Inrimage 2026-02-10 10:52:42 +00:00
Andreas Fabri b31fae1d8c upper bound has no hyphen 2026-02-10 10:17:35 +00:00
Andreas Fabri 101a37eabf Add CGAL:: 2026-02-10 10:13:01 +00:00
Andreas Fabri 143777f0f8 polish 2026-02-10 09:22:35 +00:00
Andreas Fabri 5986621888 Add Image_3 in package descriptiom 2026-02-10 09:08:19 +00:00
Andreas Fabri 8f667c5662 Do not document variant 2026-02-10 08:47:05 +00:00
Andreas Fabri 1882d98bf1 fix warning 2026-02-10 06:52:57 +00:00
Sébastien Loriot 2728df1f6a do not include header not present in all Qt versions 2026-02-09 14:45:09 +01:00
Sébastien Loriot dee52b915e fix linking 2026-02-09 14:28:53 +01:00