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.
|
||
|---|---|---|
| .. | ||
| Clusters.h | ||
| Do_not_refine_edges.h | ||
| Face_badness.h | ||
| Output_stream.h | ||
| README | ||
| Refine_edges.h | ||
| Refine_edges_visitor.h | ||
| Refine_edges_with_clusters.h | ||
| Refine_faces.h | ||
README
No header in this sub-directory, but Face_badness.h, is documented. They are internal headers of the Mesh_2 packages, and should not be used. If you want to use some undocumented functionnality, please contact me (Laurent Rineau <laurent.rineau@ens.fr>) so that we can see if I can move some internal details to the documented interface.