Skip to content

degenerated triangle created during tetraremeshing #9116

@sloriot

Description

@sloriot

cf:

https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.2-Ic-30/Tetrahedral_remeshing/TestReport_lrineau_Ubuntu-GCC_master_CXX20-Release.gz

------------------------------------------------------------------
- Tetrahedral_remeshing/ProgramOutput.execution   of  test_tetrahedral_remeshing
------------------------------------------------------------------

CGAL::Random()::get_seed() = 1761791917
CGAL Random seed = 1761791917
valid data structure
valid triangulation
Tetrahedral remeshing (nb_iter = 1, protect = false)
Init tetrahedral remeshing...done.
# Iteration 1 #
Split long edges... done (4186 splits, in 0.0740721 sec).
Collapse short edges... done (1 collapses, in 0.0371809 seconds).
Flip edges...
Flip edges... done (29/6105 surface/volume flips done, in 0.467208 seconds).
Smooth vertices...terminate called after throwing an instance of 'CGAL::Assertion_exception'
  what():  CGAL ERROR: assertion violation!
File: /mnt/testsuite/include/CGAL/Intersections_3/internal/Ray_3_Triangle_3_intersection.h
Line: 382

I tried locally with this seed but could not reproduce. The intersection code seems to indicate that the tested triangle is degenerate.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions