mirror of https://github.com/CGAL/cgal
Bug reported by a user against CGAL-4.0.2
A single triangle cannot be meshed!
The fault was a buggy assertion added in the following revision:
|-----------------------------------------------------------------------
|r66359 | lrineau | 2011-11-16 18:58:22 +0100 (Wed, 16 Nov 2011) | 3 lines
|
|Add an assertion that checks that a point constructed as the midpoint of an
|edge is located either on the edge or inside one of the two incident faces.
|
|-----------------------------------------------------------------------
And the assertion message was:
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: zone.locate_type != Tr::FACE || zone.fh == f || zone.fh == n
File: /home/lrineau/wc/Mesh_2/test/Mesh_2/../../include/CGAL/Mesh_2/Refine_edges.h
Line: 430
Explanation: Your data set contains at least a vertex that is very close to
a constrained edge! Mesh_2 cannot mesh that sort of data set.
|
||
|---|---|---|
| .. | ||
| IO | ||
| Mesh_2 | ||
| Meshes | ||
| internal | ||
| Delaunay_mesh_area_criteria_2.h | ||
| Delaunay_mesh_criteria_2.h | ||
| Delaunay_mesh_face_base_2.h | ||
| Delaunay_mesh_local_size_criteria_2.h | ||
| Delaunay_mesh_size_criteria_2.h | ||
| Delaunay_mesher_2.h | ||
| Delaunay_mesher_no_edge_refinement_2.h | ||
| Double_map.h | ||
| Filter_circulator.h | ||
| Mesher_level.h | ||
| Mesher_level_default_implementations.h | ||
| Mesher_level_visitors.h | ||
| Triangulation_conformer_2.h | ||