Salome HOME
Add a patch to make the build of netgen more user-friendly
[modules/smesh.git] / idl / SMESH_BasicHypothesis.idl
index 694b791bab144dd13ced91c9b29ce6330d4ecc4f..f6a37655c57a34bcea18493134e2aeecc3a63e5f 100644 (file)
@@ -1,11 +1,27 @@
-//=============================================================================
-// File      : SMESH_BasicHypothesis.idl
-// Created   : mer mai 15 13:37:18 CEST 2002
-// Author    : Paul RASCLE, EDF
-// Project   : SALOME
-// Copyright : EDF 2002
-// $Header$
-//=============================================================================
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  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 
+//
+//
+//
+//  File   : SMESH_BasicHypothesis.idl
+//  Author : Paul RASCLE, EDF
+//  $Header$
 
 #ifndef _SMESH_BASICHYPOTHESIS_IDL_
 #define _SMESH_BASICHYPOTHESIS_IDL_
@@ -28,6 +44,9 @@ module SMESH
     void SetNumberOfSegments(in long segmentsNumber) 
       raises (SALOME::SALOME_Exception);
     long GetNumberOfSegments();
+    void SetScaleFactor(in double scaleFactor)
+      raises (SALOME::SALOME_Exception);
+    double GetScaleFactor();
   };
 
   interface SMESH_MaxElementArea : SMESH_Hypothesis
@@ -37,6 +56,13 @@ module SMESH
     double GetMaxElementArea();
   };
 
+  interface SMESH_LengthFromEdges : SMESH_Hypothesis
+  {
+    void SetMode(in long mode) 
+      raises (SALOME::SALOME_Exception);
+    long GetMode();
+  };
+
   interface SMESH_MaxElementVolume : SMESH_Hypothesis
   {
     void SetMaxElementVolume(in double volume) 
@@ -59,6 +85,13 @@ module SMESH
   interface SMESH_Hexa_3D : SMESH_3D_Algo
   {
   };
+
+#ifdef HAVE_NETGEN
+  interface SMESH_NETGEN_3D : SMESH_3D_Algo
+  {
+  };
+#endif
+
 };
 
 #endif