Salome HOME
New smesh example from Francis KLOSS
[modules/smesh.git] / idl / SMESH_Hypothesis.idl
index 6389d724f811644b8a132379295e39f9e92dcea9..b4fdd1c814433d16c3fe9f3765695f9ed58ccb5a 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_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;