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 6389d72..69832b9 100644 (file)
 
 module SMESH
 {
+  enum Dimension
+  {
+    DIM_1D,
+    DIM_2D,
+    DIM_3D
+  };
+  
   interface SMESH_Hypothesis : SALOME::GenericObj
   {
     /*!
@@ -47,6 +54,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;