X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_subMesh.hxx;h=8251c6b940a3918ab772e171eb675237c9e2e9d4;hp=8669c22f04ba7ef5d63239e95741166b09efdd71;hb=45e910e8aa2dd550b677826667b11adb97c1204d;hpb=ed456586bfb1411c5bff73b221658766689a6253 diff --git a/src/SMESH/SMESH_subMesh.hxx b/src/SMESH/SMESH_subMesh.hxx index 8669c22f0..8251c6b94 100644 --- a/src/SMESH/SMESH_subMesh.hxx +++ b/src/SMESH/SMESH_subMesh.hxx @@ -58,6 +58,8 @@ class SMESH_subMesh // bool Contains(const TopoDS_Shape & aSubShape) // throw (SALOME_Exception); + SMESH_Mesh* GetFather() { return _father; } + SMESHDS_SubMesh * GetSubMeshDS(); SMESHDS_SubMesh* CreateSubMeshDS(); @@ -119,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