Laurent Rineau
bee2138b01
Those helper functions can be static
2023-03-09 12:56:43 +01:00
Laurent Rineau
bc1b43e532
cosmetic changes with clang-format
2023-03-09 12:56:16 +01:00
Laurent Rineau
bdbe6c2646
Again a warning about non-coplanar polygons
2023-03-09 12:55:28 +01:00
Laurent Rineau
4aa227060d
Better Next_face exception, with a message
2023-03-09 12:54:52 +01:00
Laurent Rineau
81580c3e85
Detect non-coplanar polygons
2023-03-09 12:52:52 +01:00
Laurent Rineau
90387d3f5b
Write the result to dump.off
2023-03-09 12:52:17 +01:00
Laurent Rineau
31d4512108
cleanup CGAL_DEBUG_CDT_3
2023-03-09 11:50:19 +01:00
Laurent Rineau
c86c0fea01
Use new oformat possibilitities
2023-03-09 11:40:51 +01:00
Laurent Rineau
9b8cdec2d4
Triangulation_3: rewrite the code a little
...
that avoids code like `o_vt_f_pair.second.first`
Backport: master
2023-03-09 11:29:26 +01:00
Laurent Rineau
8ae9a279a4
CDT: add tests
2023-03-08 17:01:58 +01:00
Laurent Rineau
e03279ec13
Improve I/O
...
- `IO::oformat` can display triangulations vertex handles
with point, using `With_point_tag{}` as second argument,
- improve the compatibility with C++20 `<format>`: now the precision
can be specified in the format string.
Backport: master
2023-03-08 16:54:47 +01:00
Laurent Rineau
7f1ee47fc9
Fix CMake warning: remove usage of VTK_USE_FILE
...
Backport: master, 5.5.x, 5.4.x
2023-03-08 16:36:07 +01:00
Laurent Rineau
642a3d93ea
write_facets needs a ref to the triangulation
2023-02-26 15:46:01 +01:00
Laurent Rineau
e5b722aa93
Fix a warning about a copy in range-foor loop
2023-02-21 13:35:27 +01:00
Laurent Rineau
fa07828cfe
Deal with -DDCGAL_NO_DEPRECATED_CODE
2023-02-21 13:35:08 +01:00
Laurent Rineau
46fb757b57
Rework CGAL_DEBUG_CDT_3
2023-02-13 18:17:59 +01:00
Laurent Rineau
8bbc560920
WIP: not coplanar!
2023-02-13 18:07:49 +01:00
Laurent Rineau
75f871b94c
Allow to compile with Epeck
2023-02-13 16:56:05 +01:00
Laurent Rineau
b2dc7cf1d2
WIP: Triangulate cavities
2023-02-13 15:44:46 +01:00
Laurent Rineau
daa2f6f23e
Fix a warning
2023-02-13 15:44:03 +01:00
Laurent Rineau
ca4ec2bbd6
Merge pull request #7255 from lrineau/CGAL-rename_ctest_test_names-GF
...
CGAL CTest support: rename the test names
2023-02-06 15:15:07 +01:00
Laurent Rineau
441617faa4
Fix compilation error
2023-02-06 15:12:25 +01:00
Laurent Rineau
bb363119be
Merge pull request #7246 from lrineau/Triangulation_3-refactorize_remove_functions-GF
...
Triangulation_3.h: Rewrite/factorize remove functions
2023-02-06 15:05:59 +01:00
Laurent Rineau
89c5d7aa7f
Remove the call to sort to avoid determinism issues
2023-02-06 15:04:36 +01:00
Laurent Rineau
764d91b25b
Cosmetic changes
2023-02-06 15:04:36 +01:00
Laurent Rineau
0fa04af099
Split function restore_subface_region
...
Now there is a function `construct_cavities`, of 130 lines.
That is more than enough.
2023-02-06 15:04:36 +01:00
Laurent Rineau
67c7c9045d
Collect facets of upper and lower cavities
2023-02-06 15:04:36 +01:00
Laurent Rineau
cebea91180
Gather facets of upper/lower cavities
2023-02-06 15:04:36 +01:00
Laurent Rineau
ba9ddb36c7
Remove a duplicate in intersecting_edges
2023-02-06 15:04:36 +01:00
Laurent Rineau
6b671bfbc5
Debug: dump all interesting regions
2023-02-06 15:04:36 +01:00
Laurent Rineau
bec251d59c
Add a better way to deal with "already visited"
2023-02-06 15:04:36 +01:00
Laurent Rineau
6ecf273af7
Better handling of the exceptional case `Next_face`
...
`processed_faces.insert(fh_region.begin(), fh_region.end());` is done before
the assertion is thrown.
2023-02-06 15:04:36 +01:00
Laurent Rineau
8bf2a0e69a
Use a custom intersect test, report oriented edge
...
Now the first vertex of the edge is above the region
2023-02-06 15:04:36 +01:00
Laurent Rineau
e25ecbe424
Different choice of normal, not really better
...
- perfect for `cube_quad.off`,
- but not for `mpi.off`.
The truth is out there.
2023-02-06 15:04:36 +01:00
Laurent Rineau
5c23c1ce11
Add a tool to list non triangulated off files
2023-02-06 15:04:36 +01:00
Laurent Rineau
f0c60d8d23
WIP: the set of intersecting edges is constructed
...
That seems to work.
2023-02-06 15:04:36 +01:00
Laurent Rineau
3a23114476
Reduce debug informations, by default
2023-02-06 15:04:36 +01:00
Laurent Rineau
d2d841f3dc
Debug info about the polygon id
2023-02-06 15:04:36 +01:00
Laurent Rineau
29cd77764f
refactor: extract fct does_edge_intersect_region
2023-02-06 15:04:36 +01:00
Laurent Rineau
ded672a308
Use a border edge
2023-02-06 15:04:36 +01:00
Laurent Rineau
7b9bcb8dc3
Add const to for-loop
2023-02-06 15:04:36 +01:00
Laurent Rineau
9602eede86
Extract a fct search_first_intersection
2023-02-06 15:04:36 +01:00
Laurent Rineau
00d815ecb3
Refactor, reindent restore_constrained_Delaunay
2023-02-06 15:04:36 +01:00
Laurent Rineau
155f6791a2
Use std::optional<Edge> instead of bool
2023-02-06 15:04:36 +01:00
Laurent Rineau
8b23295a72
Merge pull request #7254 from lrineau/Installation-fix_CMAKE_NO_SYSTEM_FROM_IMPORTED-GF
...
Fix CMAKE_NO_SYSTEM_FROM_IMPORTED
2023-02-06 14:58:15 +01:00
Laurent Rineau
e03c0f36ce
WIP: now that assertion no long fail
2023-02-06 14:42:28 +01:00
Laurent Rineau
8dec1ab3b3
WIP: new assertion, that crashes
2023-02-06 14:42:28 +01:00
Laurent Rineau
78c3e0b342
Fix a stupid bug when the constraint is reversed
2023-02-06 14:42:28 +01:00
Laurent Rineau
0a86d2d62f
Use <format> to display new debug information
2023-02-06 14:42:28 +01:00
Laurent Rineau
b2fdc15f71
Improve debugging
2023-02-06 14:42:28 +01:00