Fix return value of ProjectPointGI

This commit is contained in:
mhochsteger@cerbsim.com 2022-03-07 21:08:04 +01:00
parent 679942033e
commit 1e6ab35f4d

View File

@ -251,7 +251,7 @@ namespace netgen
{ {
if(surfind > 0 && surfind <= faces.Size()) if(surfind > 0 && surfind <= faces.Size())
return faces[surfind-1]->ProjectPointGI(p, gi); return faces[surfind-1]->ProjectPointGI(p, gi);
return true; return false;
} }
virtual Vec<3> GetNormal(int surfind, const Point<3> & p, const PointGeomInfo* gi = nullptr) const virtual Vec<3> GetNormal(int surfind, const Point<3> & p, const PointGeomInfo* gi = nullptr) const