Commit Graph

105231 Commits

Author SHA1 Message Date
Jane Tournois 4e81649dd9 use set_surface_only() to be more explicit 2024-03-14 16:32:29 +01:00
Jane Tournois d085faba0c remove duplicate 2024-03-14 16:31:11 +01:00
Jane Tournois 83c88da327 move clear_cells_and_facets_from_c3t3() inside the constructor of Mesher_3
to make sure the input c3t3 is fully clean before starting refinement
2024-03-14 16:28:46 +01:00
Laurent Rineau 24cbbc689f Merge pull request #8070 from sloriot/Shape_detection-vpm_polyline_graph
Forward the VPM to polyline graph
2024-03-14 11:03:45 +01:00
Sébastien Loriot f34745c4d8 use a functor for collapsing the DAG to not depend on Filtered_kernel
nor inclusion order
2024-03-14 10:02:30 +01:00
Sébastien Loriot 3bfc61af58 pass the VPM to polyline graph 2024-03-12 10:39:28 +01:00
Laurent Rineau 2fc4a76af0 Merge remote-tracking branch 'cgal/5.5.x-branch' into 5.6.x-branch 2024-03-06 16:13:42 +01:00
Laurent Rineau 329e9d48a5
be compatible with non-C++17 compilers (#8049) 2024-03-06 16:11:09 +01:00
Sébastien Loriot 9b4f35dfa1 fix dependencies 2024-03-06 11:32:30 +01:00
Sébastien Loriot 2c8567ed16 add overload for Quotent as specialization for std::arithmetic result in undefined behavior 2024-03-06 10:48:52 +01:00
Andreas Fabri 3bd448d1a8 Polygon: Avoid stackoverflow when summing exact numbers 2024-02-28 14:28:00 +00:00
Laurent Rineau 6b4200f41a next release from this branch will be 5.6.2 2024-02-28 11:58:49 +01:00
Laurent Rineau b4e378e721 next release from this branch will be 5.5.5 2024-02-28 11:53:03 +01:00
Sébastien Loriot 27cb1144d6 be compatible with non c++17 compilers 2024-02-27 11:53:30 +01:00
Laurent Rineau 188e51bad3 Merge pull request #8032 from sloriot/PMP-locate_path
Fix invalid path
2024-02-16 18:07:46 +01:00
Laurent Rineau f407ea44ee Merge pull request #8029 from janetournois/Mesh_3-edge_min_size-jtournois
Mesh_3 with `edge_min_size` - make uses of `curve_segment_length()` consistent
2024-02-16 18:02:36 +01:00
Laurent Rineau af42edf1c2 Merge pull request #8030 from janetournois/Mesh_3-perturber_doc-jtournois
Mesh_3 - fix perturber doc
2024-02-16 18:02:34 +01:00
Sébastien Loriot 916282e164 fix invalid path 2024-02-14 14:22:47 +01:00
Sébastien Loriot 0e3074689b fix warning 2024-02-14 11:03:10 +01:00
Laurent Rineau a63babb851 Merge pull request #8004 from afabri/Point_set-fix_issue_7996-GF
Point_set_3: property uchar refers to the range 0..255 not the char type
2024-02-13 11:17:16 +01:00
Jane Tournois 51ebe945de fix the perturber doc, that was mixed with exuder (in 5.5, doc is valid) 2024-02-12 12:12:10 +01:00
Jane Tournois 34514d33f7 factorize code using curve_segment_length to one function
and use it everywhere
2024-02-12 11:46:33 +01:00
Andreas Fabri 9ea95037cf Do not call deprecated function 2024-02-07 08:01:38 +00:00
Andreas Fabri 32078f1c23 Point_set_3: property uchar refers to the range 0..255 not the char type 2024-01-26 14:35:26 +00:00
Laurent Rineau 7249b2e3ed Merge branch '5.5.x-branch' into 5.6.x-branch 2024-01-24 16:00:41 +01:00
Laurent Rineau f7b4ecd114 Merge pull request #7971 from lrineau/SMDS_3-fix_read_MEDIT-GF
Mesh_3/SMDS_3: Fix reading of .mesh files
2024-01-24 16:00:06 +01:00
Laurent Rineau ea652b8d2f Merge pull request #7993 from sloriot/Shape_detection-doc
Improve doc
2024-01-24 15:59:46 +01:00
Laurent Rineau 02263fab9b Merge pull request #7975 from afabri/SDG2-fix7972-GF
Segment_delaunay_graph_2:  Fix Issue 7972
2024-01-24 15:57:17 +01:00
Laurent Rineau 074a05811a Merge pull request #7975 from afabri/SDG2-fix7972-GF
Segment_delaunay_graph_2:  Fix Issue 7972
2024-01-24 15:54:47 +01:00
Sébastien Loriot 7431715e96 improve doc 2024-01-22 18:02:48 +01:00
Laurent Rineau 885647fe4c fix for when the line is empty 2024-01-19 15:17:04 +01:00
Laurent Rineau c539c5657c fix when reading on Linux a .mesh file produced by Windows 2024-01-17 09:56:39 +01:00
Laurent Rineau 11fc1943fb Merge branch '5.5.x-branch' into 5.6.x-branch 2024-01-11 12:44:54 +01:00
Laurent Rineau 340c825aa5 Merge pull request #7963 from sloriot/CGAL-cmake_remove_exec_command
Use execute_process that is recommanded over exec_command since 3.0
2024-01-11 12:44:49 +01:00
Laurent Rineau bb986eea43 Merge pull request #7963 from sloriot/CGAL-cmake_remove_exec_command
Use execute_process that is recommanded over exec_command since 3.0
2024-01-11 12:43:53 +01:00
Laurent Rineau 074a337e88 Mesh_3/SMDS_3: Fix reading of .mesh files
With a `.mesh` containing `Triangles` in a comment, like that one:

```
MeshVersionFormatted 1

Dimension
3

Vertices
121
-10.0402  -10.0402  -10.0402    0
-10  10  10    0
10  10  10    0
[...]
Triangles
609
     98     76     65    0
     98     81     76    0
     65     81     98    0
Tetrahedra
244
     81     65     76     98  0
     28      1     37     34  0
     69     25     70     94  0
[...]
End
```

then the code failed. It read `Triangles` as the beginning of the triangles section.

The commit use `std::getline()` to read the comments and the keywords:
- `Vertices`
- `Triangles`
- `Tetrahedra`
2024-01-11 11:35:05 +01:00
Andreas Fabri 23e56a8e3e In case of Epeck the source of a segment is not a reference 2024-01-11 10:57:55 +01:00
Andreas Fabri 3f3691a48e Add testcase that shows the problem 2024-01-11 10:57:48 +01:00
Laurent Rineau d9e5a1fba7 Merge pull request #7953 from sloriot/Kernel_23-remove_unused_var
Remove unused variable
2024-01-08 10:58:26 +01:00
Sébastien Loriot f970b9bba4 add option to remove extra newline 2024-01-05 14:08:32 +01:00
Sébastien Loriot 0ab6971ede use execute_process that is recommanded over exec_command since 3.0 2024-01-04 14:30:40 +01:00
Sébastien Loriot eed5e4f61f move comment 2024-01-02 13:15:28 +01:00
Sébastien Loriot a4ba059221 remove unused variable 2024-01-02 09:34:07 +01:00
Sebastien Loriot eb659137e6
Mesh_3 - `edge_min_size` may cause hanging (#7863)
## Summary of Changes

When the criterion `edge_min_size` is set, the graph of features is
likely to be invalid or at least inconsistent with the input graph.
Checking its topology does not make any sense and could lead to hanging
when trying to compute polyline feature lengths (because it's trying to
walk on different curves, jumping from one to the other, etc).

This PR disables the check-features-after-protect step when
`edge_min_size` is used, since we anyway do not expect the feature graph
to be exactly matching the one of the input.

## Release Management

* Affected package(s): Mesh_3
* License and copyright ownership: unchanged
2023-12-22 17:15:37 +01:00
Sébastien Loriot 47e728f2ef Merge remote-tracking branch 'cgal/5.5.x-branch' 2023-12-22 17:14:12 +01:00
Sebastien Loriot cef517a9c9
Add a switch to get rid of QP_Solver dependency (#7941) 2023-12-22 17:13:10 +01:00
Sebastien Loriot 339441a137
Surface_sweep_2: Handle new overlap on the right of an event that is interior to a curve (#7243)
Handle case of overlapping curve starting on a non start/end event.

@efifogel I don't like the fact that I'm adding some geometric tests. I
think I should check if there are overlapping curves on the right of the
event and check if the originating curves are in the status line (using
the stored hint). What do you think?

Fixes #7235
2023-12-22 17:11:47 +01:00
Sébastien Loriot c36f0ac091 add a switch to get rid of QP_Solver dependency 2023-12-19 14:42:02 +01:00
Sébastien Loriot 5d61c35a64 fix warning 2023-12-18 15:20:10 +01:00
Sébastien Loriot aee0c1557e Revert "Ported test_sweep_conic to test_sweep and fixed the conic test cases"
This reverts commit 2e99b211b0.
2023-12-18 15:14:26 +01:00