FEM: mesh api, fix get nodes by face, credits go to user _UR

This commit is contained in:
Bernd Hahnebach
2018-03-19 13:23:58 +01:00
committed by wmayer
parent 437d1cc668
commit 42987dac37

View File

@@ -756,7 +756,7 @@ std::set<int> FemMesh::getNodesByFace(const TopoDS_Face &face) const
std::set<int> result;
Bnd_Box box;
BRepBndLib::Add(face, box);
BRepBndLib::Add(face, box, Standard_False); // https://forum.freecadweb.org/viewtopic.php?f=18&t=21571&start=70#p221591
// limit where the mesh node belongs to the face:
double limit = BRep_Tool::Tolerance(face);
box.Enlarge(limit);