TDS_3 with indices: how to deal with cached circumcenters? (Delaunay_triangulation_cell_base_with_circumcenter_3 and others)

Open
#8,970 0 comments 0 reactions 1 assignee View on GitHub

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

Pkg::TDS_3

@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 a std::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:

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CGAL/cgal

All issues in CGAL/cgal

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.