fix delaunay2d

This commit is contained in:
Matthias Hochsteger 2022-09-06 15:14:50 +02:00
parent 412fd372d0
commit ae2dddcff7

View File

@ -668,6 +668,11 @@ namespace netgen
for (auto pi : points_range) for (auto pi : points_range)
dmesh.AddPoint(pi); dmesh.AddPoint(pi);
auto first_new_point = points_range.Next();
tempmesh.AddPoint(P3(temp_points[first_new_point]));
tempmesh.AddPoint(P3(temp_points[first_new_point+1]));
tempmesh.AddPoint(P3(temp_points[first_new_point+2]));
timer_addpoints.Stop(); timer_addpoints.Stop();
static Timer taddseg("addseg"); static Timer taddseg("addseg");