1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #ifndef _GEOM_I3DPrimOperations_i_HeaderFile
22 #define _GEOM_I3DPrimOperations_i_HeaderFile
25 #include <SALOMEconfig.h>
27 #include CORBA_SERVER_HEADER(GEOM_Gen)
28 #include "GEOM_IOperations_i.hh"
29 #include "GEOM_Object_i.hh"
31 #include "GEOMImpl_I3DPrimOperations.hxx"
33 class GEOM_I3DPrimOperations_i :
34 public virtual POA_GEOM::GEOM_I3DPrimOperations,
35 public virtual GEOM_IOperations_i
38 GEOM_I3DPrimOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
39 ::GEOMImpl_I3DPrimOperations* theImpl);
40 ~GEOM_I3DPrimOperations_i();
42 GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
46 GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
47 GEOM::GEOM_Object_ptr thePnt2);
49 GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
52 GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
53 GEOM::GEOM_Object_ptr theVec,
57 GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
61 GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
62 GEOM::GEOM_Object_ptr theVec,
67 GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
69 GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
72 GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
73 CORBA::Double theRMinor);
75 GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr theCenter,
76 GEOM::GEOM_Object_ptr theVector,
77 CORBA::Double theRMajor,
78 CORBA::Double theRMinor);
80 GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
81 GEOM::GEOM_Object_ptr theVec,
84 GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
85 GEOM::GEOM_Object_ptr thePoint1,
86 GEOM::GEOM_Object_ptr thePoint2);
88 GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
89 GEOM::GEOM_Object_ptr thePath);
91 GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
92 GEOM::GEOM_Object_ptr theAxis,
93 CORBA::Double theAngle);
95 GEOM::GEOM_Object_ptr MakeFilling(GEOM::GEOM_Object_ptr theShape, CORBA::Long theMinDeg, CORBA::Long theMaxDeg, CORBA::Double theTol2D, CORBA::Double theTol3D, CORBA::Long theNbIter);
97 GEOM::GEOM_Object_ptr MakeThruSections(const GEOM::ListOfGO& theSeqSections,
98 CORBA::Boolean theModeSolid,
99 CORBA::Double thePreci,
100 CORBA::Boolean theRuled);
102 GEOM::GEOM_Object_ptr MakePipeWithDifferentSections(const GEOM::ListOfGO& theBases,
103 const GEOM::ListOfGO& theLocations,
104 GEOM::GEOM_Object_ptr thePath,
105 CORBA::Boolean theWithContact,
106 CORBA::Boolean theWithCorrections);
108 GEOM::GEOM_Object_ptr MakePipeWithShellSections(const GEOM::ListOfGO& theBases,
109 const GEOM::ListOfGO& theSubBases,
110 const GEOM::ListOfGO& theLocations,
111 GEOM::GEOM_Object_ptr thePath,
112 CORBA::Boolean theWithContact,
113 CORBA::Boolean theWithCorrections);
115 ::GEOMImpl_I3DPrimOperations* GetOperations()
116 { return (::GEOMImpl_I3DPrimOperations*)GetImpl(); }