Commit Graph
115926 Commits
Author SHA1 Message Date
Sébastien Loriot ffbc70e550 Merge pull request #9401 from aminkhalsi/frame-fix
Fix camera rotation continuing during path playback
2026-03-30 11:16:03 +02:00
Sebastien Loriot 568fc63ee6 Fixes issue #6446 - approx_adv broken and unused in Lazy_exact_nt (#9352)
## Issue #6446 - `approx_adv` broken and unused in `Lazy_exact_nt`

**Issue:** https://github.com/CGAL/cgal/issues/6446

**Problem:** `Lazy_exact_nt<ET>::approx_adv()` (lines 546-547 of
`Number_types/include/CGAL/Lazy_exact_nt.h`) accessed `this->ptr()`
which is a private member of the `Lazy` base class, causing a compile
error under any instantiation. The function is not documented, has no
tests, and has zero callers across the entire codebase.

**Fix:** Removed the `approx_adv()` method entirely. Users who need an
`Interval_nt_advanced` (`Interval_nt<false>`) from a `Lazy_exact_nt` can
use the existing public `approx()` method inherited from the `Lazy` base
class.

**Files changed:**
- `Number_types/include/CGAL/Lazy_exact_nt.h` (-3 lines)
2026-03-30 10:56:32 +02:00
aminkhalsi c2dfb1829c stop camera before start playing path 2026-03-25 09:45:19 +01:00
Sebastien Loriot 9ef049837d Fix issues in AW3 debug code (#9391)
## Summary of Changes

Some debug code written for AW2 was copy pasted poorly into AW3, and was
also not tested. The PR fixes this.

## Release Management

* Affected package(s): `Alpha_wrap_23`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): - 
* License and copyright ownership: no change
2026-03-24 19:13:20 +01:00
albert-github 627cdce27e Spelling correction
Spelling correction
2026-03-23 10:21:19 +01:00
Mael Rouxel-Labbé 87d4cd7250 Enable some debug code in test 2026-03-21 00:46:03 +01:00
Mael Rouxel-Labbé 649581af23 Fix typo in enum class member 2026-03-21 00:45:42 +01:00
Mael Rouxel-Labbé fbc800c80e Make sure we do not try to compute Steiner points with infinite neighbors 2026-03-21 00:45:26 +01:00
Mael Rouxel-Labbé f882fb00f4 Fix _AW2_ macros that should be _AW3_ 2026-03-21 00:45:09 +01:00
Sebastien Loriot b3cb16c5d7 Surface_mesh: remove obsolete g++4.4 workaround from SM_Halfedge_index (#9348)
Fixes #9319

#### Problem
`pybind11::detail::is_move_constructible<CGAL::SM_Halfedge_index>`
evaluates
to `false` while `std::move_constructible<CGAL::SM_Halfedge_index>`
correctly
evaluates to `true`. This inconsistency prevents pybind11-based Python
bindings
from properly wrapping types that hold or use `SM_Halfedge_index`.

#### Root Cause
`SM_Halfedge_index` contained five `typedef void` members
(`iterator_category`, `value_type`, `difference_type`, `pointer`,
`reference`)
added as a workaround for a g++ 4.4 ADL bug for `std::next`. pybind11
inspects `value_type` via legacy iterator_traits and, finding `void`,
concludes
the type is not a proper value type and marks it as not
move-constructible.

#### Fix
CGAL 6.0 raised the minimum GCC requirement to 11.4, making the g++ 4.4
workaround unnecessary. Remove the five `typedef void` members and their
explanatory comment. No code in the CGAL codebase references these
typedefs.
2026-03-20 17:10:38 +01:00
Sebastien Loriot 3302290d1f Polygon_repair: Mark edge and not face as processed (#9379)
## Summary of Changes

In case all faces incident to a border were marked as _processed_ we
missed holes.

## Release Management

* Affected package(s): Polygon_repair
* Issue(s) solved (if any): fix #9325
* License and copyright ownership: unchanged
2026-03-20 17:08:45 +01:00
Sébastien Loriot ae366bad98 Merge pull request #8924 from sloriot/T3-improve_link_to_fg_api
Improve link_to_face_graph API
2026-03-20 17:04:34 +01:00
Sébastien Loriot e52834db2c update changes 2026-03-20 16:53:51 +01:00
Sébastien Loriot 9040d88eb8 Merge pull request #8856 from MaelRL/AW2-GF
New package: 2D Alpha Wrapping
2026-03-20 16:43:00 +01:00
Sébastien Loriot 2fef45c06a fix import 2026-03-20 16:17:19 +01:00
Sébastien Loriot ee83deb5a1 do not test data set removed 2026-03-20 15:59:11 +01:00
Sébastien Loriot cc533ac18f backward compatibility 2026-03-19 17:28:43 +01:00
Sébastien Loriot 6d7911445e avoid timeout in the testsuite 2026-03-19 17:24:33 +01:00
Sebastien Loriot 9f516c0a19 Spelling corrections (#9385)
Spelling corrections

Note: the sentence "Triangle are triple of indices referring to position
of points in the input point range." in
Generator/doc/Generator/CGAL/point_generators_3.h should probably be
reformulated (maybe " Traingles are triplets of indices....")
2026-03-19 15:08:16 +01:00
albert-github 9bfb2f47af Update Generator/doc/Generator/CGAL/point_generators_3.h 2026-03-19 11:36:48 +01:00
albert-github afffe0a524 Spelling corrections
Spelling corrections

Note: the sentence "Triangle are triple of indices referring to position of points in the input point range." in Generator/doc/Generator/CGAL/point_generators_3.h should probably be reformulated (maybe " Traingles are triplets of indices....")
2026-03-19 10:44:38 +01:00
Andreas Fabri 1ad1cbf2cf Fix the test program 2026-03-19 08:30:01 +01:00
Sébastien Loriot 0a2a748fd9 fix conversion warning detected with MSVC 2026-03-18 19:43:38 +01:00
Sebastien Loriot 7ea06c63ea Get the last picked item (#9066)
You can now do:

```c++
  Random_points_in_triangle_mesh_3<TriangleMesh> g(mesh, r);
  Point c;
  face_descriptor fc;
  std::tie(c,fc) = g.point_and_support();
  ++g;
```

to get the normal of the picked point

cc @huang46u 

Small feature:
[here](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Generator_point_and_support)
2026-03-18 19:30:19 +01:00
Sébastien Loriot 6f86581dd9 Merge pull request #9096 from soesau/Intersection-Circle_Sphere_consistency-GF
Intersections: Consistent behavior of Circle_2 and Sphere_3
2026-03-18 19:29:07 +01:00
Sebastien Loriot 18f0f627a7 workaround older Apple clang compilers (#9364)
Should fix 66 'n' in the testsuite for cezanne
2026-03-18 19:26:29 +01:00
Sebastien Loriot f5a9f8b20f Add program to convert meshes in different file formats (#9372)
Maybe we should clean up the example in this directory as off2stl.cpp is
completely outdated...
2026-03-18 19:25:30 +01:00
Sebastien Loriot deae03fe5c Spelling corrections (#9359)
Spelling corrections
2026-03-18 11:52:58 +01:00
Andreas Fabri 23dbe3e241 Add test case 2026-03-17 17:38:27 +01:00
Andreas Fabri c33c651ab6 Polygon_repair: Mark edge and not face as processed 2026-03-17 16:33:16 +01:00
Sebastien Loriot b3ed54a981 Spelling correction (#9378)
Spelling correction
2026-03-17 15:50:18 +01:00
albert-github 50eca8aefb Spelling correction
Spelling correction
2026-03-17 15:46:11 +01:00
Sébastien Loriot 8ae8f780bc Merge pull request #6557 from sloriot/CH3-do_intersect
Add do_intersect for convex hulls
2026-03-17 15:22:43 +01:00
Sébastien Loriot b9a6af8555 workaround warnings for macOs 2026-03-16 17:28:01 +01:00
Andreas Fabri 5fca12e69f Link with OpenGL::GL 2026-03-13 09:50:27 +01:00
Laurent Rineau e82ea56992 disable build_doc on main, for now
because it does not work for now.
2026-03-13 08:20:42 +01:00
Sebastien Loriot b05219acf0 Spelling corrections (#9374)
Spelling corrections
2026-03-12 13:45:30 +01:00
albert-github c49b87069d Spelling corrections
Spelling corrections
2026-03-12 10:39:06 +01:00
Andreas Fabri cbb7e4c9dd Link against Opengl32 2026-03-12 09:40:53 +01:00
Sebastien Loriot 7ae24db43e Typo fix (#9358)
## Summary of Changes
Fixed some typos
2026-03-12 09:04:58 +01:00
Sébastien Loriot bd017cb99e Merge pull request #9113 from LeoValque/GenericBoxIntersection-GF
Generic box intersection
2026-03-11 16:45:56 +01:00
Sébastien Loriot 7aa9a10bd7 EOF 2026-03-11 15:40:34 +01:00
Sébastien Loriot 4018084ef8 set stream precision 2026-03-11 15:39:10 +01:00
Sébastien Loriot fbfda7b1f0 add program to convert meshes in different file formats 2026-03-11 15:37:42 +01:00
Andreas Fabri db1f86aabd Fix std::min VC problem 2026-03-11 11:07:52 +01:00
Sébastien Loriot 8943ebdf1f fix path 2026-03-10 19:20:33 +01:00
Sébastien Loriot a8eaa0e855 missing namespace 2026-03-10 19:10:34 +01:00
Sebastien Loriot 5aef001f69 use unordered_map on old Apple clang
boost pmr requires a library to be linked against
2026-03-10 18:20:47 +01:00
Jane Tournois 29abe2f695 complete previous commit
MSVC does not handle properly constexpr lambdas with templates
2026-03-10 17:50:01 +01:00
Jane Tournois bd0abb1252 fix compilation error on msvc
msvc has an issue with constexpr lambdas with templates
so we replace it by a constexpr function
2026-03-10 17:36:07 +01:00