X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_subMesh.hxx;h=8251c6b940a3918ab772e171eb675237c9e2e9d4;hb=72b3cba0354ae8093f207f77ba1bc0064ac9b31b;hp=07909232de3d44fb25a16042405e4dd0afe275fe;hpb=5496cb6ab14315c9116496df1c62fc0c0a7bcc3d;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_subMesh.hxx b/src/SMESH/SMESH_subMesh.hxx index 07909232d..8251c6b94 100644 --- a/src/SMESH/SMESH_subMesh.hxx +++ b/src/SMESH/SMESH_subMesh.hxx @@ -121,7 +121,11 @@ class SMESH_subMesh // return true if theHypothesis can be attached to me: // its dimention is checked - bool IsApplicableHypotesis(const SMESH_Hypothesis* theHypothesis) const; + static bool IsApplicableHypotesis(const SMESH_Hypothesis* theHypothesis, + const TopAbs_ShapeEnum theShapeType); + + bool IsApplicableHypotesis(const SMESH_Hypothesis* theHypothesis) const + { return IsApplicableHypotesis( theHypothesis, _subShape.ShapeType() ); } // return true if theHypothesis can be used to mesh me: // its shape type is checked