add missing check for lam range in PointContainedIn2DElement in Quad

This commit is contained in:
Christopher Lackner 2023-04-11 22:00:38 +02:00
parent 9180f9b972
commit b12d40a0c0

View File

@ -5311,6 +5311,8 @@ namespace netgen
return false;
lami[0] = lam[0];
lami[1] = lam[1];
if(lami[0] < -eps || lami[0] > 1+eps || lami[1] < -eps || lami[1] > 1+eps)
return false;
return true;
}