Commit Graph

109795 Commits

Author SHA1 Message Date
Laurent Rineau 959e3bc812
TestSuite: Add condition to check if CXXFLAGS variable is empty (#8421)
## Summary of Changes

Added a check to avoid duplicating CXXFLAGS in the test suite
2024-08-21 16:38:31 +02:00
Nicolas Saillant 35b5c086af Add condition to check if CXXFLAGS variable is empty 2024-08-21 16:13:38 +02:00
Donghao Chu 286be1cfd0 Pass random instance to GeneratorOnObject in Generic_random_point_generator for consistency 2024-08-21 14:38:31 +08:00
Laurent Rineau d5e4116485 bug fixes to adapt to the new cgal.geometryfactory.com machine 2024-08-20 15:46:21 +02:00
Jane Tournois 93fd7f87c7 vertices(edge) is not available in P3T3 2024-08-20 10:58:38 +02:00
Sébastien Loriot ca2907fbfc avoid creating degenerate planes 2024-08-20 10:09:23 +02:00
Sébastien Loriot a1a7b65275 remove remaining QT_VERSION_CHECK 2024-08-19 13:01:09 +02:00
Sebastien Loriot 2bc86f90ca
keep correct variant 2024-08-19 12:54:46 +02:00
Sebastien Loriot ac9a701342
remove leftover 2024-08-19 12:53:37 +02:00
Jane Tournois 4a35823f1f ease dump code reading 2024-08-19 12:24:59 +02:00
Jane Tournois 481de41e2f use c++11 for loops 2024-08-19 12:24:32 +02:00
Jane Tournois 14a9db6d00 weight_modifier was likely to make the weight too small
let's keep the minimal weight as given in meshing criteria
2024-08-19 12:23:32 +02:00
Nicolas Saillant 1286d8b636 Remove deprecated Qt version checks 2024-08-19 12:02:19 +02:00
Sébastien Loriot ce678a62b9 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-08-19 11:23:25 +02:00
Sebastien Loriot 8730ff5d55
Shape_detection: using proper triangulated polygonal faces for linear_least_squares (#8314)
## Summary of Changes

Polygonal faces are now triangulated and face normals are calculated
using PMP::compute_face_normal.

The calculated face normals and triangulations are buffered in
Least_squares_plane_fit_region. However, Least_squares_plane_fit_sorting
is independent and does not benefit from that buffered data.

## Release Management

* Affected package(s): Shape_detection
* Issue(s) solved (if any): fix #7992
2024-08-19 11:22:41 +02:00
Sébastien Loriot 060f81452a Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2024-08-19 11:19:24 +02:00
Sebastien Loriot 07d33dc316
Update to REUSE tools v4 (#8350) 2024-08-19 11:18:34 +02:00
Sebastien Loriot 393f033c19
Move point cloud to the right directory (#8408) 2024-08-19 11:18:02 +02:00
Sebastien Loriot 47c417a785
Deal with duplicate lines (#8396)
## Summary of Changes

Deal with Issue #8348 

## Release Management

* Affected package(s):  Triangulation_2 and Periodic_triangulation_2
* Issue(s) solved (if any): fix #8348 
* License and copyright ownership:  unchanged
2024-08-19 11:17:50 +02:00
Sebastien Loriot e80fe2716c
add validation for the range case (#8410)
Fixes  #6840

@efifogel I did not use expensive assertion as you mentioned because it
is already done this way in intersection and symmetric_difference.
2024-08-19 11:15:58 +02:00
Sebastien Loriot 078fe188c5
Use default surface topology criteria (#8409)
Fixes #7406
2024-08-19 11:15:45 +02:00
Sebastien Loriot 1b8be7bb67
Speed up copy_face_graph (#8380)
Mostly when tm is not empty and almost make it less dependent on tm size

<s>Should probably be backported</s>
2024-08-19 11:15:28 +02:00
Sebastien Loriot 862a3b6539
Update CMakeLists.txt for recent VTK to fix CMake Warning (#8279)
## Summary of Changes

Versions >= 9 of VTK trigger the following CMake warning using CGAL's
CMakeLists
```
CMake Deprecation Warning at C:/dev/VTK-9.2.2/build/lib/cmake/vtk-9.2/vtk-use-file-deprecated.cmake:1 (message):
  The `VTK_USE_FILE` is no longer used starting with 8.90.
Call Stack (most recent call first):
  CMakeLists.txt:32 (include)
```

I suggest this modification of the CMakeLists of Mesh_3 examples, that
also requires moving to VTK 9 (9.0 was released in 2020).
If this modification and new requirement are validated, I can apply the
change everywhere.

## Release Management

* Affected package(s): Mesh_3 for now
* License and copyright ownership: unchanged
2024-08-19 11:14:31 +02:00
Nicolas Saillant 926dab060e Reintroduce QPainterPath reset logic 2024-08-19 09:43:55 +02:00
Sébastien Loriot d20cef2f91 remove unused variable 2024-08-19 09:02:24 +02:00
Sébastien Loriot 30fc15064b add assertions 2024-08-14 18:22:04 +02:00
Sébastien Loriot 403ec19f8a clean up and move skip test to export header 2024-08-14 18:18:26 +02:00
Sébastien Loriot 6e5f37474f bad type 2024-08-14 17:20:06 +02:00
Sébastien Loriot e931d1258b add missing include 2024-08-14 16:52:42 +02:00
Sébastien Loriot 7d0969d15f use dynamic property maps 2024-08-14 16:10:53 +02:00
Sébastien Loriot 8c70d6120f hide PMP usage behind a macro 2024-08-14 15:26:33 +02:00
Sébastien Loriot 5b731118f9 add validation for the range case 2024-08-13 16:22:36 +02:00
Sébastien Loriot 2c31defc65 backport f7a4836039 to the deprecated test 2024-08-13 16:14:23 +02:00
Sébastien Loriot a8d7bd1850 move point cloud to the right directory 2024-08-13 13:57:44 +02:00
Andreas Fabri 99539be5c5 explain why duplicate 2024-08-13 08:50:04 +01:00
Andreas Fabri f63c99d342 remove duplicates 2024-08-13 08:48:31 +01:00
Sébastien Loriot 35195e311a undo incorrect simplification 2024-08-12 18:11:39 +02:00
Sebastien Loriot fb4416fff5
typo 2024-08-12 18:10:40 +02:00
Sebastien Loriot 1f5d7fcbc0
Tet remeshing - remove assertion in Adaptive sizing field (#8378)
## Summary of Changes

The assertion is invalid (at least) when the function takes a far
vertex, inserted by parallel version of Mesh_3.

## Release Management

* Affected package(s): Mesh_3
* License and copyright ownership: unchanged
2024-08-12 14:52:35 +02:00
Jane Tournois fd498e398a fix approx_is_too_large(edge) that needs the corresponding curve_index to be valid
use minimal_size instead of 0

fix 5e64bced8e37ce076f26317e9ea7638a14c9696c

fix approx_is_too_large(edge) that needs the corresponding curve_index to be valid

and fix the default edge_min_size
2024-08-12 12:37:03 +01:00
Sébastien Loriot eeffa4b752 speed up copy_face_graph
mostly when tm is not empty and almost make it less
dependent on tm size
2024-08-12 09:44:43 +02:00
Laurent Rineau 6c54f77311 updated crontab (automated commit) 2024-08-10 17:28:48 +02:00
Andreas Fabri 12468ccf4a Address #8401 2024-08-09 11:32:26 +01:00
Laurent Rineau 0de76f0c82 updated crontab (automated commit) 2024-08-09 12:18:09 +02:00
Jane Tournois fa97ae8612 add missing not-nullptr check 2024-08-08 17:31:14 +02:00
Jane Tournois 4d38aa566e improve Mesh_3 log in demo 2024-08-08 17:30:22 +02:00
Jane Tournois 0bc3658893 use the 5 parameters version to avoid re-calling locate(p) and locate(q) 2024-08-08 15:28:09 +02:00
Jane Tournois f8de6e72b8 take min_size into account inside Mesh_edge_criteria_3 2024-08-08 15:26:59 +02:00
Nicolas Saillant bf10f945a9 Remove deprecated Qt version checks and unused code 2024-08-07 10:00:59 +02:00
Mael Rouxel-Labbé c1e5926e70 Add new Intersection_3 test cases 2024-08-06 10:36:09 +02:00