From 926b45eef13ca765764fa255ebe343ec009ba796 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 19 Feb 2007 15:34:13 +0000 Subject: [PATCH] PAL13639 (EDF PAL 317 : SMESH : Create "0D Hypothesis") make some methods const --- src/SMESHDS/SMESHDS_Mesh.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESHDS/SMESHDS_Mesh.hxx b/src/SMESHDS/SMESHDS_Mesh.hxx index d2b2257de..8d447e2f4 100644 --- a/src/SMESHDS/SMESHDS_Mesh.hxx +++ b/src/SMESHDS/SMESHDS_Mesh.hxx @@ -82,6 +82,7 @@ public: bool IsEmbeddedMode(); void ShapeToMesh(const TopoDS_Shape & S); + TopoDS_Shape ShapeToMesh() const; bool AddHypothesis(const TopoDS_Shape & SS, const SMESHDS_Hypothesis * H); bool RemoveHypothesis(const TopoDS_Shape & S, const SMESHDS_Hypothesis * H); @@ -421,12 +422,11 @@ public: const TopoDS_Shape & S); void UnSetMeshElementOnShape(const SMDS_MeshElement * anElt, const TopoDS_Shape & S); - TopoDS_Shape ShapeToMesh() const; bool HasMeshElements(const TopoDS_Shape & S); SMESHDS_SubMesh * MeshElements(const TopoDS_Shape & S) const; SMESHDS_SubMesh * MeshElements(const int Index); std::list SubMeshIndices(); - const std::map& SubMeshes() + const std::map& SubMeshes() const { return myShapeIndexToSubMesh; } bool HasHypothesis(const TopoDS_Shape & S); -- 2.39.2