Salome HOME
0020918: EDF 1447 SMESH: Mesh common borders
authoreap <eap@opencascade.com>
Fri, 12 Nov 2010 14:34:11 +0000 (14:34 +0000)
committereap <eap@opencascade.com>
Fri, 12 Nov 2010 14:34:11 +0000 (14:34 +0000)
+  /*!
+   * \brief Find a mesh with given persistent ID
+   */
+  SMESH_Mesh* GetMeshByPersistentID(int id);

src/SMESH/SMESH_Hypothesis.hxx

index 1eb5ae8c85bc733c59e30084b0b6f57d38439c06..82afd4bbcb7327781e0b057c99ea1a6ca5564e28 100644 (file)
@@ -114,6 +114,11 @@ public:
   virtual bool IsAuxiliary() const
   { return GetType() == PARAM_ALGO && _param_algo_dim < 0; }
 
+  /*!
+   * \brief Find a mesh with given persistent ID
+   */
+  SMESH_Mesh* GetMeshByPersistentID(int id);
+
 protected:
   SMESH_Gen* _gen;
   int _studyId;