Salome HOME
0022767: [EDF] Construction of composite solids
[modules/geom.git] / src / GEOM_I_Superv / GEOM_Superv_i.hh
1 // Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 #ifndef __GEOM_SUPERV_I_H__
24 #define __GEOM_SUPERV_I_H__
25
26 #include "GEOM_I_Superv.hxx"
27
28 // IDL headers
29 #include <SALOMEconfig.h>
30 #include CORBA_CLIENT_HEADER(GEOM_Gen)
31 #include CORBA_CLIENT_HEADER(AdvancedGEOM)
32 #include CORBA_CLIENT_HEADER(STLPlugin)
33 #include CORBA_CLIENT_HEADER(BREPPlugin)
34 #include CORBA_CLIENT_HEADER(STEPPlugin)
35 #include CORBA_CLIENT_HEADER(IGESPlugin)
36 #include CORBA_CLIENT_HEADER(XAOPlugin)
37 #include CORBA_CLIENT_HEADER(VTKPlugin)
38 #include CORBA_SERVER_HEADER(GEOM_Superv)
39
40 #include "SALOME_Component_i.hxx"
41 #include "SALOME_NamingService.hxx"
42
43 #include "GEOM_List_i.hh"
44
45 class GEOM_I_SUPERV_EXPORT GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
46                                            public Engines_Component_i
47 {
48 public:
49   GEOM_Superv_i(CORBA::ORB_ptr orb,
50                 PortableServer::POA_ptr poa,
51                 PortableServer::ObjectId * contId,
52                 const char *instanceName,
53                 const char *interfaceName);
54   ~GEOM_Superv_i();
55
56   // generic method to be put in a super class
57   void register_name(char * name);
58   void setGeomEngine();
59
60   void getBasicOp();
61   void get3DPrimOp();
62   void getBoolOp();
63   void getInsOp();
64   void getTransfOp();
65   void getShapesOp();
66   void getBlocksOp();
67   void getCurvesOp();
68   void getLocalOp();
69   void getGroupOp();
70   void getAdvancedOp();
71   void getSTLPluginOp();
72   void getBREPPluginOp();
73   void getSTEPPluginOp();
74   void getIGESPluginOp();
75   void getXAOPluginOp();
76   void getVTKPluginOp();
77
78   PortableServer::ServantBase_var GetServant(CORBA::Object_ptr       theObject,
79                                              PortableServer::POA_ptr thePOA);
80
81   //-----------------------------------------------------------------------//
82   // Set current stydy ID                                                  //
83   //-----------------------------------------------------------------------//
84   void SetStudyID( CORBA::Long theId );
85
86   //-----------------------------------------------------------//
87   // Create ListOfGO and add items to it                       //
88   //-----------------------------------------------------------//
89   GEOM::GEOM_List_ptr CreateListOfGO();
90   void AddItemToListOfGO(GEOM::GEOM_List_ptr& theList,
91                          GEOM::GEOM_Object_ptr theObject);
92
93   //-----------------------------------------------------------//
94   // Create ListOfLong and add items to it                     //
95   //-----------------------------------------------------------//
96   GEOM::GEOM_List_ptr CreateListOfLong();
97   void AddItemToListOfLong(GEOM::GEOM_List_ptr& theList,
98                            CORBA::Long theObject);
99
100   //-----------------------------------------------------------//
101   // Create ListOfDouble and add items to it                   //
102   //-----------------------------------------------------------//
103   GEOM::GEOM_List_ptr CreateListOfDouble();
104   void AddItemToListOfDouble(GEOM::GEOM_List_ptr& theList,
105                              CORBA::Double theObject);
106
107   //-----------------------------------------------------------------------//
108   // Inherited methods from SALOMEDS::Driver                               //
109   //-----------------------------------------------------------------------//
110
111   SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent,
112                           const char* theURL,
113                           CORBA::Boolean isMultiFile);
114
115   SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent,
116                                const char* theURL,
117                                CORBA::Boolean isMultiFile);
118
119   CORBA::Boolean Load(SALOMEDS::SComponent_ptr theComponent,
120                       const SALOMEDS::TMPFile& theStream,
121                       const char* theURL,
122                       CORBA::Boolean isMultiFile);
123
124   CORBA::Boolean LoadASCII(SALOMEDS::SComponent_ptr theComponent,
125                            const SALOMEDS::TMPFile& theStream,
126                            const char* theURL,
127                            CORBA::Boolean isMultiFile);
128
129   void Close(SALOMEDS::SComponent_ptr theComponent);
130   char* ComponentDataType();
131
132
133   char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
134                                const char* IORString,
135                                CORBA::Boolean isMultiFile,
136                                CORBA::Boolean isASCII);
137   char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject,
138                                const char* aLocalPersistentID,
139                                CORBA::Boolean isMultiFile,
140                                CORBA::Boolean isASCII);
141
142   CORBA::Boolean CanPublishInStudy(CORBA::Object_ptr theIOR);
143   SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::Study_ptr theStudy,
144                                        SALOMEDS::SObject_ptr theSObject,
145                                        CORBA::Object_ptr theObject,
146                                        const char* theName) throw (SALOME::SALOME_Exception) ;
147
148   GEOM::ListOfGO* PublishNamedShapesInStudy(SALOMEDS::Study_ptr theStudy,
149                                             //SALOMEDS::SObject_ptr theSObject,
150                                             CORBA::Object_ptr theObject);
151
152   CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);
153   SALOMEDS::TMPFile* CopyFrom(SALOMEDS::SObject_ptr theObject, CORBA::Long& theObjectID);
154   CORBA::Boolean CanPaste(const char* theComponentName, CORBA::Long theObjectID);
155   SALOMEDS::SObject_ptr PasteInto(const SALOMEDS::TMPFile& theStream,
156                                   CORBA::Long theObjectID,
157                                   SALOMEDS::SObject_ptr theObject);
158
159   //-----------------------------------------------------------//
160   // Primitives Construction : BasicOperations                 //
161   //-----------------------------------------------------------//
162   GEOM::GEOM_Object_ptr MakePointXYZ (CORBA::Double theX,
163                                       CORBA::Double theY,
164                                       CORBA::Double theZ);
165   GEOM::GEOM_Object_ptr MakePointWithReference (GEOM::GEOM_Object_ptr theReference,
166                                                 CORBA::Double theX,
167                                                 CORBA::Double theY,
168                                                 CORBA::Double theZ);
169   GEOM::GEOM_Object_ptr MakePointOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
170                                           CORBA::Double theParameter);
171   GEOM::GEOM_Object_ptr MakePointOnCurveByLength (GEOM::GEOM_Object_ptr theRefCurve,
172                                                   CORBA::Double theLength,
173                                                   GEOM::GEOM_Object_ptr theStartPoint);
174   GEOM::GEOM_Object_ptr MakePointOnCurveByCoord (GEOM::GEOM_Object_ptr theRefCurve,
175                                                  CORBA::Double theXParameter,
176                                                  CORBA::Double theYParameter,
177                                                  CORBA::Double theZParameter);
178   GEOM::GEOM_Object_ptr MakePointOnSurface (GEOM::GEOM_Object_ptr theRefSurface,
179                                             CORBA::Double theUParameter,
180                                             CORBA::Double theVParameter);
181   GEOM::GEOM_Object_ptr MakePointOnSurfaceByCoord (GEOM::GEOM_Object_ptr theRefSurface,
182                                                    CORBA::Double theXParameter,
183                                                    CORBA::Double theYParameter,
184                                                    CORBA::Double theZParameter);
185   GEOM::GEOM_Object_ptr MakePointOnLinesIntersection (GEOM::GEOM_Object_ptr theRefLine1,
186                                                       GEOM::GEOM_Object_ptr theRefLine2);
187   GEOM::GEOM_Object_ptr MakeTangentOnCurve (GEOM::GEOM_Object_ptr theRefCurve,
188                                              CORBA::Double theParameter);
189   GEOM::GEOM_Object_ptr MakeVectorDXDYDZ (CORBA::Double theDX,
190                                           CORBA::Double theDY,
191                                           CORBA::Double theDZ);
192   GEOM::GEOM_Object_ptr MakeVectorTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
193                                           GEOM::GEOM_Object_ptr thePnt2);
194   GEOM::GEOM_Object_ptr MakeLineTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
195                                         GEOM::GEOM_Object_ptr thePnt2);
196   GEOM::GEOM_Object_ptr MakeLineTwoFaces (GEOM::GEOM_Object_ptr theFace1,
197                                           GEOM::GEOM_Object_ptr theFace2);
198   GEOM::GEOM_Object_ptr MakePlaneThreePnt (GEOM::GEOM_Object_ptr thePnt1,
199                                            GEOM::GEOM_Object_ptr thePnt2,
200                                            GEOM::GEOM_Object_ptr thePnt3,
201                                            CORBA::Double theTrimSize);
202   GEOM::GEOM_Object_ptr MakePlanePntVec (GEOM::GEOM_Object_ptr thePnt,
203                                          GEOM::GEOM_Object_ptr theVec,
204                                          CORBA::Double theTrimSize);
205   GEOM::GEOM_Object_ptr MakePlaneFace (GEOM::GEOM_Object_ptr theFace,
206                                        CORBA::Double theTrimSize);
207   GEOM::GEOM_Object_ptr MakePlane2Vec (GEOM::GEOM_Object_ptr theVec1,
208                                        GEOM::GEOM_Object_ptr theVec2,
209                                        CORBA::Double theTrimSize);
210   GEOM::GEOM_Object_ptr MakePlaneLCS (GEOM::GEOM_Object_ptr theLCS,
211                                       CORBA::Double theTrimSize,
212                                       CORBA::Double theOrientation);
213   GEOM::GEOM_Object_ptr MakeMarker (CORBA::Double theOX , CORBA::Double theOY , CORBA::Double theOZ,
214                                     CORBA::Double theXDX, CORBA::Double theXDY, CORBA::Double theXDZ,
215                                     CORBA::Double theYDX, CORBA::Double theYDY, CORBA::Double theYDZ);
216
217   GEOM::GEOM_Object_ptr MakeMarkerFromShape (GEOM::GEOM_Object_ptr theShape);
218
219   GEOM::GEOM_Object_ptr MakeMarkerPntTwoVec (GEOM::GEOM_Object_ptr theOrigin,
220                                              GEOM::GEOM_Object_ptr theXVec,
221                                              GEOM::GEOM_Object_ptr theYVec);
222
223   GEOM::GEOM_Object_ptr MakeTangentPlaneOnFace (GEOM::GEOM_Object_ptr theFace,
224                                                  CORBA::Double theParameterU,
225                                                  CORBA::Double theParameterV,
226                                                  CORBA::Double theTrimSize);
227
228   //-----------------------------------------------------------//
229   // Primitives Construction : 3DPrimOperations                //
230   //-----------------------------------------------------------//
231   GEOM::GEOM_Object_ptr MakeBox (CORBA::Double theX1,
232                                  CORBA::Double theY1,
233                                  CORBA::Double theZ1,
234                                  CORBA::Double theX2,
235                                  CORBA::Double theY2,
236                                  CORBA::Double theZ2);
237   GEOM::GEOM_Object_ptr MakeBoxDXDYDZ (CORBA::Double theDX,
238                                        CORBA::Double theDY,
239                                        CORBA::Double theDZ);
240   GEOM::GEOM_Object_ptr MakeBoxTwoPnt (GEOM::GEOM_Object_ptr thePnt1,
241                                        GEOM::GEOM_Object_ptr thePnt2);
242   GEOM::GEOM_Object_ptr MakeFaceHW (CORBA::Double theH,
243                                     CORBA::Double theW,
244                                     CORBA::Short  theOrientation);
245   GEOM::GEOM_Object_ptr MakeFaceObjHW (GEOM::GEOM_Object_ptr theObj,
246                                        CORBA::Double theH,
247                                        CORBA::Double theW);
248   GEOM::GEOM_Object_ptr MakeDiskPntVecR (GEOM::GEOM_Object_ptr theCenter,
249                                          GEOM::GEOM_Object_ptr theVector,
250                                          CORBA::Double theR);
251   GEOM::GEOM_Object_ptr MakeDiskThreePnt (GEOM::GEOM_Object_ptr thePnt1,
252                                           GEOM::GEOM_Object_ptr thePnt2,
253                                           GEOM::GEOM_Object_ptr thePnt3);
254   GEOM::GEOM_Object_ptr MakeDiskR (CORBA::Double theR,
255                                    CORBA::Short  theOrientation);
256   GEOM::GEOM_Object_ptr MakeCylinderPntVecRH (GEOM::GEOM_Object_ptr thePnt,
257                                               GEOM::GEOM_Object_ptr theAxis,
258                                               CORBA::Double theRadius,
259                                               CORBA::Double theHeight);
260   GEOM::GEOM_Object_ptr MakeCylinderRH (CORBA::Double theR,
261                                         CORBA::Double theH);
262   GEOM::GEOM_Object_ptr MakeCylinderPntVecRHA (GEOM::GEOM_Object_ptr thePnt,
263                                                GEOM::GEOM_Object_ptr theAxis,
264                                                CORBA::Double theRadius,
265                                                CORBA::Double theHeight,
266                                                CORBA::Double theAngle);
267   GEOM::GEOM_Object_ptr MakeCylinderRHA (CORBA::Double theR,
268                                          CORBA::Double theH,
269                                          CORBA::Double theA);                                   
270   GEOM::GEOM_Object_ptr MakeSphere (CORBA::Double theX,
271                                     CORBA::Double theY,
272                                     CORBA::Double theZ,
273                                     CORBA::Double theRadius);
274   GEOM::GEOM_Object_ptr MakeSphereR (CORBA::Double theR);
275   GEOM::GEOM_Object_ptr MakeSpherePntR (GEOM::GEOM_Object_ptr thePnt,
276                                         CORBA::Double theR);
277   GEOM::GEOM_Object_ptr MakeTorusPntVecRR (GEOM::GEOM_Object_ptr thePnt,
278                                            GEOM::GEOM_Object_ptr theVec,
279                                            CORBA::Double theRMajor,
280                                            CORBA::Double theRMinor);
281   GEOM::GEOM_Object_ptr MakeTorusRR (CORBA::Double theRMajor,
282                                      CORBA::Double theRMinor);
283   GEOM::GEOM_Object_ptr MakeConePntVecR1R2H (GEOM::GEOM_Object_ptr thePnt,
284                                              GEOM::GEOM_Object_ptr theAxis,
285                                              CORBA::Double theR1,
286                                              CORBA::Double theR2,
287                                              CORBA::Double theHeight);
288   GEOM::GEOM_Object_ptr MakeConeR1R2H (CORBA::Double theR1,
289                                        CORBA::Double theR2,
290                                        CORBA::Double theHeight);
291   GEOM::GEOM_Object_ptr MakePrismVecH (GEOM::GEOM_Object_ptr theBase,
292                                        GEOM::GEOM_Object_ptr theVec,
293                                        CORBA::Double         theH);
294   GEOM::GEOM_Object_ptr MakePrismVecH2Ways (GEOM::GEOM_Object_ptr theBase,
295                                             GEOM::GEOM_Object_ptr theVec,
296                                             CORBA::Double         theH);
297   GEOM::GEOM_Object_ptr MakePrismTwoPnt (GEOM::GEOM_Object_ptr theBase,
298                                          GEOM::GEOM_Object_ptr thePoint1,
299                                          GEOM::GEOM_Object_ptr thePoint2);
300   GEOM::GEOM_Object_ptr MakePrismTwoPnt2Ways (GEOM::GEOM_Object_ptr theBase,
301                                               GEOM::GEOM_Object_ptr thePoint1,
302                                               GEOM::GEOM_Object_ptr thePoint2);
303   GEOM::GEOM_Object_ptr MakePrismDXDYDZ (GEOM::GEOM_Object_ptr theBase,
304                                          CORBA::Double         theDX,
305                                          CORBA::Double         theDY,
306                                          CORBA::Double         theDZ);
307   GEOM::GEOM_Object_ptr MakePrismDXDYDZ2Ways (GEOM::GEOM_Object_ptr theBase,
308                                               CORBA::Double         theDX,
309                                               CORBA::Double         theDY,
310                                               CORBA::Double         theDZ);
311   GEOM::GEOM_Object_ptr MakePipe (GEOM::GEOM_Object_ptr theBase,
312                                   GEOM::GEOM_Object_ptr thePath);
313   GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle (GEOM::GEOM_Object_ptr theBase,
314                                                  GEOM::GEOM_Object_ptr theAxis,
315                                                  CORBA::Double theAngle);
316   GEOM::GEOM_Object_ptr MakeRevolutionAxisAngle2Ways (GEOM::GEOM_Object_ptr theBase,
317                                                       GEOM::GEOM_Object_ptr theAxis,
318                                                       CORBA::Double theAngle);
319   GEOM::GEOM_Object_ptr MakeFilling (GEOM::GEOM_Object_ptr theShape,
320                                      CORBA::Long theMinDeg, CORBA::Long theMaxDeg,
321                                      CORBA::Double theTol2D, CORBA::Double theTol3D,
322                                      CORBA::Long theNbIter,
323                                      GEOM::filling_oper_method theMethod,
324                                      CORBA::Boolean theApprox);
325
326   GEOM::GEOM_Object_ptr MakeThruSections(const GEOM::ListOfGO& theSeqSections,
327                                          CORBA::Boolean theModeSolid,
328                                          CORBA::Double thePreci,
329                                          CORBA::Boolean theRuled);
330
331   GEOM::GEOM_Object_ptr MakePipeWithDifferentSections(const GEOM::ListOfGO& theBases,
332                                                       const GEOM::ListOfGO& theLocations,
333                                                       GEOM::GEOM_Object_ptr thePath,
334                                                       CORBA::Boolean theWithContact,
335                                                       CORBA::Boolean theWithCorrections);
336
337   GEOM::GEOM_Object_ptr MakePipeWithShellSections(const GEOM::ListOfGO& theBases,
338                                                   const GEOM::ListOfGO& theSubBases,
339                                                   const GEOM::ListOfGO& theLocations,
340                                                   GEOM::GEOM_Object_ptr thePath,
341                                                   CORBA::Boolean theWithContact,
342                                                   CORBA::Boolean theWithCorrections);
343
344   GEOM::GEOM_Object_ptr MakePipeShellsWithoutPath(const GEOM::ListOfGO& theBases,
345                                                   const GEOM::ListOfGO& theLocations);
346
347   GEOM::GEOM_Object_ptr MakePipeBiNormalAlongVector (GEOM::GEOM_Object_ptr theBase,
348                                                      GEOM::GEOM_Object_ptr thePath,
349                                                      GEOM::GEOM_Object_ptr theVec);
350
351   //-----------------------------------------------------------//
352   // BooleanOperations                                         //
353   //-----------------------------------------------------------//
354   GEOM::GEOM_Object_ptr MakeBoolean (GEOM::GEOM_Object_ptr theShape1,
355                                      GEOM::GEOM_Object_ptr theShape2,
356                                      CORBA::Long           theOperation);
357   GEOM::GEOM_Object_ptr MakeFuse (GEOM::GEOM_Object_ptr theShape1,
358                                   GEOM::GEOM_Object_ptr theShape2);
359   GEOM::GEOM_Object_ptr MakeCommon (GEOM::GEOM_Object_ptr theShape1,
360                                     GEOM::GEOM_Object_ptr theShape2);
361   GEOM::GEOM_Object_ptr MakeCut (GEOM::GEOM_Object_ptr theShape1,
362                                  GEOM::GEOM_Object_ptr theShape2);
363   GEOM::GEOM_Object_ptr MakeSection (GEOM::GEOM_Object_ptr theShape1,
364                                      GEOM::GEOM_Object_ptr theShape2);
365   GEOM::GEOM_Object_ptr MakePartition (GEOM::GEOM_List_ptr   theShapes,
366                                        GEOM::GEOM_List_ptr   theTools,
367                                        GEOM::GEOM_List_ptr   theKeepInside,
368                                        GEOM::GEOM_List_ptr   theRemoveInside,
369                                        CORBA::Short      theLimit,
370                                        CORBA::Boolean    theRemoveWebs,
371                                        GEOM::GEOM_List_ptr theMaterials,
372                                        CORBA::Short theKeepNonlimitShapes);
373   GEOM::GEOM_Object_ptr MakeHalfPartition (GEOM::GEOM_Object_ptr theShape,
374                                            GEOM::GEOM_Object_ptr thePlane);
375
376   //-----------------------------------------------------------//
377   // InsertOperations                                          //
378   //-----------------------------------------------------------//
379   GEOM::GEOM_Object_ptr MakeCopy (GEOM::GEOM_Object_ptr theOriginal);
380   void Export (GEOM::GEOM_Object_ptr theObject,
381                const char*           theFileName,
382                const char*           theFormatName);
383   GEOM::GEOM_Object_ptr ImportFile (const char* theFileName,
384                                     const char* theFormatName);
385
386   //-----------------------------------------------------------//
387   // TransformOperations                                       //
388   //-----------------------------------------------------------//
389   GEOM::GEOM_Object_ptr TranslateTwoPoints (GEOM::GEOM_Object_ptr theObject,
390                                             GEOM::GEOM_Object_ptr thePoint1,
391                                             GEOM::GEOM_Object_ptr thePoint2);
392   GEOM::GEOM_Object_ptr TranslateTwoPointsCopy (GEOM::GEOM_Object_ptr theObject,
393                                                 GEOM::GEOM_Object_ptr thePoint1,
394                                                 GEOM::GEOM_Object_ptr thePoint2);
395   GEOM::GEOM_Object_ptr TranslateDXDYDZ (GEOM::GEOM_Object_ptr theObject,
396                                          CORBA::Double theDX,
397                                          CORBA::Double theDY,
398                                          CORBA::Double theDZ);
399   GEOM::GEOM_Object_ptr TranslateDXDYDZCopy (GEOM::GEOM_Object_ptr theObject,
400                                              CORBA::Double theDX,
401                                              CORBA::Double theDY,
402                                              CORBA::Double theDZ);
403   GEOM::GEOM_Object_ptr TranslateVector (GEOM::GEOM_Object_ptr theObject,
404                                          GEOM::GEOM_Object_ptr theVector);
405   GEOM::GEOM_Object_ptr TranslateVectorCopy (GEOM::GEOM_Object_ptr theObject,
406                                              GEOM::GEOM_Object_ptr theVector);
407   GEOM::GEOM_Object_ptr TranslateVectorDistance (GEOM::GEOM_Object_ptr theObject,
408                                                  GEOM::GEOM_Object_ptr theVector,
409                                                  CORBA::Double theDistance,
410                                                  CORBA::Boolean theCopy);
411   GEOM::GEOM_Object_ptr MultiTranslate1D (GEOM::GEOM_Object_ptr theObject,
412                                           GEOM::GEOM_Object_ptr theVector,
413                                           CORBA::Double theStep,
414                                           CORBA::Long theNbTimes);
415   GEOM::GEOM_Object_ptr MultiTranslate2D (GEOM::GEOM_Object_ptr theObject,
416                                           GEOM::GEOM_Object_ptr theVector1,
417                                           CORBA::Double theStep1,
418                                           CORBA::Long theNbTimes1,
419                                           GEOM::GEOM_Object_ptr theVector2,
420                                           CORBA::Double theStep2,
421                                           CORBA::Long theNbTimes2);
422   GEOM::GEOM_Object_ptr Rotate (GEOM::GEOM_Object_ptr theObject,
423                                 GEOM::GEOM_Object_ptr theAxis,
424                                 CORBA::Double theAngle);
425   GEOM::GEOM_Object_ptr RotateCopy (GEOM::GEOM_Object_ptr theObject,
426                                     GEOM::GEOM_Object_ptr theAxis,
427                                     CORBA::Double theAngle);
428
429   GEOM::GEOM_Object_ptr RotateThreePoints (GEOM::GEOM_Object_ptr theObject,
430                                            GEOM::GEOM_Object_ptr theCentPoint,
431                                            GEOM::GEOM_Object_ptr thePoint1,
432                                            GEOM::GEOM_Object_ptr thePoint2);
433
434   GEOM::GEOM_Object_ptr RotateThreePointsCopy (GEOM::GEOM_Object_ptr theObject,
435                                                GEOM::GEOM_Object_ptr theCentPoint,
436                                                GEOM::GEOM_Object_ptr thePoint1,
437                                                GEOM::GEOM_Object_ptr thePoint2);
438
439   GEOM::GEOM_Object_ptr MultiRotate1D (GEOM::GEOM_Object_ptr theObject,
440                                        GEOM::GEOM_Object_ptr theAxis,
441                                        CORBA::Long theNbTimes);
442   GEOM::GEOM_Object_ptr MultiRotate2D (GEOM::GEOM_Object_ptr theObject,
443                                        GEOM::GEOM_Object_ptr theAxis,
444                                        CORBA::Double theAngle,
445                                        CORBA::Long theNbTimes1,
446                                        CORBA::Double theStep,
447                                        CORBA::Long theNbTimes2);
448   GEOM::GEOM_Object_ptr MirrorPlane (GEOM::GEOM_Object_ptr theObject,
449                                      GEOM::GEOM_Object_ptr thePlane);
450   GEOM::GEOM_Object_ptr MirrorPlaneCopy (GEOM::GEOM_Object_ptr theObject,
451                                          GEOM::GEOM_Object_ptr thePlane);
452   GEOM::GEOM_Object_ptr MirrorAxis (GEOM::GEOM_Object_ptr theObject,
453                                     GEOM::GEOM_Object_ptr theAxis);
454   GEOM::GEOM_Object_ptr MirrorAxisCopy (GEOM::GEOM_Object_ptr theObject,
455                                         GEOM::GEOM_Object_ptr theAxis);
456   GEOM::GEOM_Object_ptr MirrorPoint (GEOM::GEOM_Object_ptr theObject,
457                                      GEOM::GEOM_Object_ptr thePoint);
458   GEOM::GEOM_Object_ptr MirrorPointCopy (GEOM::GEOM_Object_ptr theObject,
459                                          GEOM::GEOM_Object_ptr thePoint);
460   GEOM::GEOM_Object_ptr OffsetShape (GEOM::GEOM_Object_ptr theObject,
461                                      CORBA::Double theOffset);
462   GEOM::GEOM_Object_ptr OffsetShapeCopy (GEOM::GEOM_Object_ptr theObject,
463                                          CORBA::Double theOffset);
464   GEOM::GEOM_Object_ptr ScaleShape (GEOM::GEOM_Object_ptr theObject,
465                                     GEOM::GEOM_Object_ptr thePoint,
466                                     CORBA::Double theFactor);
467   GEOM::GEOM_Object_ptr ScaleShapeCopy (GEOM::GEOM_Object_ptr theObject,
468                                         GEOM::GEOM_Object_ptr thePoint,
469                                         CORBA::Double theFactor);
470   GEOM::GEOM_Object_ptr ScaleShapeAlongAxes (GEOM::GEOM_Object_ptr theObject,
471                                              GEOM::GEOM_Object_ptr thePoint,
472                                              CORBA::Double theFactorX,
473                                              CORBA::Double theFactorY,
474                                              CORBA::Double theFactorZ);
475   GEOM::GEOM_Object_ptr ScaleShapeAlongAxesCopy (GEOM::GEOM_Object_ptr theObject,
476                                                  GEOM::GEOM_Object_ptr thePoint,
477                                                  CORBA::Double theFactorX,
478                                                  CORBA::Double theFactorY,
479                                                  CORBA::Double theFactorZ);
480   GEOM::GEOM_Object_ptr PositionShape (GEOM::GEOM_Object_ptr theObject,
481                                        GEOM::GEOM_Object_ptr theStartLCS,
482                                        GEOM::GEOM_Object_ptr theEndLCS);
483   GEOM::GEOM_Object_ptr PositionShapeCopy (GEOM::GEOM_Object_ptr theObject,
484                                            GEOM::GEOM_Object_ptr theStartLCS,
485                                            GEOM::GEOM_Object_ptr theEndLCS);
486   GEOM::GEOM_Object_ptr PositionAlongPath (GEOM::GEOM_Object_ptr theObject,
487                                            GEOM::GEOM_Object_ptr thePath,
488                                            CORBA::Double         theDistance,
489                                            CORBA::Boolean        theCopy,
490                                            CORBA::Boolean        theReverse);
491
492   //-----------------------------------------------------------//
493   // ShapesOperations                                          //
494   //-----------------------------------------------------------//
495   GEOM::GEOM_Object_ptr MakeEdge (GEOM::GEOM_Object_ptr thePnt1,
496                                   GEOM::GEOM_Object_ptr thePnt2);
497   GEOM::GEOM_Object_ptr MakeEdgeOnCurveByLength (GEOM::GEOM_Object_ptr theRefCurve,
498                                                  CORBA::Double theLength,
499                                                  GEOM::GEOM_Object_ptr theStartPoint);
500   GEOM::GEOM_Object_ptr MakeWire (GEOM::GEOM_List_ptr theEdgesAndWires,
501                                   CORBA::Double       theTolerance);
502   GEOM::GEOM_Object_ptr MakeFace (GEOM::GEOM_Object_ptr theWire,
503                                   CORBA::Boolean isPlanarWanted);
504   GEOM::GEOM_Object_ptr MakeFaceWires (GEOM::GEOM_List_ptr theWires,
505                                        CORBA::Boolean isPlanarWanted);
506   GEOM::GEOM_Object_ptr MakeShell (GEOM::GEOM_List_ptr theFacesAndShells);
507   GEOM::GEOM_Object_ptr MakeSolidShell (GEOM::GEOM_Object_ptr theShell);
508   GEOM::GEOM_Object_ptr MakeSolidShells (GEOM::GEOM_List_ptr theShells);
509   GEOM::GEOM_Object_ptr MakeCompound (GEOM::GEOM_List_ptr theShapes);
510   GEOM::GEOM_Object_ptr MakeSolidFromConnectedFaces (GEOM::GEOM_List_ptr theFacesOrShells,
511                                                      CORBA::Boolean isIntersect);
512   GEOM::GEOM_Object_ptr MakeGlueFaces (GEOM::GEOM_Object_ptr theShape,
513                                        CORBA::Double theTolerance,
514                                        CORBA::Boolean doKeepNonSolids);
515   GEOM::GEOM_List_ptr GetGlueFaces (GEOM::GEOM_Object_ptr theShape,
516                                     CORBA::Double theTolerance);
517   GEOM::GEOM_Object_ptr MakeGlueFacesByList (GEOM::GEOM_Object_ptr theShape,
518                                              CORBA::Double theTolerance,
519                                              const GEOM::ListOfGO& theFaces,
520                                              CORBA::Boolean doKeepNonSolids,
521                                              CORBA::Boolean doGlueAllEdges);
522   GEOM::GEOM_List_ptr MakeExplode (GEOM::GEOM_Object_ptr theShape,
523                                        CORBA::Long theShapeType,
524                                        CORBA::Boolean isSorted);
525   CORBA::Long NumberOfFaces (GEOM::GEOM_Object_ptr theShape);
526   CORBA::Long NumberOfEdges (GEOM::GEOM_Object_ptr theShape);
527   GEOM::GEOM_Object_ptr ChangeOrientation (GEOM::GEOM_Object_ptr theShape);
528
529   GEOM::GEOM_List_ptr GetShapesOnShape (GEOM::GEOM_Object_ptr theCheckShape,
530                                           GEOM::GEOM_Object_ptr theShape,
531                                           CORBA::Short theShapeType,
532                                           GEOM::shape_state theState);
533   GEOM::GEOM_Object_ptr GetShapesOnShapeAsCompound
534                                        (GEOM::GEOM_Object_ptr theCheckShape,
535                                           GEOM::GEOM_Object_ptr theShape,
536                                           CORBA::Short theShapeType,
537                                           GEOM::shape_state theState);
538
539   //-----------------------------------------------------------//
540   // BlocksOperations                                          //
541   //-----------------------------------------------------------//
542   GEOM::GEOM_Object_ptr MakeQuad4Vertices (GEOM::GEOM_Object_ptr thePnt1,
543                                            GEOM::GEOM_Object_ptr thePnt2,
544                                            GEOM::GEOM_Object_ptr thePnt3,
545                                            GEOM::GEOM_Object_ptr thePnt4);
546   GEOM::GEOM_Object_ptr MakeQuad (GEOM::GEOM_Object_ptr theEdge1,
547                                   GEOM::GEOM_Object_ptr theEdge2,
548                                   GEOM::GEOM_Object_ptr theEdge3,
549                                   GEOM::GEOM_Object_ptr theEdge4);
550   GEOM::GEOM_Object_ptr MakeQuad2Edges (GEOM::GEOM_Object_ptr theEdge1,
551                                         GEOM::GEOM_Object_ptr theEdge2);
552   GEOM::GEOM_Object_ptr MakeHexa (GEOM::GEOM_Object_ptr theFace1,
553                                   GEOM::GEOM_Object_ptr theFace2,
554                                   GEOM::GEOM_Object_ptr theFace3,
555                                   GEOM::GEOM_Object_ptr theFace4,
556                                   GEOM::GEOM_Object_ptr theFace5,
557                                   GEOM::GEOM_Object_ptr theFace6);
558   GEOM::GEOM_Object_ptr MakeHexa2Faces (GEOM::GEOM_Object_ptr theFace1,
559                                         GEOM::GEOM_Object_ptr theFace2);
560   GEOM::GEOM_Object_ptr GetPoint (GEOM::GEOM_Object_ptr theShape,
561                                   CORBA::Double   theX,
562                                   CORBA::Double   theY,
563                                   CORBA::Double   theZ,
564                                   CORBA::Double   theEpsilon);
565   GEOM::GEOM_Object_ptr GetEdge (GEOM::GEOM_Object_ptr theShape,
566                                  GEOM::GEOM_Object_ptr thePoint1,
567                                  GEOM::GEOM_Object_ptr thePoint2);
568   GEOM::GEOM_Object_ptr GetEdgeNearPoint (GEOM::GEOM_Object_ptr theShape,
569                                           GEOM::GEOM_Object_ptr thePoint);
570   GEOM::GEOM_Object_ptr GetFaceByPoints (GEOM::GEOM_Object_ptr theShape,
571                                          GEOM::GEOM_Object_ptr thePoint1,
572                                          GEOM::GEOM_Object_ptr thePoint2,
573                                          GEOM::GEOM_Object_ptr thePoint3,
574                                          GEOM::GEOM_Object_ptr thePoint4);
575   GEOM::GEOM_Object_ptr GetFaceByEdges (GEOM::GEOM_Object_ptr theShape,
576                                         GEOM::GEOM_Object_ptr theEdge1,
577                                         GEOM::GEOM_Object_ptr theEdge2);
578   GEOM::GEOM_Object_ptr GetOppositeFace (GEOM::GEOM_Object_ptr theBlock,
579                                          GEOM::GEOM_Object_ptr theFace);
580   GEOM::GEOM_Object_ptr GetFaceNearPoint (GEOM::GEOM_Object_ptr theShape,
581                                           GEOM::GEOM_Object_ptr thePoint);
582   GEOM::GEOM_Object_ptr GetFaceByNormale (GEOM::GEOM_Object_ptr theBlock,
583                                           GEOM::GEOM_Object_ptr theVector);
584   CORBA::Boolean IsCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
585                                      CORBA::Long     theMinNbFaces,
586                                      CORBA::Long     theMaxNbFaces,
587                                      CORBA::Long&          theNbBlocks);
588   CORBA::Boolean CheckCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
589                                         GEOM::GEOM_IBlocksOperations::BCErrors_out theErrors);
590   char* PrintBCErrors (GEOM::GEOM_Object_ptr theCompound,
591                        const GEOM::GEOM_IBlocksOperations::BCErrors& theErrors);
592   GEOM::GEOM_List_ptr ExplodeCompoundOfBlocks (GEOM::GEOM_Object_ptr theCompound,
593                                                    CORBA::Long     theMinNbFaces,
594                                                    CORBA::Long     theMaxNbFaces);
595   GEOM::GEOM_Object_ptr GetBlockNearPoint (GEOM::GEOM_Object_ptr theCompound,
596                                            GEOM::GEOM_Object_ptr thePoint);
597   GEOM::GEOM_Object_ptr GetBlockByParts (GEOM::GEOM_Object_ptr theCompound,
598                                          GEOM::GEOM_List_ptr theParts);
599   GEOM::GEOM_List_ptr GetBlocksByParts (GEOM::GEOM_Object_ptr theCompound,
600                                             GEOM::GEOM_List_ptr theParts);
601   GEOM::GEOM_Object_ptr MakeMultiTransformation1D (GEOM::GEOM_Object_ptr theBlock,
602                                                    CORBA::Long     theDirFace1,
603                                                    CORBA::Long     theDirFace2,
604                                                    CORBA::Long     theNbTimes);
605   GEOM::GEOM_Object_ptr MakeMultiTransformation2D (GEOM::GEOM_Object_ptr theBlock,
606                                                    CORBA::Long     theDirFace1U,
607                                                    CORBA::Long     theDirFace2U,
608                                                    CORBA::Long     theNbTimesU,
609                                                    CORBA::Long     theDirFace1V,
610                                                    CORBA::Long     theDirFace2V,
611                                                    CORBA::Long     theNbTimesV);
612
613   //-----------------------------------------------------------//
614   // CurvesOperations                                          //
615   //-----------------------------------------------------------//
616   GEOM::GEOM_Object_ptr MakeCirclePntVecR (GEOM::GEOM_Object_ptr theCenter,
617                                            GEOM::GEOM_Object_ptr theVector,
618                                            CORBA::Double theR);
619   GEOM::GEOM_Object_ptr MakeCircleThreePnt (GEOM::GEOM_Object_ptr thePnt1,
620                                             GEOM::GEOM_Object_ptr thePnt2,
621                                             GEOM::GEOM_Object_ptr thePnt3);
622   GEOM::GEOM_Object_ptr MakeCircleCenter2Pnt (GEOM::GEOM_Object_ptr thePnt1,
623                                               GEOM::GEOM_Object_ptr thePnt2,
624                                               GEOM::GEOM_Object_ptr thePnt3);
625   GEOM::GEOM_Object_ptr MakeEllipse (GEOM::GEOM_Object_ptr theCenter,
626                                      GEOM::GEOM_Object_ptr theVector,
627                                      CORBA::Double theRMajor, CORBA::Double theRMinor);
628   GEOM::GEOM_Object_ptr MakeEllipseVec (GEOM::GEOM_Object_ptr theCenter,
629                                         GEOM::GEOM_Object_ptr theVector,
630                                         CORBA::Double theRMajor, CORBA::Double theRMinor,
631                                         GEOM::GEOM_Object_ptr theVectorMajor);
632   GEOM::GEOM_Object_ptr MakeArc (GEOM::GEOM_Object_ptr thePnt1,
633                                  GEOM::GEOM_Object_ptr thePnt2,
634                                  GEOM::GEOM_Object_ptr thePnt3);
635   GEOM::GEOM_Object_ptr MakeArcCenter (GEOM::GEOM_Object_ptr theCenter,
636                                        GEOM::GEOM_Object_ptr thePnt1,
637                                        GEOM::GEOM_Object_ptr thePnt2,
638                                        CORBA::Boolean theSense);
639   GEOM::GEOM_Object_ptr MakeArcOfEllipse (GEOM::GEOM_Object_ptr thePnt1,
640                                           GEOM::GEOM_Object_ptr thePnt2,
641                                           GEOM::GEOM_Object_ptr thePnt3);
642   GEOM::GEOM_Object_ptr MakePolyline (GEOM::GEOM_List_ptr thePoints,
643                                       CORBA::Boolean      theIsClosed);
644   GEOM::GEOM_Object_ptr MakeSplineBezier (GEOM::GEOM_List_ptr thePoints,
645                                           CORBA::Boolean      theIsClosed);
646   GEOM::GEOM_Object_ptr MakeSplineInterpolation (GEOM::GEOM_List_ptr thePoints,
647                                                  CORBA::Boolean      theIsClosed,
648                                                  CORBA::Boolean      theDoReordering);
649   GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand,
650                                                 GEOM::GEOM_List_ptr theWorkingPlane);
651   GEOM::GEOM_Object_ptr Make3DSketcher (GEOM::GEOM_List_ptr theCoordinates);
652
653   //-----------------------------------------------------------//
654   // LocalOperations                                           //
655   //-----------------------------------------------------------//
656   GEOM::GEOM_Object_ptr MakeFilletAll (GEOM::GEOM_Object_ptr theShape,
657                                        CORBA::Double theR);
658   GEOM::GEOM_Object_ptr MakeFilletEdges (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
659                                          GEOM::GEOM_List_ptr theEdges);
660   GEOM::GEOM_Object_ptr MakeFilletEdgesR1R2 (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR1,
661                                              CORBA::Double theR2, GEOM::GEOM_List_ptr theEdges);
662   GEOM::GEOM_Object_ptr MakeFilletFaces (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
663                                          GEOM::GEOM_List_ptr theFaces);
664   GEOM::GEOM_Object_ptr MakeFilletFacesR1R2 (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR1,
665                                              CORBA::Double theR2, GEOM::GEOM_List_ptr theFaces);
666   GEOM::GEOM_Object_ptr MakeFillet2D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
667                                       GEOM::GEOM_List_ptr theVertexes);
668   GEOM::GEOM_Object_ptr MakeFillet1D (GEOM::GEOM_Object_ptr theShape, CORBA::Double theR,
669                                       GEOM::GEOM_List_ptr theVertexes, CORBA::Boolean doIgnoreSecantVertices);
670   GEOM::GEOM_Object_ptr MakeChamferAll (GEOM::GEOM_Object_ptr theShape, CORBA::Double theD);
671   GEOM::GEOM_Object_ptr MakeChamferEdge (GEOM::GEOM_Object_ptr theShape,
672                                          CORBA::Double theD1, CORBA::Double theD2,
673                                          CORBA::Long theFace1, CORBA::Long theFace2);
674   GEOM::GEOM_Object_ptr MakeChamferEdgeAD (GEOM::GEOM_Object_ptr theShape,
675                                             CORBA::Double theD, CORBA::Double theAngle,
676                                            CORBA::Long theFace1, CORBA::Long theFace2);
677   GEOM::GEOM_Object_ptr MakeChamferFaces (GEOM::GEOM_Object_ptr theShape,
678                                           CORBA::Double theD1, CORBA::Double theD2,
679                                           GEOM::GEOM_List_ptr theFaces);
680   GEOM::GEOM_Object_ptr MakeChamferFacesAD (GEOM::GEOM_Object_ptr theShape,
681                                             CORBA::Double theD, CORBA::Double theAngle,
682                                             GEOM::GEOM_List_ptr theFaces);
683   GEOM::GEOM_Object_ptr MakeChamferEdges (GEOM::GEOM_Object_ptr theShape,
684                                           CORBA::Double theD1, CORBA::Double theD2,
685                                           GEOM::GEOM_List_ptr theEdges);
686   GEOM::GEOM_Object_ptr MakeChamferEdgesAD (GEOM::GEOM_Object_ptr theShape,
687                                             CORBA::Double theD, CORBA::Double theAngle,
688                                                GEOM::GEOM_List_ptr theEdges);
689   GEOM::GEOM_Object_ptr MakeArchimede (GEOM::GEOM_Object_ptr theShape,
690                                        CORBA::Double theWeight,
691                                        CORBA::Double theWaterDensity,
692                                        CORBA::Double theMeshingDeflection);
693   CORBA::Long GetSubShapeIndex (GEOM::GEOM_Object_ptr theShape,
694                                 GEOM::GEOM_Object_ptr theSubShape);
695
696   //-----------------------------------------------------------//
697   // GroupOperations                                           //
698   //-----------------------------------------------------------//
699   GEOM::GEOM_Object_ptr CreateGroup (GEOM::GEOM_Object_ptr theMainShape,
700                                      CORBA::Long theShapeType);
701   void AddObject (GEOM::GEOM_Object_ptr theGroup,
702                   CORBA::Long theSubShapeId);
703   void RemoveObject (GEOM::GEOM_Object_ptr theGroup,
704                      CORBA::Long theSubShapeId);
705   CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
706   GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);
707   GEOM::GEOM_List_ptr GetObjects (GEOM::GEOM_Object_ptr theGroup);
708
709   //-----------------------------------------------------------//
710   // ImportExport Operations                                   //
711   //-----------------------------------------------------------//
712
713   void ExportSTL( GEOM::GEOM_Object_ptr theObject,
714                   const char*           theFileName,
715                   const bool            theIsASCII,
716                   CORBA::Double         theDeflection,
717                   const bool            theIsRelative );
718
719   GEOM::GEOM_Object_ptr ImportSTL( const char* theFileName );
720
721   void ExportBREP( GEOM::GEOM_Object_ptr theObject,
722                    const char*           theFileName );
723
724   GEOM::GEOM_Object_ptr ImportBREP( const char* theFileName );
725
726   void ExportSTEP( GEOM::GEOM_Object_ptr theObject,
727                    const char*           theFileName );
728
729   GEOM::GEOM_Object_ptr ImportSTEP( const char* theFileName,
730                                     const bool  theIsIgnoreUnits );
731
732   void ExportIGES( GEOM::GEOM_Object_ptr theObject,
733                    const char*           theFileName,
734                    const char*           theVersion );
735
736   GEOM::GEOM_Object_ptr ImportIGES( const char* theFileName,
737                                     const bool  theIsIgnoreUnits );
738
739   CORBA::Boolean ExportXAO( GEOM::GEOM_Object_ptr shape,
740                             const GEOM::ListOfGO& groups,
741                             const GEOM::ListOfFields& fields,
742                             const char* author,
743                             const char* fileName);
744   CORBA::Boolean ImportXAO( const char* fileName,
745                             GEOM::GEOM_Object_out shape,
746                             GEOM::ListOfGO_out subShapes,
747                             GEOM::ListOfGO_out groups,
748                             GEOM::ListOfFields_out fields );
749
750   void ExportVTK( GEOM::GEOM_Object_ptr theObject,
751                   const char*           theFileName,
752                   CORBA::Double         theDeflection );
753
754   //-----------------------------------------------------------//
755   // Advanced Operations                                       //
756   //-----------------------------------------------------------//
757   GEOM::GEOM_List_ptr MakePipeTShape (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
758                                       CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
759                                       CORBA::Boolean theHexMesh);
760   GEOM::GEOM_List_ptr MakePipeTShapeWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
761                                                   CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
762                                                   CORBA::Boolean theHexMesh,
763                                                   GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
764   GEOM::GEOM_List_ptr MakePipeTShapeChamfer (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
765                                              CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
766                                              CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh);
767   GEOM::GEOM_List_ptr MakePipeTShapeChamferWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
768                                                          CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
769                                                          CORBA::Double theH, CORBA::Double theW, CORBA::Boolean theHexMesh,
770                                                          GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
771   GEOM::GEOM_List_ptr MakePipeTShapeFillet (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
772                                             CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
773                                             CORBA::Double theRF, CORBA::Boolean theHexMesh);
774   GEOM::GEOM_List_ptr MakePipeTShapeFilletWithPosition (CORBA::Double theR1, CORBA::Double theW1, CORBA::Double theL1,
775                                                         CORBA::Double theR2, CORBA::Double theW2, CORBA::Double theL2,
776                                                         CORBA::Double theRF, CORBA::Boolean theHexMesh,
777                                                         GEOM::GEOM_Object_ptr theP1, GEOM::GEOM_Object_ptr theP2, GEOM::GEOM_Object_ptr theP3);
778   GEOM::GEOM_Object_ptr MakeDividedDisk (CORBA::Double theR, CORBA::Double theRatio,
779                                          CORBA::Short theOrientation, GEOM::pattern thePattern);
780   GEOM::GEOM_Object_ptr MakeDividedCylinder (CORBA::Double theR, 
781                                              CORBA::Double theH,
782                                              GEOM::pattern thePattern);
783   GEOM::GEOM_Object_ptr MakeSmoothingSurface (GEOM::GEOM_List_ptr thelPoints);
784   /*@@ insert new functions before this line @@ do not remove this line @@*/
785
786 private:
787   SALOME_NamingService *  name_service;
788   GEOM::GEOM_Gen_var      myGeomEngine;
789   CORBA::Long             myStudyID;
790   CORBA::Long             myLastStudyID; // mkr : PAL10770
791   PortableServer::POA_var myPOA;
792
793   GEOM::GEOM_IBasicOperations_var     myBasicOp;
794   GEOM::GEOM_I3DPrimOperations_var    my3DPrimOp;
795   GEOM::GEOM_IBooleanOperations_var   myBoolOp;
796   GEOM::GEOM_IInsertOperations_var    myInsOp;
797   GEOM::GEOM_ITransformOperations_var myTransfOp;
798   GEOM::GEOM_IShapesOperations_var    myShapesOp;
799   GEOM::GEOM_IBlocksOperations_var    myBlocksOp;
800   GEOM::GEOM_ICurvesOperations_var    myCurvesOp;
801   GEOM::GEOM_ILocalOperations_var     myLocalOp;
802   GEOM::GEOM_IGroupOperations_var     myGroupOp;
803   GEOM::IAdvancedOperations_var       myAdvancedOp;
804   GEOM::ISTLOperations_var            mySTLOp;
805   GEOM::IBREPOperations_var           myBREPOp;
806   GEOM::ISTEPOperations_var           mySTEPOp;
807   GEOM::IIGESOperations_var           myIGESOp;
808   GEOM::IXAOOperations_var            myXAOOp;
809   GEOM::IVTKOperations_var            myVTKOp;
810 };
811
812 #endif