Salome HOME
Fix for IPAL19402: Qt4 porting: SIGSEGV on mesh computing.
[modules/smesh.git] / idl / SMESH_Hypothesis.idl
index 6389d724f811644b8a132379295e39f9e92dcea9..4076e5c8af353bca37fd5549547bb95af62a844f 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 
 module SMESH
 {
+  enum Dimension
+  {
+    DIM_0D,
+    DIM_1D,
+    DIM_2D,
+    DIM_3D
+  };
+  
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
     /*!
@@ -47,6 +55,11 @@ module SMESH
      * Get the internal Id 
      */
     long GetId();
+    
+    /*!
+     * Verify whether hypothesis supports given entity type 
+     */
+    boolean IsDimSupported( in Dimension type );
   };
 
   typedef sequence<string> ListOfHypothesisName;
@@ -60,6 +73,13 @@ module SMESH
 
   };
 
+  interface SMESH_0D_Algo : SMESH_Algo
+  {
+    /*!
+     * 
+     */
+  };
+
   interface SMESH_1D_Algo : SMESH_Algo
   {
     /*!