Commit Graph

113816 Commits

Author SHA1 Message Date
Andreas Fabri 589c5d59a5 cleanup in Polyhedron_3 2025-08-12 07:24:20 +01:00
Andreas Fabri add575c358 cleanup of CMakeLists.txt 2025-08-11 10:17:15 +01:00
Andreas Fabri 5a77ef7ab6 remove deprecated test from CMakeLists.txt 2025-08-07 11:17:07 +01:00
Andreas Fabri c87a0d8b29 remove deprecated test from CMakeLists.txt 2025-08-07 11:03:08 +01:00
Andreas Fabri 4ef2b0a350 Remove BGL/test/BGL/test_deprecated_io.cpp 2025-08-07 07:05:22 +01:00
Andreas Fabri ab99c7de81 remove deprecated test 2025-08-06 08:27:12 +01:00
Andreas Fabri c225dd0c34 Surface_mesh 2025-08-06 08:22:31 +01:00
Andreas Fabri 79f93a46df Surface_mesh 2025-08-06 07:51:26 +01:00
Andreas Fabri 91193bf866 In Point_set_processing 2025-08-06 07:41:11 +01:00
Andreas Fabri edd1868f50 CGAL: Remove some deprecated functions 2025-08-05 16:13:44 +01:00
Sebastien Loriot d731405249
PMP: Fix slow compute_vertex_normal() (#8684)
## Summary of Changes

For the testcase provided in this PR `compute_vertex_normal()` is
particularly slow. A vertex has a fan of incident faces with identical
normal. As the first fix tests with `operator==(Vector_3,Vector_3)` it
is still slow when the object is slightly rotated or perturbed. With a
bound on the angle between normals it is fixed, but is that acceptable?
For `double` probably. Do we have to specialize for exact number types?

## Release Management

* Affected package(s): PMP
* License and copyright ownership: GF
2025-08-05 16:22:21 +02:00
Sebastien Loriot fb1686fca1
SMS: Make Lindstrom Turk placement more robust (#8237)
## Summary of Changes

Reduced data set to illustrate Issue #8213. 
The collapse of edge `v1-v2` results in a completely wrong placement of
the vertex.


![image](https://github.com/CGAL/cgal/assets/3263539/97ff96a1-7f6b-4182-b7b8-5267cb53f8ef)

The next step is to make the placement robust.

## Release Management

* Affected package(s): Surface_mesh_simplification.
* Issue(s) solved (if any): fix #8213
* License and copyright ownership:   unchanged
2025-08-05 16:21:30 +02:00
Sebastien Loriot 833d425ca3
Triangulation: Add static filter for 5D and 6D orientation predicate (#8862)
## Summary of Changes

This PR adds a static filter for the orientation test of 4D, 5D and 6D
points. It is ~20% faster than just interval arithmetic.

- [x] Add for 4D
- [x] ~~Add in sphere predicate~~

## Release Management

* Affected package(s): Triangulation
* License and copyright ownership:  unchanged
2025-08-05 16:15:54 +02:00
Sebastien Loriot 2157a3350b
Tetrahedral_remeshing - make it determistic (#8945)
## Summary of Changes

Tetrahedral_remeshing is not deterministic (though outputs are very
close in 2 consecutive runs).
Making it deterministic...

## Release Management

* Affected package(s): Tetrahedral_remeshing
* License and copyright ownership: unchanged
2025-08-05 16:14:21 +02:00
Sebastien Loriot 8b7010fb33
Reset depth when updating exact (#8944)
Only meaningful when CGAL_PROFILE is defined.
2025-08-05 16:13:21 +02:00
Sebastien Loriot a712bd69a0
Triangulation_2: Document degree() (#8976)
## Summary of Changes

Add the documentation of `degree()`  and also of `is_vertex()`. 

## Release Management

* Affected package(s): 2D Triangulations
* Issue(s) solved (if any): fix #8975
* License and copyright ownership: unchanged
2025-08-05 16:03:06 +02:00
Sebastien Loriot 510db0c4d3
Vector_d == Vector_d (#8995)
## Summary of Changes

implement Vector_d == Vector_d and !=
document it (also for Point_d)
disable < <= > >=

## Release Management

* Affected package(s): NewKernel_d
* Issue(s) solved (if any): fix #8990
2025-08-05 16:02:24 +02:00
Sébastien Loriot 4b9ca293c7 main will now target 6.2 2025-08-04 10:20:25 +02:00
Sebastien Loriot 53055962ed
Fix dynamic for derived meshes (#9009) 2025-08-04 08:40:52 +02:00
Sebastien Loriot 6a733bbf47
Allow Side_of_triangle to take ownership on an external AABB-tree (#9007)
Convenient for using only a subset of faces for example, or to force the
building of the tree
2025-08-04 08:40:04 +02:00
Sebastien Loriot 525c8b04ae
Add to way to indicate that features were detected outside of the class (#9006)
This is an issue for the default initialization that will redo the
feature detection and overwrite the face patch ids
2025-08-04 08:39:31 +02:00
Sebastien Loriot 54e06bcf87
Removing page outline panel (#8865)
In the current master version of doxygen (and thus upcoming version
1.14.0) a page outline panel is introduced, setting:
`PAGE_OUTLINE_PANEL`, though it would be better to disable this in CGAL.

**With the setting `PAGE_OUTLINE_PANEL=YES` (the default)**:


![image](https://github.com/user-attachments/assets/44c59fc7-aa4b-4096-9996-678879c06802)


**With the setting `PAGE_OUTLINE_PANEL=NO`**:



![image](https://github.com/user-attachments/assets/cd9aebab-3e3c-4b95-91cb-cfc9b16cc1b2)
2025-08-04 08:38:04 +02:00
Sébastien Loriot 26b6857c4f follow up of commits making default value for dynamic maps a parameter pack
the free function becomes a better match than with a default value for the default parameter
2025-07-31 17:33:04 +02:00
Sébastien Loriot 8e0f2d6f73 Merge remote-tracking branch 'cgal/6.0.x-branch' into 'cgal/master' 2025-07-31 15:19:07 +02:00
Sébastien Loriot 28eee36cb6 Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch' 2025-07-31 15:15:52 +02:00
Sebastien Loriot 97eaa8c297
Spelling correction (#8982)
Spelling correction

(word looks like to be non translated French word)
2025-07-31 15:09:27 +02:00
Sebastien Loriot 1c1cf48bed
Lab: APIENTRY undefined (Qt 6.9.1) (#8980)
## Summary of Changes

Behavior of QOpenGL.h changed, with 6.9.1 it does not provide APIENTRY
from windows.h anymore, but QT_APIENTRY instead

added redefinition of APIENTRY in qglviewer.h based on QT_APIENTRY

## Release Management

* Affected package(s): Lab, GraphicsView
2025-07-31 15:09:00 +02:00
Sebastien Loriot 8a5621e5fa
Orthtree: Node insertion during orthtree build has linear complexity (#8959)
## Summary of Changes

Added inactive list for deleted nodes (nodes cannot be deleted for now)
avoiding linear search time for node insertion during Orthtree build

Reusing indices in properties from deleted nodes for insertion of a
group of nodes (i.e., during Orthtree refinement) is deactivated. This
has no impact as nodes cannot be deleted anyway.

## Release Management

* Affected package(s): Orthtree, Property_map
2025-07-31 15:07:33 +02:00
Sebastien Loriot ccaa56b291
Mesh_3 - fix "facet is not in its conflict zone" crash (#9005)
## Summary of Changes

In theory in Mesh_3, a Steiner point cannot be hidden.
In practice with inexact constructions (even with the robust
circumcenter), it can happen that the Steiner point is hidden.
This case leads to an early exit of `RT3::find_conflicts()` which was
inconsistent with `facet_is_in_its_cz`

This PR fixes it

## Release Management

* Affected package(s): Triangulation_3, Mesh_3
* License and copyright ownership: unchanged
2025-07-31 15:05:24 +02:00
Sebastien Loriot ce005ef5bb
Fix unused var warning (#9003)
See
[here](https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.1-Ic-206/Boolean_set_operations_2/TestReport_lrineau_Ubuntu-latest-GCC6-CXX1z.gz)
for example
2025-07-31 15:04:49 +02:00
Sebastien Loriot 9c71f6f2fb
Fix precondition and lazy fill of maps (#9001)
Follow up of #8609
2025-07-31 15:04:16 +02:00
Sebastien Loriot bdc1f4ae26
Make sure boost system is found (#9000) 2025-07-31 15:03:46 +02:00
Sebastien Loriot 29c57626a5
Drop bad const& in documentation (#8997)
## Summary of Changes

There is no const & in the actual code

## Release Management

* Affected package(s): `Triangulation_3`
* Issue(s) solved (if any): fix #8996
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2025-07-31 15:02:36 +02:00
Sebastien Loriot fe169a8da8
Reference Mpzf/Gmpzf/MP_Float from each other's doc (#8994)
## Release Management

* Affected package(s): Number_types
* Issue(s) solved (if any): fix #8991
2025-07-31 15:01:36 +02:00
Sebastien Loriot ab1426ce0e
SuiteSparse: bugfix CMakeLists.txt (#8987)
## Summary of Changes

bugfix of CMake scripts
Adding log to example/test to indicate whether Eigen3 or SuiteSparse is
used

## Release Management

* Affected package(s): Surface_mesh_parameterization
2025-07-31 14:59:33 +02:00
Sebastien Loriot fba14a3505
GraphicsView: Fix Links (#8986)
## Summary of Changes

Update the links for Qt classes from Qt5 to Qt6.

## Release Management

* Affected package(s): GraphicsView
* License and copyright ownership: unchanged
2025-07-31 14:59:06 +02:00
Sebastien Loriot b9a13006d4
Apollonius_graph: Clean Up Documentation (#8983)
## Summary of Changes

Remove references to visualization that was removed earlier in class
[`Apollonius_graph_site_2`](https://doc.cgal.org/latest/Apollonius_graph_2/classCGAL_1_1Apollonius__site__2.html).

## Release Management

* Affected package(s): Apollonius_graph
* License and copyright ownership: unchanged
2025-07-31 14:58:38 +02:00
Sébastien Loriot 7e2ae271f1 update latest version 2025-07-31 13:50:34 +02:00
Sébastien Loriot 9dcbc58ec9 add a constructor taking a lvalue of an AABB-tree
we can construct the tree for a subset of faces and still give the ownership to the class
2025-07-31 11:12:38 +02:00
Sébastien Loriot 7f76fdf04e Merge remote-tracking branch 'cgal/master' into HEAD 2025-07-31 10:06:47 +02:00
Sébastien Loriot 537e29aa56 update to 1.14 2025-07-31 10:06:34 +02:00
Sébastien Loriot fb4306d0ae add a way to indicate to feature were detected outside of the class 2025-07-30 20:01:34 +02:00
lvalque 748fa237da replace boost::small_vector by std::array 2025-07-30 11:37:43 +02:00
Jane Tournois deb2229f8b fix the case where `p` is hidden in the RT3
if `p` would be hidden, its conflict zone is empty
2025-07-30 11:33:16 +02:00
Sébastien Loriot 59bf188ea2 fix one more warning 2025-07-30 09:37:34 +02:00
lvalque d0a7b6748b remove unused functor 2025-07-29 17:00:39 +02:00
Sébastien Loriot de6cbbce0c fix unused var warning 2025-07-29 09:58:22 +02:00
lvalque 952eb52c5f Merge branch 'PMP-slow_vertex_normal-GF' of github.com:afabri/cgal into PMP-slow_vertex_normal-AFabri 2025-07-29 09:51:28 +02:00
lvalque d19ae8a395
Update Polygon_mesh_processing/test/Polygon_mesh_processing/slow_compute_normal.cpp
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2025-07-28 17:51:16 +02:00
lvalque 1b830ee23c
Apply suggestions from code review
Co-authored-by: Andreas Fabri <andreas.fabri@geometryfactory.com>
2025-07-28 16:44:29 +02:00