Salome HOME
Merge from BR_V7_main_Field branch (02/09/2013)
[modules/geom.git] / idl / GEOM_Superv.idl
1 // Copyright (C) 2007-2013  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.
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 //  File   : GEOM_Superv.idl
23 //  Author : Lucien PIGNOLONI
24
25 #ifndef __GEOM_SUPERV__
26 #define __GEOM_SUPERV__
27
28 #include "GEOM_Gen.idl"
29
30 module GEOM
31 {
32   interface GEOM_List
33   { };
34
35   interface GEOM_Superv : Engines::EngineComponent,SALOMEDS::Driver
36   {
37     //-----------------------------------------------------------//
38     // Set current study ID                                      //
39     //-----------------------------------------------------------//
40     void SetStudyID (in long theStudyID) ;
41
42     //-----------------------------------------------------------//
43     // Create ListOfGO and add items to it                       //
44     //-----------------------------------------------------------//
45     GEOM_List CreateListOfGO();
46     void AddItemToListOfGO( inout GEOM_List theList,
47                             in GEOM_Object theObject);
48
49     //-----------------------------------------------------------//
50     // Create ListOfLong and add items to it                     //
51     //-----------------------------------------------------------//
52     GEOM_List CreateListOfLong();
53     void AddItemToListOfLong( inout GEOM_List theList,
54                               in long theObject);
55
56     //-----------------------------------------------------------//
57     // Create ListOfDouble and add items to it                   //
58     //-----------------------------------------------------------//
59     GEOM_List CreateListOfDouble();
60     void AddItemToListOfDouble( inout GEOM_List theList,
61                                 in double theObject);
62
63     //-----------------------------------------------------------//
64     // Primitives Construction : BasicOperations                 //
65     //-----------------------------------------------------------//
66     GEOM_Object MakePointXYZ (in double theX,
67                               in double theY,
68                               in double theZ);
69     GEOM_Object MakePointWithReference (in GEOM_Object theReference,
70                                         in double theX,
71                                         in double theY,
72                                         in double theZ);
73     GEOM_Object MakePointOnCurve (in GEOM_Object theRefCurve,
74                                   in double theParameter);
75     GEOM_Object MakePointOnCurveByLength (in GEOM_Object theRefCurve,
76                                           in double theLength,
77                                           in GEOM_Object theStartPoint);
78
79     GEOM_Object MakeTangentOnCurve (in GEOM_Object theRefCurve,
80                                      in double theParameter);
81
82     GEOM_Object MakeVectorDXDYDZ (in double theDX,
83                                   in double theDY,
84                                   in double theDZ) ;
85     GEOM_Object MakeVectorTwoPnt (in GEOM_Object thePnt1,
86                                   in GEOM_Object thePnt2) ;
87     GEOM_Object MakeLineTwoPnt (in GEOM_Object thePnt1,
88                                 in GEOM_Object thePnt2) ;
89     GEOM_Object MakeLineTwoFaces (in GEOM_Object theFace1,
90                                   in GEOM_Object theFace2) ;
91     GEOM_Object MakePlaneThreePnt (in GEOM_Object thePnt1,
92                                    in GEOM_Object thePnt2,
93                                    in GEOM_Object thePnt3,
94                                    in double theTrimSize) ;
95     GEOM_Object MakePlanePntVec (in GEOM_Object thePnt,
96                                  in GEOM_Object theVec,
97                                  in double      theTrimSize) ;
98     GEOM_Object MakePlaneFace (in GEOM_Object theFace,
99                                in double      theTrimSize) ;
100     GEOM_Object MakePlane2Vec (in GEOM_Object theVec1,
101                                in GEOM_Object theVec2,
102                                in double      theTrimSize) ;
103     GEOM_Object MakePlaneLCS (in GEOM_Object theLCS,
104                               in double      theTrimSize,
105                               in double      theOrientation) ;
106     GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
107                             in double theXDX, in double theXDY, in double theXDZ,
108                             in double theYDX, in double theYDY, in double theYDZ) ;
109
110     GEOM_Object MakeMarkerFromShape (in GEOM_Object theShape) ;
111
112     GEOM_Object MakeMarkerPntTwoVec (in GEOM_Object theOrigin,
113                                      in GEOM_Object theXVec,
114                                      in GEOM_Object theYVec) ;
115
116     /*!
117      *  Create a tangent plane to specified face in the point with specified parameters.
118      *  Values of parameters should be between 0. and 1.0
119      *  \param theFace - face for which tangent plane shuold be built.
120      *  \param theParameterU - value of parameter by U
121      *  \param theParameterV - value of parameter Vthe
122      *  \param theTrimSize - defines sizes of created face
123      *  \return New GEOM_Object, containing the face built on tangent plane.
124      */
125     GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace,
126                                        in double theParameterU,
127                                        in double theParameterV,
128                                        in double theTrimSize);
129
130     //-----------------------------------------------------------//
131     // Primitives Construction : 3DPrimOperations                //
132     //-----------------------------------------------------------//
133     GEOM_Object MakeBox (in double theX1,
134                          in double theY1,
135                          in double theZ1,
136                          in double theX2,
137                          in double theY2,
138                          in double theZ2) ;
139     GEOM_Object MakeBoxDXDYDZ (in double theDX,
140                                in double theDY,
141                                in double theDZ) ;
142     GEOM_Object MakeBoxTwoPnt (in GEOM_Object thePnt1,
143                                in GEOM_Object thePnt2) ;
144     GEOM_Object MakeFaceHW (in double theH,
145                             in double theW,
146                             in short  theOrientation) ;
147     GEOM_Object MakeFaceObjHW (in GEOM_Object theObj,
148                                in double      theH,
149                                in double      theW) ;
150     GEOM_Object MakeDiskPntVecR (in GEOM_Object thePnt,
151                                  in GEOM_Object theVec,
152                                  in double      theR) ;
153     GEOM_Object MakeDiskThreePnt (in GEOM_Object thePnt1,
154                                   in GEOM_Object thePnt2,
155                                   in GEOM_Object thePnt3) ;
156     GEOM_Object MakeDiskR (in double theR,
157                             in short  theOrientation) ;
158     GEOM_Object MakeCylinderPntVecRH (in GEOM_Object thePnt,
159                                       in GEOM_Object theAxis,
160                                       in double      theRadius,
161                                       in double      theHeight) ;
162     GEOM_Object MakeCylinderRH (in double theR,
163                                 in double theH) ;
164     GEOM_Object MakeSphere (in double theX,
165                             in double theY,
166                             in double theZ,
167                             in double theRadius) ;
168     GEOM_Object MakeSphereR (in double theR) ;
169     GEOM_Object MakeSpherePntR (in GEOM_Object thePnt,
170                                 in double      theR) ;
171     GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt,
172                                    in GEOM_Object theVec,
173                                    in double      theRMajor,
174                                    in double      theRMinor) ;
175     GEOM_Object MakeTorusRR (in double theRMajor,
176                              in double theRMinor) ;
177     GEOM_Object MakeConePntVecR1R2H (in GEOM_Object thePnt,
178                                      in GEOM_Object theAxis,
179                                      in double      theR1,
180                                      in double      theR2,
181                                      in double      theHeight) ;
182     GEOM_Object MakeConeR1R2H (in double theR1,
183                                in double theR2,
184                                in double theHeight) ;
185     GEOM_Object MakePrismVecH (in GEOM_Object theBase,
186                                in GEOM_Object theVec,
187                                in double      theH) ;
188     GEOM_Object MakePrismVecH2Ways (in GEOM_Object theBase,
189                                     in GEOM_Object theVec,
190                                     in double      theH) ;
191     GEOM_Object MakePrismTwoPnt (in GEOM_Object theBase,
192                                  in GEOM_Object thePoint1,
193                                  in GEOM_Object thePoint2) ;
194     GEOM_Object MakePrismTwoPnt2Ways (in GEOM_Object theBase,
195                                       in GEOM_Object thePoint1,
196                                       in GEOM_Object thePoint2) ;
197     GEOM_Object MakePipe (in GEOM_Object theBase,
198                           in GEOM_Object thePath) ;
199     GEOM_Object MakeRevolutionAxisAngle (in GEOM_Object theBase,
200                                          in GEOM_Object theAxis,
201                                          in double      theAngle) ;
202     GEOM_Object MakeRevolutionAxisAngle2Ways (in GEOM_Object theBase,
203                                               in GEOM_Object theAxis,
204                                               in double      theAngle) ;
205     GEOM_Object MakeFilling (in GEOM_Object theShape,
206                              in long theMinDeg, in long theMaxDeg,
207                              in double theTol2D, in double theTol3D,
208                              in long theNbIter,
209                              in filling_oper_method theMethod,
210                              in boolean theApprox) ;
211     GEOM_Object MakeThruSections(in ListOfGO theSeqSections,
212                                  in boolean theModeSolid,
213                                  in double thePreci,
214                                  in boolean theRuled);
215
216     GEOM_Object MakePipeWithDifferentSections (in ListOfGO theSeqBases,
217                                                in ListOfGO theLocations,
218                                                in GEOM_Object thePath,
219                                                in boolean theWithContact ,
220                                                in boolean theWithCorrection );
221
222     GEOM_Object MakePipeWithShellSections (in ListOfGO theSeqBases,
223                                            in ListOfGO theSeqSubBases,
224                                            in ListOfGO theLocations,
225                                            in GEOM_Object thePath,
226                                            in boolean theWithContact ,
227                                            in boolean theWithCorrection );
228
229     GEOM_Object MakePipeShellsWithoutPath (in ListOfGO theSeqBases,
230                                            in ListOfGO theLocations );
231
232     GEOM_Object MakePipeBiNormalAlongVector (in GEOM_Object theBase,
233                                              in GEOM_Object thePath,
234                                              in GEOM_Object theVec);
235
236     //-----------------------------------------------------------//
237     // BooleanOperations                                         //
238     //-----------------------------------------------------------//
239     GEOM_Object MakeBoolean (in GEOM_Object theShape1,
240                              in GEOM_Object theShape2,
241                              in long        theOperation) ;
242     GEOM_Object MakeFuse (in GEOM_Object theShape1,
243                           in GEOM_Object theShape2) ;
244     GEOM_Object MakePartition (in GEOM_List   theShapes,
245                                in GEOM_List   theTools,
246                                in GEOM_List   theKeepInside,
247                                in GEOM_List   theRemoveInside,
248                                in short       theLimit,
249                                in boolean     theRemoveWebs,
250                                in GEOM_List   theMaterials,
251                                in short       theKeepNonlimitShapes);
252     GEOM_Object MakeHalfPartition (in GEOM_Object theShape,
253                                    in GEOM_Object thePlane) ;
254
255     //-----------------------------------------------------------//
256     // InsertOperations                                          //
257     //-----------------------------------------------------------//
258     GEOM_Object MakeCopy (in GEOM_Object theOriginal) ;
259     void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName) ;
260     GEOM_Object ImportFile (in string theFileName, in string theFormatName) ;
261     void ImportTranslators (out string_array theFormats,
262                             out string_array thePatterns) ;
263     void ExportTranslators (out string_array theFormats,
264                             out string_array thePatterns) ;
265     boolean ExportXAO(in GEOM_Object shape,
266                       in ListOfGO groups, in ListOfGO fields,
267                       in string author, in string fileName);
268     boolean ImportXAO(in string fileName, out GEOM_Object shape,
269                       out ListOfGO subShapes, out ListOfGO groups, out ListOfGO fields);
270
271     //-----------------------------------------------------------//
272     // TransformOperations                                       //
273     //-----------------------------------------------------------//
274     GEOM_Object TranslateTwoPoints (in GEOM_Object theObject,
275                                     in GEOM_Object thePoint1,
276                                     in GEOM_Object thePoint2) ;
277     GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject,
278                                         in GEOM_Object thePoint1,
279                                         in GEOM_Object thePoint2) ;
280     GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject,
281                                  in double      theDX,
282                                  in double      theDY,
283                                  in double      theDZ) ;
284     GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject,
285                                      in double      theDX,
286                                      in double      theDY,
287                                      in double      theDZ) ;
288     GEOM_Object TranslateVector (in GEOM_Object theObject,
289                                  in GEOM_Object theVector) ;
290     GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
291                                      in GEOM_Object theVector) ;
292     GEOM_Object TranslateVectorDistance (in GEOM_Object theObject,
293                                          in GEOM_Object theVector,
294                                          in double      theDistance,
295                                          in boolean     theCopy) ;
296     GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
297                                   in GEOM_Object theVector,
298                                   in double      theStep,
299                                   in long        theNbTimes) ;
300     GEOM_Object MultiTranslate2D (in GEOM_Object theObject,
301                                   in GEOM_Object theVector1,
302                                   in double      theStep1,
303                                   in long        theNbTimes1,
304                                   in GEOM_Object theVector2,
305                                   in double      theStep2,
306                                   in long        theNbTimes2) ;
307     GEOM_Object Rotate (in GEOM_Object theObject,
308                         in GEOM_Object theAxis,
309                         in double      theAngle) ;
310     GEOM_Object RotateCopy (in GEOM_Object theObject,
311                             in GEOM_Object theAxis,
312                             in double      theAngle) ;
313     GEOM_Object RotateThreePoints (in GEOM_Object theObject,
314                                    in GEOM_Object theCentPoint,
315                                    in GEOM_Object thePoint1,
316                                    in GEOM_Object thePoint2);
317     GEOM_Object RotateThreePointsCopy (in GEOM_Object theObject,
318                                        in GEOM_Object theCentPoint,
319                                        in GEOM_Object thePoint1,
320                                        in GEOM_Object thePoint2);
321     GEOM_Object MultiRotate1D (in GEOM_Object theObject,
322                                in GEOM_Object theAxis,
323                                in long        theNbTimes) ;
324     GEOM_Object MultiRotate2D (in GEOM_Object theObject,
325                                in GEOM_Object theAxis,
326                                in double      theAngle,
327                                in long        theNbTimes1,
328                                in double      theStep,
329                                in long        theNbTimes2) ;
330     GEOM_Object MirrorPlane (in GEOM_Object theObject,
331                              in GEOM_Object thePlane) ;
332     GEOM_Object MirrorPlaneCopy (in GEOM_Object theObject,
333                                  in GEOM_Object thePlane) ;
334     GEOM_Object MirrorAxis (in GEOM_Object theObject,
335                             in GEOM_Object theAxis) ;
336     GEOM_Object MirrorAxisCopy (in GEOM_Object theObject,
337                                 in GEOM_Object theAxis) ;
338     GEOM_Object MirrorPoint (in GEOM_Object theObject,
339                              in GEOM_Object thePoint) ;
340     GEOM_Object MirrorPointCopy (in GEOM_Object theObject,
341                                  in GEOM_Object thePoint) ;
342     GEOM_Object OffsetShape (in GEOM_Object theObject,
343                              in double      theOffset) ;
344     GEOM_Object OffsetShapeCopy (in GEOM_Object theObject,
345                                  in double      theOffset) ;
346     GEOM_Object ScaleShape (in GEOM_Object theObject,
347                             in GEOM_Object thePoint,
348                             in double      theFactor) ;
349     GEOM_Object ScaleShapeCopy (in GEOM_Object theObject,
350                                 in GEOM_Object thePoint,
351                                 in double      theFactor) ;
352     GEOM_Object ScaleShapeAlongAxes (in GEOM_Object theObject,
353                                      in GEOM_Object thePoint,
354                                      in double theFactorX,
355                                      in double theFactorY,
356                                      in double theFactorZ);
357     GEOM_Object ScaleShapeAlongAxesCopy (in GEOM_Object theObject,
358                                          in GEOM_Object thePoint,
359                                          in double theFactorX,
360                                          in double theFactorY,
361                                          in double theFactorZ);
362     GEOM_Object PositionShape (in GEOM_Object theObject,
363                                in GEOM_Object theStartLCS,
364                                in GEOM_Object theEndLCS) ;
365     GEOM_Object PositionShapeCopy (in GEOM_Object theObject,
366                                    in GEOM_Object theStartLCS,
367                                    in GEOM_Object theEndLCS) ;
368     GEOM_Object PositionAlongPath (in GEOM_Object theObject,
369                                    in GEOM_Object thePath,
370                                    in double theDistance,
371                                    in boolean theCopy,
372                                    in boolean theReverse);
373
374     //-----------------------------------------------------------//
375     // ShapesOperations                                          //
376     //-----------------------------------------------------------//
377     GEOM_Object MakeEdge (in GEOM_Object thePnt1,
378                           in GEOM_Object thePnt2) ;
379     GEOM_Object MakeEdgeOnCurveByLength (in GEOM_Object theRefCurve,
380                                          in double theLength,
381                                          in GEOM_Object theStartPoint);
382     GEOM_Object MakeWire (in GEOM_List theEdgesAndWires,
383                           in double    theTolerance) ;
384     GEOM_Object MakeFace (in GEOM_Object theWire,
385                           in boolean     isPlanarWanted) ;
386     GEOM_Object MakeFaceWires (in GEOM_List theWires,
387                                in boolean   isPlanarWanted) ;
388     GEOM_Object MakeShell (in GEOM_List theFacesAndShells) ;
389     GEOM_Object MakeSolidShell (in GEOM_Object theShell) ;
390     GEOM_Object MakeSolidShells (in GEOM_List theShells) ;
391     GEOM_Object MakeCompound (in GEOM_List theShapes) ;
392     GEOM_Object MakeGlueFaces (in GEOM_Object theShape,
393                                in double theTolerance,
394                                in boolean doKeepNonSolids);
395     GEOM_List GetGlueFaces (in GEOM_Object theShape,
396                             in double theTolerance);
397     GEOM_Object MakeGlueFacesByList (in GEOM_Object theShape,
398                                      in double theTolerance,
399                                      in ListOfGO theFaces,
400                                      in boolean doKeepNonSolids,
401                                      in boolean doGlueAllEdges);
402     GEOM_List MakeExplode (in GEOM_Object theShape,
403                            in long        theShapeType,
404                            in boolean     isSorted) ;
405     long NumberOfFaces (in GEOM_Object theShape) ;
406     long NumberOfEdges (in GEOM_Object theShape) ;
407     GEOM_Object ChangeOrientation (in GEOM_Object theShape) ;
408
409     GEOM_List GetShapesOnShape (in GEOM_Object theCheckShape,
410                                 in GEOM_Object theShape,
411                                 in short       theShapeType,
412                                 in shape_state theState);
413     GEOM_Object GetShapesOnShapeAsCompound (in GEOM_Object theCheckShape,
414                                             in GEOM_Object theShape,
415                                             in short       theShapeType,
416                                             in shape_state theState);
417
418     //-----------------------------------------------------------//
419     // BlocksOperations                                          //
420     //-----------------------------------------------------------//
421     GEOM_Object MakeQuad4Vertices (in GEOM_Object thePnt1,
422                                    in GEOM_Object thePnt2,
423                                    in GEOM_Object thePnt3,
424                                    in GEOM_Object thePnt4) ;
425     GEOM_Object MakeQuad (in GEOM_Object theEdge1,
426                           in GEOM_Object theEdge2,
427                           in GEOM_Object theEdge3,
428                           in GEOM_Object theEdge4) ;
429     GEOM_Object MakeQuad2Edges (in GEOM_Object theEdge1,
430                                 in GEOM_Object theEdge2) ;
431     GEOM_Object MakeHexa (in GEOM_Object theFace1,
432                           in GEOM_Object theFace2,
433                           in GEOM_Object theFace3,
434                           in GEOM_Object theFace4,
435                           in GEOM_Object theFace5,
436                           in GEOM_Object theFace6) ;
437     GEOM_Object MakeHexa2Faces (in GEOM_Object theFace1,
438                                 in GEOM_Object theFace2) ;
439     GEOM_Object GetPoint (in GEOM_Object theShape,
440                           in double      theX,
441                           in double      theY,
442                           in double      theZ,
443                           in double      theEpsilon) ;
444     GEOM_Object GetEdge (in GEOM_Object theShape,
445                          in GEOM_Object thePoint1,
446                          in GEOM_Object thePoint2) ;
447     GEOM_Object GetEdgeNearPoint (in GEOM_Object theShape,
448                                   in GEOM_Object thePoint) ;
449     GEOM_Object GetFaceByPoints (in GEOM_Object theShape,
450                                  in GEOM_Object thePoint1,
451                                  in GEOM_Object thePoint2,
452                                  in GEOM_Object thePoint3,
453                                  in GEOM_Object thePoint4) ;
454     GEOM_Object GetFaceByEdges (in GEOM_Object theShape,
455                                 in GEOM_Object theEdge1,
456                                 in GEOM_Object theEdge2) ;
457     GEOM_Object GetOppositeFace (in GEOM_Object theBlock,
458                                  in GEOM_Object theFace) ;
459     GEOM_Object GetFaceNearPoint (in GEOM_Object theShape,
460                                   in GEOM_Object thePoint) ;
461     GEOM_Object GetFaceByNormale (in GEOM_Object theBlock,
462                                   in GEOM_Object theVector) ;
463     boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
464                                 in long        theMinNbFaces,
465                                 in long        theMaxNbFaces,
466                                 out long       theNbBlocks) ;
467     boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
468                                    out GEOM_IBlocksOperations::BCErrors   theErrors) ;
469     string PrintBCErrors (in GEOM_Object theCompound,
470                           in GEOM_IBlocksOperations::BCErrors    theErrors) ;
471     GEOM_List ExplodeCompoundOfBlocks (in GEOM_Object theCompound,
472                                        in long        theMinNbFaces,
473                                        in long        theMaxNbFaces) ;
474     GEOM_Object GetBlockNearPoint (in GEOM_Object theCompound,
475                                    in GEOM_Object thePoint) ;
476     GEOM_Object GetBlockByParts (in GEOM_Object theCompound,
477                                  in GEOM_List   theParts) ;
478     GEOM_List GetBlocksByParts (in GEOM_Object theCompound,
479                                 in GEOM_List   theParts) ;
480     GEOM_Object MakeMultiTransformation1D (in GEOM_Object theBlock,
481                                            in long        theDirFace1,
482                                            in long        theDirFace2,
483                                            in long        theNbTimes) ;
484     GEOM_Object MakeMultiTransformation2D (in GEOM_Object theBlock,
485                                            in long        theDirFace1U,
486                                            in long        theDirFace2U,
487                                            in long        theNbTimesU,
488                                            in long        theDirFace1V,
489                                            in long        theDirFace2V,
490                                            in long        theNbTimesV) ;
491
492     //-----------------------------------------------------------//
493     // CurvesOperations                                          //
494     //-----------------------------------------------------------//
495     GEOM_Object MakeCirclePntVecR (in GEOM_Object thePnt,
496                                    in GEOM_Object theVec,
497                                    in double      theR) ;
498     GEOM_Object MakeCircleThreePnt (in GEOM_Object thePnt1,
499                                     in GEOM_Object thePnt2,
500                                     in GEOM_Object thePnt3) ;
501     GEOM_Object MakeCircleCenter2Pnt (in GEOM_Object thePnt1,
502                                          in GEOM_Object thePnt2,
503                                       in GEOM_Object thePnt3) ;
504     GEOM_Object MakeEllipse (in GEOM_Object thePnt,
505                              in GEOM_Object theVec,
506                              in double      theRMajor,
507                              in double      theRMinor) ;
508     GEOM_Object MakeEllipseVec (in GEOM_Object thePnt,
509                                 in GEOM_Object theVec,
510                                 in double      theRMajor,
511                                 in double      theRMinor,
512                                 in GEOM_Object theVecMaj) ;
513     GEOM_Object MakeArc (in GEOM_Object thePnt1,
514                          in GEOM_Object thePnt2,
515                          in GEOM_Object thePnt3) ;
516     GEOM_Object MakeArcCenter (in GEOM_Object theCenter,
517                                in GEOM_Object thePnt1,
518                                in GEOM_Object thePnt2,
519                                in boolean theSense) ;
520     GEOM_Object MakeArcOfEllipse (in GEOM_Object theCenter,
521                                  in GEOM_Object thePnt1,
522                                  in GEOM_Object thePnt2) ;
523     GEOM_Object MakePolyline (in GEOM_List thePoints,
524                               in boolean   theIsClosed) ;
525     GEOM_Object MakeSplineBezier (in GEOM_List thePoints,
526                                   in boolean   theIsClosed) ;
527     GEOM_Object MakeSplineInterpolation (in GEOM_List thePoints,
528                                          in boolean   theIsClosed,
529                                          in boolean   theDoReordering) ;
530     GEOM_Object MakeSketcher (in string    theCommand,
531                               in GEOM_List theWorkingPlane) ;
532
533     //-----------------------------------------------------------//
534     // LocalOperations                                           //
535     //-----------------------------------------------------------//
536     GEOM_Object MakeFilletAll (in GEOM_Object theShape,
537                                in double      theR) ;
538     GEOM_Object MakeFilletEdges (in GEOM_Object theShape,
539                                  in double      theR,
540                                  in GEOM_List   theEdges) ;
541     GEOM_Object MakeFilletEdgesR1R2 (in GEOM_Object theShape,
542                                      in double      theR1,
543                                      in double      theR2,
544                                      in GEOM_List   theEdges) ;
545     GEOM_Object MakeFilletFaces (in GEOM_Object theShape,
546                                  in double      theR,
547                                  in GEOM_List   theFaces) ;
548     GEOM_Object MakeFilletFacesR1R2 (in GEOM_Object theShape,
549                                      in double      theR1,
550                                      in double      theR2,
551                                      in GEOM_List   theFaces) ;
552     GEOM_Object MakeFillet2D (in GEOM_Object theShape,
553                               in double      theR,
554                               in GEOM_List   theVertexes) ;
555     GEOM_Object MakeChamferAll (in GEOM_Object theShape,
556                                 in double      theD) ;
557     GEOM_Object MakeChamferEdge (in GEOM_Object theShape,
558                                  in double theD1, in double theD2,
559                                  in long theFace1, in long theFace2) ;
560     GEOM_Object MakeChamferEdgeAD (in GEOM_Object theShape,
561                                    in double theD, in double theAngle,
562                                    in long theFace1, in long theFace2) ;
563     GEOM_Object MakeChamferFaces (in GEOM_Object theShape,
564                                   in double theD1, in double theD2,
565                                   in GEOM_List theFaces) ;
566     GEOM_Object MakeChamferFacesAD (in GEOM_Object theShape,
567                                     in double theD, in double theAngle,
568                                     in GEOM_List theFaces) ;
569     GEOM_Object MakeChamferEdges (in GEOM_Object theShape,
570                                   in double theD1, in double theD2,
571                                   in GEOM_List theEdges) ;
572     GEOM_Object MakeChamferEdgesAD (in GEOM_Object theShape,
573                                     in double theD, in double theAngle,
574                                     in GEOM_List theEdges) ;
575     GEOM_Object MakeArchimede (in GEOM_Object theShape,
576                                in double      theWeight,
577                                in double      theWaterDensity,
578                                in double      theMeshDeflection) ;
579     long GetSubShapeIndex (in GEOM_Object theShape,
580                            in GEOM_Object theSubShape) ;
581
582     //-----------------------------------------------------------//
583     // GroupOperations                                           //
584     //-----------------------------------------------------------//
585     GEOM_Object CreateGroup (in GEOM_Object theMainShape,
586                              in long        theShapeType) ;
587     void AddObject (in GEOM_Object theGroup,
588                     in long        theSubShapeId) ;
589     void RemoveObject (in GEOM_Object theGroup,
590                        in long        theSubShapeId) ;
591     long GetType (in GEOM_Object theGroup) ;
592     GEOM_Object  GetMainShape(in GEOM_Object theGroup) ;
593     GEOM_List  GetObjects(in GEOM_Object theGroup) ;
594
595     //-----------------------------------------------------------//
596     // AdvancedOperations                                        //
597     //-----------------------------------------------------------//
598     GEOM_List MakePipeTShape (in double theR1, in double theW1, in double theL1,
599                 in double theR2, in double theW2, in double theL2,
600                 in boolean theHexMesh);
601
602     GEOM_List MakePipeTShapeWithPosition (in double theR1, in double theW1, in double theL1,
603                         in double theR2, in double theW2, in double theL2,
604                         in boolean theHexMesh,
605                         in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
606
607     GEOM_List MakePipeTShapeChamfer (in double theR1, in double theW1, in double theL1,
608                     in double theR2, in double theW2, in double theL2,
609                     in double theH, in double theW, in boolean theHexMesh);
610
611     GEOM_List MakePipeTShapeChamferWithPosition (in double theR1, in double theW1, in double theL1,
612                            in double theR2, in double theW2, in double theL2,
613                            in double theH, in double theW, in boolean theHexMesh,
614                            in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
615
616     GEOM_List MakePipeTShapeFillet (in double theR1, in double theW1, in double theL1,
617                       in double theR2, in double theW2, in double theL2,
618                       in double theRF, in boolean theHexMesh);
619
620     GEOM_List MakePipeTShapeFilletWithPosition (in double theR1, in double theW1, in double theL1,
621                           in double theR2, in double theW2, in double theL2,
622                           in double theRF, in boolean theHexMesh,
623                           in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
624
625     GEOM_Object MakeDividedDisk (in double theR, in double theRatio, in short theOrientation,
626                                  in pattern thePattern);
627
628     GEOM_Object MakeDividedCylinder (in double theR, in double theH,
629                                      in pattern thePattern);
630
631     GEOM_Object MakeSmoothingSurface (in GEOM_List thelPoints);
632
633     /*@@ insert new functions before this line @@ do not remove this line @@*/
634  };
635 };
636
637 #endif