1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // File : GEOM_Superv.idl
23 // Author : Lucien PIGNOLONI
25 #ifndef __GEOM_SUPERV__
26 #define __GEOM_SUPERV__
28 #include "GEOM_Gen.idl"
35 interface GEOM_Superv : Engines::EngineComponent,SALOMEDS::Driver
37 //-----------------------------------------------------------//
38 // Set current study ID //
39 //-----------------------------------------------------------//
40 void SetStudyID (in long theStudyID) ;
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);
49 //-----------------------------------------------------------//
50 // Create ListOfLong and add items to it //
51 //-----------------------------------------------------------//
52 GEOM_List CreateListOfLong();
53 void AddItemToListOfLong( inout GEOM_List theList,
56 //-----------------------------------------------------------//
57 // Create ListOfDouble and add items to it //
58 //-----------------------------------------------------------//
59 GEOM_List CreateListOfDouble();
60 void AddItemToListOfDouble( inout GEOM_List theList,
63 //-----------------------------------------------------------//
64 // Primitives Construction : BasicOperations //
65 //-----------------------------------------------------------//
66 GEOM_Object MakePointXYZ (in double theX,
69 GEOM_Object MakePointWithReference (in GEOM_Object theReference,
73 GEOM_Object MakePointOnCurve (in GEOM_Object theRefCurve,
74 in double theParameter);
75 GEOM_Object MakePointOnCurveByLength (in GEOM_Object theRefCurve,
77 in GEOM_Object theStartPoint);
79 GEOM_Object MakeTangentOnCurve (in GEOM_Object theRefCurve,
80 in double theParameter);
82 GEOM_Object MakeVectorDXDYDZ (in double theDX,
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) ;
110 GEOM_Object MakeMarkerFromShape (in GEOM_Object theShape) ;
112 GEOM_Object MakeMarkerPntTwoVec (in GEOM_Object theOrigin,
113 in GEOM_Object theXVec,
114 in GEOM_Object theYVec) ;
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.
125 GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace,
126 in double theParameterU,
127 in double theParameterV,
128 in double theTrimSize);
130 //-----------------------------------------------------------//
131 // Primitives Construction : 3DPrimOperations //
132 //-----------------------------------------------------------//
133 GEOM_Object MakeBox (in double theX1,
139 GEOM_Object MakeBoxDXDYDZ (in double theDX,
142 GEOM_Object MakeBoxTwoPnt (in GEOM_Object thePnt1,
143 in GEOM_Object thePnt2) ;
144 GEOM_Object MakeFaceHW (in double theH,
146 in short theOrientation) ;
147 GEOM_Object MakeFaceObjHW (in GEOM_Object theObj,
150 GEOM_Object MakeDiskPntVecR (in GEOM_Object thePnt,
151 in GEOM_Object theVec,
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,
161 in double theHeight) ;
162 GEOM_Object MakeCylinderRH (in double theR,
164 GEOM_Object MakeSphere (in double theX,
167 in double theRadius) ;
168 GEOM_Object MakeSphereR (in double theR) ;
169 GEOM_Object MakeSpherePntR (in GEOM_Object thePnt,
171 GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt,
172 in GEOM_Object theVec,
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,
181 in double theHeight) ;
182 GEOM_Object MakeConeR1R2H (in double theR1,
184 in double theHeight) ;
185 GEOM_Object MakePrismVecH (in GEOM_Object theBase,
186 in GEOM_Object theVec,
188 GEOM_Object MakePrismVecH2Ways (in GEOM_Object theBase,
189 in GEOM_Object theVec,
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,
209 in filling_oper_method theMethod,
210 in boolean theApprox) ;
211 GEOM_Object MakeThruSections(in ListOfGO theSeqSections,
212 in boolean theModeSolid,
214 in boolean theRuled);
216 GEOM_Object MakePipeWithDifferentSections (in ListOfGO theSeqBases,
217 in ListOfGO theLocations,
218 in GEOM_Object thePath,
219 in boolean theWithContact ,
220 in boolean theWithCorrection );
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 );
229 GEOM_Object MakePipeShellsWithoutPath (in ListOfGO theSeqBases,
230 in ListOfGO theLocations );
232 GEOM_Object MakePipeBiNormalAlongVector (in GEOM_Object theBase,
233 in GEOM_Object thePath,
234 in GEOM_Object theVec);
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,
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) ;
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) ;
266 //-----------------------------------------------------------//
267 // TransformOperations //
268 //-----------------------------------------------------------//
269 GEOM_Object TranslateTwoPoints (in GEOM_Object theObject,
270 in GEOM_Object thePoint1,
271 in GEOM_Object thePoint2) ;
272 GEOM_Object TranslateTwoPointsCopy (in GEOM_Object theObject,
273 in GEOM_Object thePoint1,
274 in GEOM_Object thePoint2) ;
275 GEOM_Object TranslateDXDYDZ (in GEOM_Object theObject,
279 GEOM_Object TranslateDXDYDZCopy (in GEOM_Object theObject,
283 GEOM_Object TranslateVector (in GEOM_Object theObject,
284 in GEOM_Object theVector) ;
285 GEOM_Object TranslateVectorCopy (in GEOM_Object theObject,
286 in GEOM_Object theVector) ;
287 GEOM_Object TranslateVectorDistance (in GEOM_Object theObject,
288 in GEOM_Object theVector,
289 in double theDistance,
290 in boolean theCopy) ;
291 GEOM_Object MultiTranslate1D (in GEOM_Object theObject,
292 in GEOM_Object theVector,
294 in long theNbTimes) ;
295 GEOM_Object MultiTranslate2D (in GEOM_Object theObject,
296 in GEOM_Object theVector1,
299 in GEOM_Object theVector2,
301 in long theNbTimes2) ;
302 GEOM_Object Rotate (in GEOM_Object theObject,
303 in GEOM_Object theAxis,
304 in double theAngle) ;
305 GEOM_Object RotateCopy (in GEOM_Object theObject,
306 in GEOM_Object theAxis,
307 in double theAngle) ;
308 GEOM_Object RotateThreePoints (in GEOM_Object theObject,
309 in GEOM_Object theCentPoint,
310 in GEOM_Object thePoint1,
311 in GEOM_Object thePoint2);
312 GEOM_Object RotateThreePointsCopy (in GEOM_Object theObject,
313 in GEOM_Object theCentPoint,
314 in GEOM_Object thePoint1,
315 in GEOM_Object thePoint2);
316 GEOM_Object MultiRotate1D (in GEOM_Object theObject,
317 in GEOM_Object theAxis,
318 in long theNbTimes) ;
319 GEOM_Object MultiRotate2D (in GEOM_Object theObject,
320 in GEOM_Object theAxis,
324 in long theNbTimes2) ;
325 GEOM_Object MirrorPlane (in GEOM_Object theObject,
326 in GEOM_Object thePlane) ;
327 GEOM_Object MirrorPlaneCopy (in GEOM_Object theObject,
328 in GEOM_Object thePlane) ;
329 GEOM_Object MirrorAxis (in GEOM_Object theObject,
330 in GEOM_Object theAxis) ;
331 GEOM_Object MirrorAxisCopy (in GEOM_Object theObject,
332 in GEOM_Object theAxis) ;
333 GEOM_Object MirrorPoint (in GEOM_Object theObject,
334 in GEOM_Object thePoint) ;
335 GEOM_Object MirrorPointCopy (in GEOM_Object theObject,
336 in GEOM_Object thePoint) ;
337 GEOM_Object OffsetShape (in GEOM_Object theObject,
338 in double theOffset) ;
339 GEOM_Object OffsetShapeCopy (in GEOM_Object theObject,
340 in double theOffset) ;
341 GEOM_Object ScaleShape (in GEOM_Object theObject,
342 in GEOM_Object thePoint,
343 in double theFactor) ;
344 GEOM_Object ScaleShapeCopy (in GEOM_Object theObject,
345 in GEOM_Object thePoint,
346 in double theFactor) ;
347 GEOM_Object ScaleShapeAlongAxes (in GEOM_Object theObject,
348 in GEOM_Object thePoint,
349 in double theFactorX,
350 in double theFactorY,
351 in double theFactorZ);
352 GEOM_Object ScaleShapeAlongAxesCopy (in GEOM_Object theObject,
353 in GEOM_Object thePoint,
354 in double theFactorX,
355 in double theFactorY,
356 in double theFactorZ);
357 GEOM_Object PositionShape (in GEOM_Object theObject,
358 in GEOM_Object theStartLCS,
359 in GEOM_Object theEndLCS) ;
360 GEOM_Object PositionShapeCopy (in GEOM_Object theObject,
361 in GEOM_Object theStartLCS,
362 in GEOM_Object theEndLCS) ;
363 GEOM_Object PositionAlongPath (in GEOM_Object theObject,
364 in GEOM_Object thePath,
365 in double theDistance,
367 in boolean theReverse);
369 //-----------------------------------------------------------//
370 // ShapesOperations //
371 //-----------------------------------------------------------//
372 GEOM_Object MakeEdge (in GEOM_Object thePnt1,
373 in GEOM_Object thePnt2) ;
374 GEOM_Object MakeEdgeOnCurveByLength (in GEOM_Object theRefCurve,
376 in GEOM_Object theStartPoint);
377 GEOM_Object MakeWire (in GEOM_List theEdgesAndWires,
378 in double theTolerance) ;
379 GEOM_Object MakeFace (in GEOM_Object theWire,
380 in boolean isPlanarWanted) ;
381 GEOM_Object MakeFaceWires (in GEOM_List theWires,
382 in boolean isPlanarWanted) ;
383 GEOM_Object MakeShell (in GEOM_List theFacesAndShells) ;
384 GEOM_Object MakeSolidShell (in GEOM_Object theShell) ;
385 GEOM_Object MakeSolidShells (in GEOM_List theShells) ;
386 GEOM_Object MakeCompound (in GEOM_List theShapes) ;
387 GEOM_Object MakeGlueFaces (in GEOM_Object theShape,
388 in double theTolerance,
389 in boolean doKeepNonSolids);
390 GEOM_List GetGlueFaces (in GEOM_Object theShape,
391 in double theTolerance);
392 GEOM_Object MakeGlueFacesByList (in GEOM_Object theShape,
393 in double theTolerance,
394 in ListOfGO theFaces,
395 in boolean doKeepNonSolids,
396 in boolean doGlueAllEdges);
397 GEOM_List MakeExplode (in GEOM_Object theShape,
398 in long theShapeType,
399 in boolean isSorted) ;
400 long NumberOfFaces (in GEOM_Object theShape) ;
401 long NumberOfEdges (in GEOM_Object theShape) ;
402 GEOM_Object ChangeOrientation (in GEOM_Object theShape) ;
404 GEOM_List GetShapesOnShape (in GEOM_Object theCheckShape,
405 in GEOM_Object theShape,
406 in short theShapeType,
407 in shape_state theState);
408 GEOM_Object GetShapesOnShapeAsCompound (in GEOM_Object theCheckShape,
409 in GEOM_Object theShape,
410 in short theShapeType,
411 in shape_state theState);
413 //-----------------------------------------------------------//
414 // BlocksOperations //
415 //-----------------------------------------------------------//
416 GEOM_Object MakeQuad4Vertices (in GEOM_Object thePnt1,
417 in GEOM_Object thePnt2,
418 in GEOM_Object thePnt3,
419 in GEOM_Object thePnt4) ;
420 GEOM_Object MakeQuad (in GEOM_Object theEdge1,
421 in GEOM_Object theEdge2,
422 in GEOM_Object theEdge3,
423 in GEOM_Object theEdge4) ;
424 GEOM_Object MakeQuad2Edges (in GEOM_Object theEdge1,
425 in GEOM_Object theEdge2) ;
426 GEOM_Object MakeHexa (in GEOM_Object theFace1,
427 in GEOM_Object theFace2,
428 in GEOM_Object theFace3,
429 in GEOM_Object theFace4,
430 in GEOM_Object theFace5,
431 in GEOM_Object theFace6) ;
432 GEOM_Object MakeHexa2Faces (in GEOM_Object theFace1,
433 in GEOM_Object theFace2) ;
434 GEOM_Object GetPoint (in GEOM_Object theShape,
438 in double theEpsilon) ;
439 GEOM_Object GetEdge (in GEOM_Object theShape,
440 in GEOM_Object thePoint1,
441 in GEOM_Object thePoint2) ;
442 GEOM_Object GetEdgeNearPoint (in GEOM_Object theShape,
443 in GEOM_Object thePoint) ;
444 GEOM_Object GetFaceByPoints (in GEOM_Object theShape,
445 in GEOM_Object thePoint1,
446 in GEOM_Object thePoint2,
447 in GEOM_Object thePoint3,
448 in GEOM_Object thePoint4) ;
449 GEOM_Object GetFaceByEdges (in GEOM_Object theShape,
450 in GEOM_Object theEdge1,
451 in GEOM_Object theEdge2) ;
452 GEOM_Object GetOppositeFace (in GEOM_Object theBlock,
453 in GEOM_Object theFace) ;
454 GEOM_Object GetFaceNearPoint (in GEOM_Object theShape,
455 in GEOM_Object thePoint) ;
456 GEOM_Object GetFaceByNormale (in GEOM_Object theBlock,
457 in GEOM_Object theVector) ;
458 boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
459 in long theMinNbFaces,
460 in long theMaxNbFaces,
461 out long theNbBlocks) ;
462 boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
463 out GEOM_IBlocksOperations::BCErrors theErrors) ;
464 string PrintBCErrors (in GEOM_Object theCompound,
465 in GEOM_IBlocksOperations::BCErrors theErrors) ;
466 GEOM_List ExplodeCompoundOfBlocks (in GEOM_Object theCompound,
467 in long theMinNbFaces,
468 in long theMaxNbFaces) ;
469 GEOM_Object GetBlockNearPoint (in GEOM_Object theCompound,
470 in GEOM_Object thePoint) ;
471 GEOM_Object GetBlockByParts (in GEOM_Object theCompound,
472 in GEOM_List theParts) ;
473 GEOM_List GetBlocksByParts (in GEOM_Object theCompound,
474 in GEOM_List theParts) ;
475 GEOM_Object MakeMultiTransformation1D (in GEOM_Object theBlock,
478 in long theNbTimes) ;
479 GEOM_Object MakeMultiTransformation2D (in GEOM_Object theBlock,
480 in long theDirFace1U,
481 in long theDirFace2U,
483 in long theDirFace1V,
484 in long theDirFace2V,
485 in long theNbTimesV) ;
487 //-----------------------------------------------------------//
488 // CurvesOperations //
489 //-----------------------------------------------------------//
490 GEOM_Object MakeCirclePntVecR (in GEOM_Object thePnt,
491 in GEOM_Object theVec,
493 GEOM_Object MakeCircleThreePnt (in GEOM_Object thePnt1,
494 in GEOM_Object thePnt2,
495 in GEOM_Object thePnt3) ;
496 GEOM_Object MakeCircleCenter2Pnt (in GEOM_Object thePnt1,
497 in GEOM_Object thePnt2,
498 in GEOM_Object thePnt3) ;
499 GEOM_Object MakeEllipse (in GEOM_Object thePnt,
500 in GEOM_Object theVec,
502 in double theRMinor) ;
503 GEOM_Object MakeEllipseVec (in GEOM_Object thePnt,
504 in GEOM_Object theVec,
507 in GEOM_Object theVecMaj) ;
508 GEOM_Object MakeArc (in GEOM_Object thePnt1,
509 in GEOM_Object thePnt2,
510 in GEOM_Object thePnt3) ;
511 GEOM_Object MakeArcCenter (in GEOM_Object theCenter,
512 in GEOM_Object thePnt1,
513 in GEOM_Object thePnt2,
514 in boolean theSense) ;
515 GEOM_Object MakeArcOfEllipse (in GEOM_Object theCenter,
516 in GEOM_Object thePnt1,
517 in GEOM_Object thePnt2) ;
518 GEOM_Object MakePolyline (in GEOM_List thePoints,
519 in boolean theIsClosed) ;
520 GEOM_Object MakeSplineBezier (in GEOM_List thePoints,
521 in boolean theIsClosed) ;
522 GEOM_Object MakeSplineInterpolation (in GEOM_List thePoints,
523 in boolean theIsClosed,
524 in boolean theDoReordering) ;
525 GEOM_Object MakeSketcher (in string theCommand,
526 in GEOM_List theWorkingPlane) ;
528 //-----------------------------------------------------------//
529 // LocalOperations //
530 //-----------------------------------------------------------//
531 GEOM_Object MakeFilletAll (in GEOM_Object theShape,
533 GEOM_Object MakeFilletEdges (in GEOM_Object theShape,
535 in GEOM_List theEdges) ;
536 GEOM_Object MakeFilletEdgesR1R2 (in GEOM_Object theShape,
539 in GEOM_List theEdges) ;
540 GEOM_Object MakeFilletFaces (in GEOM_Object theShape,
542 in GEOM_List theFaces) ;
543 GEOM_Object MakeFilletFacesR1R2 (in GEOM_Object theShape,
546 in GEOM_List theFaces) ;
547 GEOM_Object MakeFillet2D (in GEOM_Object theShape,
549 in GEOM_List theVertexes) ;
550 GEOM_Object MakeChamferAll (in GEOM_Object theShape,
552 GEOM_Object MakeChamferEdge (in GEOM_Object theShape,
553 in double theD1, in double theD2,
554 in long theFace1, in long theFace2) ;
555 GEOM_Object MakeChamferEdgeAD (in GEOM_Object theShape,
556 in double theD, in double theAngle,
557 in long theFace1, in long theFace2) ;
558 GEOM_Object MakeChamferFaces (in GEOM_Object theShape,
559 in double theD1, in double theD2,
560 in GEOM_List theFaces) ;
561 GEOM_Object MakeChamferFacesAD (in GEOM_Object theShape,
562 in double theD, in double theAngle,
563 in GEOM_List theFaces) ;
564 GEOM_Object MakeChamferEdges (in GEOM_Object theShape,
565 in double theD1, in double theD2,
566 in GEOM_List theEdges) ;
567 GEOM_Object MakeChamferEdgesAD (in GEOM_Object theShape,
568 in double theD, in double theAngle,
569 in GEOM_List theEdges) ;
570 GEOM_Object MakeArchimede (in GEOM_Object theShape,
572 in double theWaterDensity,
573 in double theMeshDeflection) ;
574 long GetSubShapeIndex (in GEOM_Object theShape,
575 in GEOM_Object theSubShape) ;
577 //-----------------------------------------------------------//
578 // GroupOperations //
579 //-----------------------------------------------------------//
580 GEOM_Object CreateGroup (in GEOM_Object theMainShape,
581 in long theShapeType) ;
582 void AddObject (in GEOM_Object theGroup,
583 in long theSubShapeId) ;
584 void RemoveObject (in GEOM_Object theGroup,
585 in long theSubShapeId) ;
586 long GetType (in GEOM_Object theGroup) ;
587 GEOM_Object GetMainShape(in GEOM_Object theGroup) ;
588 GEOM_List GetObjects(in GEOM_Object theGroup) ;
590 //-----------------------------------------------------------//
591 // AdvancedOperations //
592 //-----------------------------------------------------------//
593 GEOM_List MakePipeTShape (in double theR1, in double theW1, in double theL1,
594 in double theR2, in double theW2, in double theL2,
595 in boolean theHexMesh);
597 GEOM_List MakePipeTShapeWithPosition (in double theR1, in double theW1, in double theL1,
598 in double theR2, in double theW2, in double theL2,
599 in boolean theHexMesh,
600 in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
602 GEOM_List MakePipeTShapeChamfer (in double theR1, in double theW1, in double theL1,
603 in double theR2, in double theW2, in double theL2,
604 in double theH, in double theW, in boolean theHexMesh);
606 GEOM_List MakePipeTShapeChamferWithPosition (in double theR1, in double theW1, in double theL1,
607 in double theR2, in double theW2, in double theL2,
608 in double theH, in double theW, in boolean theHexMesh,
609 in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
611 GEOM_List MakePipeTShapeFillet (in double theR1, in double theW1, in double theL1,
612 in double theR2, in double theW2, in double theL2,
613 in double theRF, in boolean theHexMesh);
615 GEOM_List MakePipeTShapeFilletWithPosition (in double theR1, in double theW1, in double theL1,
616 in double theR2, in double theW2, in double theL2,
617 in double theRF, in boolean theHexMesh,
618 in GEOM_Object theP1, in GEOM_Object theP2, in GEOM_Object theP3);
620 /*@@ insert new functions before this line @@ do not remove this line @@*/