mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-25 04:10:33 +05:00
fixed exception
This commit is contained in:
parent
9f83730fb5
commit
fdf26641dd
@ -452,7 +452,7 @@ public:
|
||||
gp_Pnt PLast3d = surf->Value(PLast.X(), PLast.Y());
|
||||
|
||||
if (points.front().Distance(P1) <= tol)
|
||||
throw Exception("First item of given list of points is too close to current position (distance <= tol).")
|
||||
throw Exception("First item of given list of points is too close to current position (distance <= tol).");
|
||||
|
||||
Handle(TColgp_HArray1OfPnt2d) allpoints = new TColgp_HArray1OfPnt2d(1, points.size() + 1);
|
||||
allpoints->SetValue(1, P1);
|
||||
|
Loading…
Reference in New Issue
Block a user