Salome HOME
added support for all type of edges in KindOfShape method
[modules/geom.git] / idl / GEOM_Superv.idl
index 36c204b1dea3a796b271ca909c9572efd7799c52..0ae258e6c87a58d342cfa08cf853fba4483644d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // 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.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -26,6 +26,7 @@
 #define __GEOM_SUPERV__
 
 #include "GEOM_Gen.idl"
+#include "AdvancedGEOM.idl"
 
 module GEOM
 {
@@ -34,11 +35,6 @@ module GEOM
 
   interface GEOM_Superv : Engines::EngineComponent,SALOMEDS::Driver
   {
-    //-----------------------------------------------------------//
-    // Set current study ID                                      //
-    //-----------------------------------------------------------//
-    void SetStudyID (in long theStudyID) ;
-
     //-----------------------------------------------------------//
     // Create ListOfGO and add items to it                       //
     //-----------------------------------------------------------//
@@ -161,6 +157,14 @@ module GEOM
                                       in double      theHeight) ;
     GEOM_Object MakeCylinderRH (in double theR,
                                 in double theH) ;
+    GEOM_Object MakeCylinderPntVecRHA (in GEOM_Object thePnt,
+                                      in GEOM_Object theAxis,
+                                      in double      theRadius,
+                                      in double      theHeight,
+                                      in double      theAngle) ;
+    GEOM_Object MakeCylinderRHA (in double theR,
+                                in double theH,
+                                in double theA) ;
     GEOM_Object MakeSphere (in double theX,
                             in double theY,
                             in double theZ,
@@ -241,6 +245,12 @@ module GEOM
                              in long        theOperation) ;
     GEOM_Object MakeFuse (in GEOM_Object theShape1,
                           in GEOM_Object theShape2) ;
+    GEOM_Object MakeCommon (in GEOM_Object theShape1,
+                           in GEOM_Object theShape2) ;
+    GEOM_Object MakeCut (in GEOM_Object theShape1,
+                        in GEOM_Object theShape2) ;
+    GEOM_Object MakeSection (in GEOM_Object theShape1,
+                            in GEOM_Object theShape2) ;
     GEOM_Object MakePartition (in GEOM_List   theShapes,
                                in GEOM_List   theTools,
                                in GEOM_List   theKeepInside,
@@ -258,10 +268,6 @@ module GEOM
     GEOM_Object MakeCopy (in GEOM_Object theOriginal) ;
     void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName) ;
     GEOM_Object ImportFile (in string theFileName, in string theFormatName) ;
-    void ImportTranslators (out string_array theFormats,
-                            out string_array thePatterns) ;
-    void ExportTranslators (out string_array theFormats,
-                            out string_array thePatterns) ;
 
     //-----------------------------------------------------------//
     // TransformOperations                                       //
@@ -380,10 +386,13 @@ module GEOM
                           in boolean     isPlanarWanted) ;
     GEOM_Object MakeFaceWires (in GEOM_List theWires,
                                in boolean   isPlanarWanted) ;
+    GEOM_Object MakeFaceWithConstraints(in GEOM_List theConstraints);
     GEOM_Object MakeShell (in GEOM_List theFacesAndShells) ;
     GEOM_Object MakeSolidShell (in GEOM_Object theShell) ;
     GEOM_Object MakeSolidShells (in GEOM_List theShells) ;
     GEOM_Object MakeCompound (in GEOM_List theShapes) ;
+    GEOM_Object MakeSolidFromConnectedFaces (in GEOM_List theFacesOrShells,
+                                            in boolean isIntersect);
     GEOM_Object MakeGlueFaces (in GEOM_Object theShape,
                                in double theTolerance,
                                in boolean doKeepNonSolids);
@@ -623,6 +632,54 @@ module GEOM
     GEOM_Object MakeDividedCylinder (in double theR, in double theH,
                                      in pattern thePattern);
 
+    GEOM_Object MakeSmoothingSurface (in GEOM_List thelPoints);
+    
+    //-----------------------------------------------------------//
+    // Import/Export Operations                                  //
+    //-----------------------------------------------------------//
+    void        ExportSTL( in GEOM::GEOM_Object theObject, 
+                           in string            theFileName,
+                           in boolean           theIsASCII,    
+                           in double            theDeflection,
+                           in boolean           theIsRelative );
+    GEOM_Object ImportSTL( in string theFileName );
+    
+    void        ExportBREP( in GEOM::GEOM_Object theObject, 
+                            in string            theFileName );
+    GEOM_Object ImportBREP( in string theFileName );
+    
+    void        ExportSTEP( in GEOM::GEOM_Object theObject, 
+                            in string            theFileName );
+    GEOM_Object ImportSTEP( in string  theFileName,
+                            in boolean theIsIgnoreUnits );
+                            
+    void        ExportIGES( in GEOM::GEOM_Object theObject, 
+                            in string            theFileName,
+                            in string            theVersion );
+    GEOM_Object ImportIGES( in string  theFileName,
+                            in boolean theIsIgnoreUnits );
+                            
+    boolean     ExportXAO( in GEOM_Object shape,
+                           in ListOfGO groups, 
+                           in ListOfFields fields,
+                           in string author, 
+                           in string fileName,
+                           in string shapeFileName );
+    boolean     ImportXAO( in string fileName, 
+                           out GEOM_Object shape,
+                           out ListOfGO subShapes, 
+                           out ListOfGO groups, 
+                           out ListOfFields fields );
+
+    void        ExportVTK( in GEOM::GEOM_Object theObject, 
+                           in string            theFileName,
+                           in double            theDeflection );
+
+    //-----------------------------------------------------------//
+    // Measure Operations                                        //
+    //-----------------------------------------------------------//
+    GEOM_List PatchFace(in GEOM_Object theShape);
+
     /*@@ insert new functions before this line @@ do not remove this line @@*/
  };
 };