TDS_3 with indices: how to deal with cached circumcenters? (Delaunay_triangulation_cell_base_with_circumcenter_3 and others)
Maintainers usually reply within 3 days
@afabri is already working on this.
Since Sep 17, 2025.
Assessment
This issue has not been assessed yet.
Description
@afabri :
For the cell with cached circumcenter we use
std::optional<Point>instead of a pointer to a 3D point and it should probably be astd::unique_ptr.
@lrineau's proposal is the following:
If the TDS can add property maps, a cell property map of Point_3 is conditionally added. At first, it is the null property map (with nullptr). If the member function t.add_circumcenter_property_map(), then the property map is created, the member function dual(Cell_handle) uses it.
See commit 4b6293555860a9df9462722b39a0bda1a2d97298:
- I have created a mixing class (base class with CRTP):
https://github.com/CGAL/cgal/blob/4b6293555860a9df9462722b39a0bda1a2d97298/TDS_3/include/CGAL/TDS_3/Indexed_storage.h#L1813-L1841 - Delaunay_3 and Regular_3 use that mixing:
https://github.com/CGAL/cgal/blob/4b6293555860a9df9462722b39a0bda1a2d97298/Triangulation_3/include/CGAL/Delaunay_triangulation_3.h#L76-L97 - the
dual(Cell_handle)member function use that property map is it is created:
https://github.com/CGAL/cgal/blob/4b6293555860a9df9462722b39a0bda1a2d97298/Triangulation_3/include/CGAL/Delaunay_triangulation_3.h#L1832-L1856
TODO:
- i forgot to change the
dual(Cell_handle)member function of Rt_3.
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 1.6k
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 55
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CGAL/cgal
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 3 days
-
Allow cancellable CGAL operationsPossibly taken @AbhaySharma2009 claimed this 9 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 3 days
-
Snap_rounding_2: kd-tree query returns mostly false hot-pixel candidates for diagonal segments, and each query is costly with EpeckPossibly taken @LeoValque claimed this 9 days ago. OpenPkg::Snap_rounding_2
Maintainers usually reply within 3 days
-
corefine_and_compute_union() returns true but the output Surface_mesh has a non-manifold vertex (is_valid_polygon_mesh() is false)Possibly taken @sloriot claimed this 5 days ago. OpenDoc Not a bug Pkg::PMP
Difficulty 5/5 Over a week Newbie friendliness 12/100
CGAL/cgal#9892 · 5 comments · 1 assignee ·
Maintainers usually reply within 3 days
Similar issues
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogPossibly taken @dpc00 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
throneproj/Throne#2227 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainers usually reply within 1 day
-
bug needs testing platform:windows topic:buildsystem topic:platforms
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
godotengine/godot#126110 · 1 comment ·
Maintainers usually reply within 1 day