diff --git a/Mesh/2D_Mesh.cpp b/Mesh/2D_Mesh.cpp index 369fba59776bf3f8f87b4b41baa2da1b7bc00eb8..4d5c93c1b12bd5b2876bbff339fc85e376c4df52 100644 --- a/Mesh/2D_Mesh.cpp +++ b/Mesh/2D_Mesh.cpp @@ -1,4 +1,4 @@ -// $Id: 2D_Mesh.cpp,v 1.71 2005-01-08 20:15:12 geuzaine Exp $ +// $Id: 2D_Mesh.cpp,v 1.72 2005-01-10 02:10:59 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -325,7 +325,6 @@ int mesh_domain(ContourPeek * ListContours, int numcontours, List_Add(del_L, &del_P); } doc->numTriangles = List_Nbr(del_L); - verify_edges(del_L, ListContours, numcontours); verify_inside(doc->delaunay, doc->numTriangles); diff --git a/benchmarks/bugs/bug_single_element.geo b/benchmarks/bugs/bug_single_element.geo new file mode 100644 index 0000000000000000000000000000000000000000..0358cd0707a5cceae4a94477ebb78037a0e56d8f --- /dev/null +++ b/benchmarks/bugs/bug_single_element.geo @@ -0,0 +1,17 @@ + +// the old 2D algo chokes on this: + +Point(1) = {0, 0, 24.5, 90}; +Point(3) = {0, 24.5, 0, 90}; +Point(5) = {0, 0, 0, 90}; +Point(7) = {100, 42.5, 17.5, 90}; + +Circle (1) = {1, 5, 3}; // this is bad +// Line (1) = {1, 3}; // this is OK +Line (9) = {1, 7}; +Line (11) = {3, 7}; + +Line Loop (1) = {9, -11, -1}; // this is bad +// Line Loop (1000030) = {-11, -1, 9}; // this is OK + +Ruled Surface (2) = {1};