Skip to content

Conversation

@janetournois
Copy link
Member

Summary of Changes

Here, p corresponds to a point on a feature, with dimension 1.
We must use curve_index and not p_index, which may be a corner index for p corresponding to a vertex with in_dimension=0.

The risk is to compare a Corner_index and a Curve_index which have the same types (int by default) and same values though they correspond to corner of index i and curve of index i

Release Management

  • Affected package(s): Mesh_3
  • Issue(s) solved (if any): fix ?
  • License and copyright ownership: unchanged

…e_index

not p_index, that may be a corner index with dimension 0
Copy link
Member

@lrineau lrineau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. It seems to fix a real bug.

@sloriot
Copy link
Member

sloriot commented Jan 9, 2026

Successfully tested in CGAL-6.2-Ic-79

@sloriot sloriot merged commit 326c2c3 into CGAL:6.0.x-branch Jan 9, 2026
8 checks passed
@sloriot sloriot deleted the Mesh_3-fix_protecting_balls-jtournois branch January 9, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants