Salome HOME
Dimension enumeration and IsDimSupported method added
authorsln <sln@opencascade.com>
Tue, 23 Aug 2005 08:34:05 +0000 (08:34 +0000)
committersln <sln@opencascade.com>
Tue, 23 Aug 2005 08:34:05 +0000 (08:34 +0000)
idl/SMESH_Hypothesis.idl

index 6389d724f811644b8a132379295e39f9e92dcea9..69832b9ed37f854750ebba69bb4c9084b9e8c660 100644 (file)
 
 module SMESH
 {
 
 module SMESH
 {
+  enum Dimension
+  {
+    DIM_1D,
+    DIM_2D,
+    DIM_3D
+  };
+  
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
     /*!
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
     /*!
@@ -47,6 +54,11 @@ module SMESH
      * Get the internal Id 
      */
     long GetId();
      * Get the internal Id 
      */
     long GetId();
+    
+    /*!
+     * Verify whether hypothesis supports given entity type 
+     */
+    boolean IsDimSupported( in Dimension type );
   };
 
   typedef sequence<string> ListOfHypothesisName;
   };
 
   typedef sequence<string> ListOfHypothesisName;