Laurent Rineau
1f75f30ab2
WIP: more fix
2023-11-16 10:32:14 +01:00
Laurent Rineau
cc98a40424
WIP : fix
2023-11-16 10:32:14 +01:00
Laurent Rineau
c9540b13c5
WIP: add insert_in_cdt_3
2023-11-16 10:32:14 +01:00
Laurent Rineau
4f50a45374
Extract inner_map_of_cavity to a member function
2023-11-16 10:32:14 +01:00
Laurent Rineau
569aeb33f4
fix a bug?
...
The code review found that as a bug, but it never showed.
2023-11-16 10:32:14 +01:00
Laurent Rineau
16171923c7
extract the lambda register_facet_to_be_constrained
...
to a member function
2023-11-16 10:32:14 +01:00
Laurent Rineau
dc95d1ac59
fix typos (detected by spell-checker)
2023-11-16 10:32:14 +01:00
Laurent Rineau
f46654ef8c
more a function
...
Now the two functions are adjacent:
- `try_to_insert_circumcenter_in_face_or_return_encroached_edge` and
- `insert_mid_point_in_constrained_edge`
2023-11-09 19:39:47 +01:00
Laurent Rineau
255178644d
`inner_map_of_cavity` uses `this` as const and nothing else
...
That means it could be replaced by a const member function
2023-11-09 19:38:46 +01:00
Laurent Rineau
d1c513ac0d
result of the review with Jane
2023-11-09 19:38:01 +01:00
Laurent Rineau
92aabb00ad
use std::invoke (C++17) for IILE
...
*Immediately Invoked Lambda Expression*
Now that CGAL can use C++17 , switch to `std::invoke`
that is more readable that the two small characters `()`
hidden somewhere a few lines below.
With `std::invoke`, we understand straight away that the lambda is
called immediately.
Ref:
https://www.cppstories.com/2016/11/iife-for-complex-initialization/
2023-11-09 19:36:53 +01:00
Laurent Rineau
5997b70327
`triangulate_cavity` is a fct without side effect
...
(but the debug outputs)
2023-11-08 16:39:56 +01:00
Laurent Rineau
4d7a2fee64
Extract map_cavity_vertices_to_ambient_vertices
...
- make it const,
- and simplify the reuse of the API.
2023-11-08 15:52:20 +01:00
Laurent Rineau
25de4ee6b7
Merge remote-tracking branch 'cgal/master' into Triangulation_3-CDT_3-lrineau
2023-11-07 15:02:43 +01:00
Sébastien Loriot
ca0f9acbe0
Merge remote-tracking branch 'cgal/5.6.x-branch'
2023-10-25 17:43:16 +02:00
Laurent Rineau
eb1ab88c04
Adapt triangulate_cavity
...
that will allows its reuse by the function `insert(Point)`
2023-10-24 11:39:58 +02:00
Sébastien Loriot
9cefb1a481
fix out-of-bound warnings
2023-10-19 11:40:35 +02:00
Laurent Rineau
afce4db325
commit more debug code
2023-10-17 18:06:18 +02:00
Laurent Rineau
0186e9add9
add another option
...
this one is to dump the input surface with the extra Steiner points
of the conforming.
And add a --help option as well.
2023-10-17 16:05:35 +02:00
Laurent Rineau
4380273203
fix the number of added vertices in a cavity
2023-10-13 16:50:30 +02:00
Laurent Rineau
d1e76c2099
fix typo
2023-10-13 16:48:48 +02:00
Laurent Rineau
265d3ba8fe
reimplement brute_force_border_3_of_region
2023-10-04 16:16:33 +02:00
Laurent Rineau
634992dc9b
Replace ERROR by NOTE because those were not errors
2023-10-02 11:46:10 +02:00
Laurent Rineau
0f8539c0ad
fix another bug in construct_Steiner_point
...
@MaelRL This is the bug of Saddle-1CC.
2023-10-02 11:45:47 +02:00
Laurent Rineau
32903bd0fb
allow the compilation with Epeck
2023-09-29 15:10:37 +02:00
Laurent Rineau
2d87d4172d
fix code when CGAL_NDEBUG or NDEBUG is defined
2023-09-26 15:34:17 +02:00
Laurent Rineau
a1ac93b529
fix a warning
2023-09-26 15:33:44 +02:00
Laurent Rineau
38e836c963
oformat is in CGAL::IO::
2023-09-26 13:00:20 +02:00
Laurent Rineau
0cdb022027
fix a bug in dimension 2
...
There was a warning:
```
Triangulation_3/include/CGAL/Constrained_Delaunay_triangulation_3.h:1841:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
[build] 1841 | } // dim 2
[build] | ^
```
and for once that was a warning about a real bug!
2023-09-26 12:50:56 +02:00
Laurent Rineau
091878f592
those debug function must be const
2023-09-25 18:58:35 +02:00
Laurent Rineau
5bc5ec4f46
fix cheese18 --merge-facets
...
The explanation of the bug:
`split_graph_into_polylines` can reverse the orientation of a polygon
2023-09-25 17:58:03 +02:00
Laurent Rineau
616cdfbc7a
fix implementation of constraint_from_extremities
...
It fixes `HexiCosPot-1.off`.
2023-09-22 14:28:53 +02:00
Laurent Rineau
188f99ff97
code to detriangulate facets
2023-09-13 09:25:04 +02:00
Laurent Rineau
3b77eaac1c
WIP: preliminary work on detriangulate
2023-09-07 12:53:39 +02:00
Laurent Rineau
6234786dd9
is_valid: test all cells before return false
2023-09-04 11:11:23 +02:00
Laurent Rineau
6070f6e01a
tweak debug macros
2023-08-31 18:23:48 +02:00
Laurent Rineau
fc0cb34e64
more verbose is_valid
2023-08-31 12:06:33 +02:00
Laurent Rineau
cf73165563
debug msg
2023-08-31 12:04:53 +02:00
Laurent Rineau
f631d1eefe
Use a centroid
...
That ensures that the Steiner point is inside the constrained polygon.
2023-08-31 11:59:25 +02:00
Laurent Rineau
e8c6d15652
implement edge flip for regions of two triangles
2023-08-31 11:51:14 +02:00
Laurent Rineau
4d132faedd
extract lambdas iinto proper member functions
2023-08-03 16:42:28 +02:00
Laurent Rineau
420a3789c5
fix the detection of encroached constrained edge in the face
2023-08-02 18:24:22 +02:00
Laurent Rineau
6f965038fa
add a new assertion
2023-08-02 18:16:18 +02:00
Laurent Rineau
6c06dcbf34
change verbosity level of debug messages
2023-08-02 17:01:31 +02:00
Laurent Rineau
7df2963397
fix formatting
2023-08-02 16:03:40 +02:00
Laurent Rineau
07cfd82a84
add const/non_const ref to the CDT_2
2023-08-02 16:02:53 +02:00
Laurent Rineau
e4e94d6cdb
merge two contiguous `if CGAL_DEBUG_CDT_3`
2023-08-02 11:31:18 +02:00
Laurent Rineau
b5c8557797
fix Steiner points on edges
...
for the conforming
(during the review session with Jane)
2023-08-01 15:49:13 +02:00
Laurent Rineau
cf0fd18715
add CGAL/cdt_debug_ui.h
2023-08-01 10:21:04 +02:00
Laurent Rineau
28384ddadb
track the 3D facet correspind to CDT_2's facets
2023-08-01 09:31:27 +02:00