-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 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
// 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
#define __GEOM_SUPERV__
#include "GEOM_Gen.idl"
+#include "AdvancedGEOM.idl"
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 //
//-----------------------------------------------------------//
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,
//-----------------------------------------------------------//
GEOM_Object MakeBoolean (in GEOM_Object theShape1,
in GEOM_Object theShape2,
- in long theOperation,
- in boolean IsCheckSelfInte) ;
+ in long theOperation) ;
GEOM_Object MakeFuse (in GEOM_Object theShape1,
- in GEOM_Object theShape2,
- in boolean IsCheckSelfInte) ;
+ 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,
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) ;
- boolean ExportXAO(in GEOM_Object shape,
- in ListOfGO groups, in ListOfGO fields,
- in string author, in string fileName);
- boolean ImportXAO(in string fileName, out GEOM_Object shape,
- out ListOfGO subShapes, out ListOfGO groups, out ListOfGO fields);
//-----------------------------------------------------------//
// TransformOperations //
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);
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 );
/*@@ insert new functions before this line @@ do not remove this line @@*/
};