Commit Graph

109888 Commits

Author SHA1 Message Date
Sven Oesau 1cf6fe884d missing end of line 2024-09-03 16:05:37 +02:00
Sven Oesau d7601bc132 update CMakeLists.txt condition for Visual Studio 2017 2024-09-03 16:01:37 +02:00
Sébastien Loriot b46e4359b1 make it work also for installed version 2024-09-03 15:52:51 +02:00
Sébastien Loriot cb78abd603 fixes for latest version of LAStools + be compatible with CONFIG mode
provided CMAKE_FIND_PACKAGE_PREFER_CONFIG is set to TRUE
2024-09-03 14:20:20 +02:00
Sébastien Loriot e791122b35 handle cases when LASZIP and LASLIB have different include paths 2024-09-03 09:59:02 +02:00
Nicolas Saillant e7ab525ead Update file writing to use stored scm branch content 2024-09-03 09:05:55 +02:00
Laurent Rineau 93dd87c3cc simple fix to remove the segfault with Qt>=6.7 2024-09-02 17:51:06 +02:00
Sebastien Loriot aaede41f81
Spelling corrections (#8451)
Spelling corrections
2024-09-02 13:01:09 +02:00
albert-github 37218301bb Spelling corrections
Spelling corrections
2024-09-02 12:32:30 +02:00
Nicolas Saillant b76177cdf5 Add version check for OpenMesh library 2024-09-02 09:03:45 +02:00
Sébastien Loriot b67bb2529d use assert in test 2024-09-02 09:03:30 +02:00
Sébastien Loriot ce3e8ae0de update macro 2024-08-30 16:23:27 +02:00
Sébastien Loriot 21f0f805c7 fix condition 2024-08-30 16:17:38 +02:00
Sébastien Loriot 04e90b7eb4 do not use empty variable 2024-08-30 15:58:57 +02:00
Sébastien Loriot 24ca2df2b3 do not mention data that does not exist 2024-08-30 15:35:47 +02:00
POUGET Marc ee4dbad0b3 doc fix 2024-08-30 15:34:33 +02:00
Sven Oesau a82fb5088b allow use of Rapidlasso Laslib as alternative to CGALs fork 2024-08-30 10:14:36 +02:00
Sébastien Loriot abd99b68eb handle nested holes in convex decomposition 2024-08-29 10:10:20 +02:00
Sébastien Loriot 38871d9b12 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-08-29 09:31:54 +02:00
Sébastien Loriot afb52e937d Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2024-08-29 09:31:12 +02:00
Sébastien Loriot fdd8f7f374 data dir does not exist 2024-08-29 09:08:14 +02:00
Sven Oesau 6917edd697 added test for formerly unused OutputIteratorValueType 2024-08-28 16:16:25 +02:00
Sébastien Loriot af8e134aa6 doc boost mp as gmp replacement 2024-08-28 14:04:57 +02:00
Sébastien Loriot 63d6e6505f backport of https://github.com/CGAL/cgal/pull/7382 2024-08-28 11:58:03 +02:00
Sébastien Loriot 706c5f12ae backport of https://github.com/CGAL/cgal/pull/7499 2024-08-28 11:49:45 +02:00
Laurent Rineau 12f278e431 Merge branch '5.6.x-branch' 2024-08-28 11:46:19 +02:00
Sebastien Loriot 21c75a1f0b
[PSR] Fixed example saving paths (#8437)
## Summary of Changes

Results of examples were using a file path with a folder.

## Release Management

* Affected package(s): Polygonal Surface Reconstruction
2024-08-28 11:45:41 +02:00
Laurent Rineau dc25703d6f Merge branch '5.5.x-branch' into 5.6.x-branch 2024-08-28 11:44:36 +02:00
Laurent Rineau 377e2f11bc create_new_release with SELinux: call restorecon 2024-08-28 11:37:57 +02:00
Sébastien Loriot 860f60b090 need c++17 2024-08-28 11:23:06 +02:00
Sven Oesau 4eb51f79d0 fixed saving paths 2024-08-28 10:46:59 +02:00
Laurent Rineau 261bf3aa81 try to create bug-fixes releases 2024-08-27 17:53:22 +02:00
Jane Tournois b5fc288336 update Linear_cell_complex benchmark wrt OpenMesh 2024-08-27 14:06:46 +02:00
Jane Tournois 3f6083e6ff use CGAL::OpenMesh_support in examples and tests 2024-08-27 14:06:16 +02:00
Jane Tournois 603f6a5a03 OpenMesh >= 10.0 have a OpenMeshConfig.cmake file
so we do not need FindOpenMesh.cmake anymore

We add the target CGAL::OpenMesh_support to make it uniform with other dependencies
2024-08-27 14:00:46 +02:00
Jane Tournois 328c919d67 wip CGAL_OpenMesh_support 2024-08-27 11:01:32 +02:00
Laurent Rineau 62cb850d5b create_new_release with SELinux: call restorecon 2024-08-26 15:39:02 +02:00
Sebastien Loriot e432e6558d
reformat the REUSE.toml file (readability), add natvis files (#8431)
## Summary of Changes

Simple reformating of those files.

## Release Management

* Affected package(s): Installation

No need to test in testsuite: test only the CI Action "REUSE" .
2024-08-26 15:25:29 +02:00
Sebastien Loriot 9ded34f6dd
Mesh_3 - bug fixes for `edge_distance` and `edge_min_size` (#8405)
## Summary of Changes

While experimenting on self-intersecting polyhedral surfaces, I met two
bugs:
* `edge_min_size` was not enough taken into account in
`Protect_edges_sizing_field`,
* `edge_distance` was missing the information of which `curve_id` the
edge belongs to (available using internal code)
causing crashes.

## Release Management

* Affected package(s): Mesh_3
* License and copyright ownership: unchanged
2024-08-26 15:24:29 +02:00
Sebastien Loriot fb9120fb30
Remove outdated Qt version checks (#8402)
## Summary of Changes

This PR removes outdated conditional blocks that check for specific Qt
versions since CGAL now uses Qt6 exclusively.

## Release Management

* Issue(s) solved (if any): #8381
2024-08-26 15:23:54 +02:00
Sébastien Loriot 1805701903 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-08-26 15:23:41 +02:00
Sébastien Loriot b682c47c56 Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2024-08-26 15:22:53 +02:00
Sebastien Loriot 5791f2115c
Nef_3: Fix conversion to a FaceGraph (#6727)
## Summary of Changes

Fix the case of surfaces with borders. Then they may be incident to only
the unbounded volume which so far was ignored.

## Release Management

* Affected package(s): Nef_polyhedron_3
* Issue(s) solved (if any): fix #6423
2024-08-26 15:21:47 +02:00
Sebastien Loriot 9dea168da5
Fix for Line_3 Ray_3 do_intersect (#8398)
## Summary of Changes

Some non intersection is wrongfully detected as an intersection for the
Line_3 Ray_3 combination. Here is an illustration:


![image](https://github.com/user-attachments/assets/f18fd662-5ad6-4a01-9a49-a8d0c62cf7fe)

The base code is :
```cpp
  if(!do_intersect(l, r.supporting_line()))
    return false;

  typename K::Coplanar_orientation_3 pred = k.coplanar_orientation_3_object();
  CGAL::Orientation p0p1s = pred(l.point(0), l.point(1), r.source());
  if(p0p1s == COLLINEAR)
    return true;

  CGAL::Orientation stp0 = pred(r.source(), r.second_point(), l.point(0));
  if(stp0 == COLLINEAR)
    return Ray_3_has_on_collinear_Point_3(r,l.point(0),k);

  return (p0p1s != stp0);
```

The supporting line of the ray intersects the line, and then nothing is
collinear, so we check L0,L1,R1 vs R0,R1,L0, which are of opposite sign
so there is an intersection... but there is none.

This check is very similar to what is done in Ray_3-Ray_3, where it is
correct.

I did a naive fix for now: without loss of generality we can go to the
configuration below


![image](https://github.com/user-attachments/assets/5f004941-7f58-4bf3-8416-7dc2144a891f)

and so we have an intersection as long as the ray "points" in the other
slab wrt to the line. And so, in coplanar orientation checks, if the
orientation L0,L1,R0 differs from L0, L1, (L0 + (R1-R0)).

I feel like I could probably skip at least a translation by having
something like Coplanar_orientation(P3, P3, P3, V3), and maybe even
more...

## Release Management

* Affected package(s): `Intersections_3`
* Issue(s) solved (if any): -
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
2024-08-26 15:21:21 +02:00
Sebastien Loriot 51c2cd9e90
Avoid creating degenerate planes (#8416) 2024-08-26 15:20:57 +02:00
Sebastien Loriot f32c7b015d
run_doxygen_testsuite: fix SELinux contexts so that the web server can offer the files (#8432) 2024-08-26 15:20:40 +02:00
Giles Bathgate cf30f4dfab Remove unused hashmap 2024-08-26 09:29:21 +01:00
Jane Tournois eabb4dc756 remove border degenerate faces, fixed 2024-08-26 10:21:41 +02:00
Jane Tournois c7ce0e43b8 remove boundary degenerate faces 2024-08-26 10:06:08 +02:00
Nicolas Saillant 8ef79af9e2 Add ITT library version 2024-08-26 09:49:27 +02:00