28 #include "SALOME_Exception.idl"
29 #include "SALOME_Component.idl"
30 #include "SALOMEDS.idl"
31 #include "SALOMEDS_Attributes.idl"
33 #include "SALOME_GenericObj.idl"
265 typedef sequence<GEOM_Object>
ListOfGO;
281 void SetName (in
string theName);
316 void SetStudyEntry (in
string theEntry);
321 string GetStudyEntry();
328 ListOfGBO GetDependency();
334 ListOfGBO GetLastDependency();
355 void SetParameters (in
string theParameters);
360 string GetParameters();
365 CreationInformationSeq GetCreationInformation();
421 string GetSubShapeName(in
long subID);
428 void SetColor(in SALOMEDS::Color theColor);
433 SALOMEDS::Color GetColor();
439 void SetAutoColor(in
boolean theAutoColor);
444 boolean GetAutoColor();
459 void SetMarkerTexture(in
long theTextureId);
477 long GetMarkerTexture();
482 long long getShape();
491 SALOMEDS::TMPFile GetShapeStream();
496 boolean IsMainShape();
502 ListOfLong GetSubShapeIndices();
532 short GetDimension();
537 string_array GetComponents();
552 void RemoveStep(in
long stepID);
562 ListOfLong GetSteps();
586 void SetStamp(in
long stamp);
613 boolean SetValues(in short_array boolValues);
618 short_array GetValues();
630 boolean SetValues(in ListOfLong intValues);
635 ListOfLong GetValues();
647 boolean SetValues(in ListOfDouble doubleValues);
652 ListOfDouble GetValues();
664 boolean SetValues(in string_array strValues);
669 string_array GetValues();
688 void SetErrorCode (in
string theErrorID);
693 string GetErrorCode();
703 void StartOperation();
708 void FinishOperation();
713 void AbortOperation();
730 GEOM_Object MakePointXYZ (in
double theX, in
double theY, in
double theZ);
742 in
double theX, in
double theY, in
double theZ);
753 in
double theParameter,
754 in
boolean takeOrientationIntoAccount);
778 in
double theXParameter,
779 in
double theYParameter,
780 in
double theZParameter);
791 in
double theUParameter,
792 in
double theVParameter);
803 in
double theXParameter,
804 in
double theYParameter,
805 in
double theZParameter);
835 in
double theParameter);
892 in
double theTrimSize);
904 in
double theTrimSize);
913 in
double theTrimSize);
924 in
double theTrimSize);
934 in
double theTrimSize,
935 in
double theOrientation);
944 GEOM_Object MakeMarker (in
double theOX , in
double theOY , in
double theOZ,
945 in
double theXDX, in
double theXDY, in
double theXDZ,
946 in
double theYDX, in
double theYDY, in
double theYDZ);
976 in
double theParameterU,
977 in
double theParameterV,
978 in
double theTrimSize);
1018 in
double theDX, in
double theDY, in
double theDZ);
1028 in
double theDX, in
double theDY, in
double theDZ);
1061 in
double theDistance,
1062 in
boolean theCopy);
1076 in
long theNbTimes);
1093 in
long theNbTimes1,
1096 in
long theNbTimes2);
1136 in
double theAngle);
1149 in
double theAngle);
1163 in
long theNbObjects);
1178 in
double theAngleStep,
1179 in
long theNbSteps);
1198 in
long theNbObjects,
1199 in
double theRadialStep,
1200 in
long theNbSteps);
1220 in
double theAngleStep,
1221 in
long theNbSteps1,
1222 in
double theRadialStep,
1223 in
long theNbSteps2);
1243 in
double theAngleStep,
1244 in
long theNbSteps1,
1245 in
double theRadialStep,
1246 in
long theNbSteps2);
1335 double ProjectPointOnWire (in
GEOM_Object thePoint,
1338 out
long theEdgeInWireIndex);
1348 in
double theFactor);
1358 in
double theFactor);
1369 in
double theFactorX,
1370 in
double theFactorY,
1371 in
double theFactorZ);
1383 in
double theFactorX,
1384 in
double theFactorY,
1385 in
double theFactorZ);
1430 in
double theDistance,
1432 in
boolean theReverse);
1465 in
double theRadius,
1466 in
double theStartAngle,
1467 in
double theAngleLength,
1468 in
double theAngleRotation);
1489 GEOM_Object MakeBoxDXDYDZ (in
double theDX, in
double theDY, in
double theDZ);
1510 GEOM_Object MakeFaceHW (in
double theH, in
double theW, in
short theOrientation);
1547 GEOM_Object MakeDiskR (in
double theR, in
short theOrientation);
1558 GEOM_Object MakeCylinderRH (in
double theR, in
double theH);
1570 GEOM_Object MakeCylinderRHA (in
double theR, in
double theH, in
double theA);
1611 GEOM_Object MakeConeR1R2H (in
double theR1, in
double theR2, in
double theH);
1637 in
double theRMinor);
1649 in
double theRMajor,
1650 in
double theRMinor);
1688 in
double theScaleFactor);
1708 in
double theScaleFactor);
1717 in
double theDX, in
double theDY, in
double theDZ);
1720 in
double theDX, in
double theDY, in
double theDZ);
1723 in
double theDX, in
double theDY, in
double theDZ,
1724 in
double theScaleFactor);
1740 in
double theHeight,
1743 in
boolean theInvert);
1759 in
boolean IsGenerateGroups);
1774 in
double theAngle);
1778 in
double theAngle);
1793 in
long theMinDeg, in
long theMaxDeg,
1794 in
double theTol2D, in
double theTol3D,
1797 in
boolean theApprox);
1807 GEOM_Object MakeThruSections(in ListOfGO theSeqSections,
1808 in
boolean theModeSolid,
1810 in
boolean theRuled);
1838 ListOfGO MakePipeWithDifferentSections (in ListOfGO theSeqBases,
1839 in ListOfGO theLocations,
1841 in
boolean theWithContact ,
1842 in
boolean theWithCorrection,
1843 in
boolean IsBySteps,
1844 in
boolean IsGenerateGroups);
1869 ListOfGO MakePipeWithShellSections (in ListOfGO theSeqBases,
1870 in ListOfGO theSeqSubBases,
1871 in ListOfGO theLocations,
1873 in
boolean theWithContact,
1874 in
boolean theWithCorrection,
1875 in
boolean IsGenerateGroups);
1888 ListOfGO MakePipeShellsWithoutPath (in ListOfGO theSeqBases,
1889 in ListOfGO theLocations,
1890 in
boolean IsGenerateGroups);
1909 ListOfGO MakePipeBiNormalAlongVector (in
GEOM_Object theBase,
1912 in
boolean IsGenerateGroups);
1932 in ListOfLong theFacesIDs,
1933 in
double theThickness,
1935 in
boolean isInside);
1977 in ListOfGO theBase1,
1978 in ListOfGO theBase2);
2008 in
double theLength,
2019 in
double theLinearTolerance,
2020 in
double theAngularTolerance);
2029 GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
2030 in
double theTolerance);
2048 GEOM_Object MakeFaceWires (in ListOfGO theWires, in
boolean isPlanarWanted);
2067 GEOM_Object MakeFaceWithConstraints(in ListOfGO theConstraints);
2074 GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
2088 GEOM_Object MakeSolidShells (in ListOfGO theShells);
2104 GEOM_Object MakeSolidFromConnectedFaces (in ListOfGO theFacesOrShells, in
boolean isIntersect);
2113 GEOM_Object MakeGlueFaces (in ListOfGO theShapes, in
double theTolerance, in
boolean doKeepNonSolids);
2121 ListOfGO GetGlueFaces (in ListOfGO theShapes, in
double theTolerance);
2135 GEOM_Object MakeGlueFacesByList (in ListOfGO theShapes, in
double theTolerance,
2136 in ListOfGO theFaces, in
boolean doKeepNonSolids,
2137 in
boolean doGlueAllEdges);
2145 GEOM_Object MakeGlueEdges (in ListOfGO theShapes, in
double theTolerance);
2153 ListOfGO GetGlueEdges (in ListOfGO theShapes, in
double theTolerance);
2163 GEOM_Object MakeGlueEdgesByList (in ListOfGO theShapes,
2164 in
double theTolerance,
2165 in ListOfGO theEdges);
2175 ListOfGO GetExistingSubObjects (in
GEOM_Object theShape,
2176 in
boolean theGroupsOnly);
2184 in
long theShapeType,
2185 in
boolean isSorted);
2197 ListOfGO MakeAllSubShapes (in
GEOM_Object theShape,
2198 in
long theShapeType,
2199 in
boolean isSorted);
2210 ListOfGO ExtractSubShapes (in
GEOM_Object theShape,
2211 in
long theShapeType,
2212 in
boolean isSorted);
2217 ListOfLong SubShapeAllIDs (in
GEOM_Object theShape,
2218 in
long theShapeType,
2219 in
boolean isSorted);
2232 ListOfLong GetAllSubShapesIDs (in
GEOM_Object theShape,
2233 in
long theShapeType,
2234 in
boolean isSorted);
2255 ListOfGO MakeSubShapes (in
GEOM_Object theMainShape,
2256 in ListOfLong theIndices);
2272 ListOfLong GetSubShapesIndices (in
GEOM_Object theMainShape, in ListOfGO theSubShapes);
2294 string GetShapeTypeString (in
GEOM_Object theShape);
2309 boolean IsSubShapeBelongsTo( in
GEOM_Object theSubObject,
2310 in
long theSubObjectIndex,
2312 in
long theObjectIndex);
2334 in
long theShapeType);
2350 ListOfLong GetFreeFacesIDs (in
GEOM_Object theShape);
2359 ListOfGO GetSharedShapes (in
GEOM_Object theShape1,
2361 in
long theShapeType);
2376 ListOfGO GetSharedShapesMulti (in ListOfGO theShapes,
2377 in
long theShapeType,
2378 in
boolean theMultiShare);
2390 ListOfGO GetShapesOnPlane (in
GEOM_Object theShape,
2391 in
long theShapeType,
2405 ListOfGO GetShapesOnPlaneWithLocation (in
GEOM_Object theShape,
2406 in
long theShapeType,
2424 ListOfGO GetShapesOnCylinder (in
GEOM_Object theShape,
2425 in
long theShapeType,
2427 in
double theRadius,
2442 ListOfGO GetShapesOnCylinderWithLocation (in
GEOM_Object theShape,
2443 in
long theShapeType,
2446 in
double theRadius,
2459 ListOfGO GetShapesOnSphere (in
GEOM_Object theShape,
2460 in
long theShapeType,
2462 in
double theRadius,
2477 ListOfGO GetShapesOnQuadrangle (in
GEOM_Object theShape,
2478 in
long theShapeType,
2495 ListOfLong GetShapesOnPlaneIDs (in
GEOM_Object theShape,
2496 in
long theShapeType,
2511 ListOfLong GetShapesOnPlaneWithLocationIDs (in
GEOM_Object theShape,
2512 in
long theShapeType,
2528 ListOfLong GetShapesOnCylinderIDs (in
GEOM_Object theShape,
2529 in
long theShapeType,
2531 in
double theRadius,
2546 ListOfLong GetShapesOnCylinderWithLocationIDs (in
GEOM_Object theShape,
2547 in
long theShapeType,
2550 in
double theRadius,
2563 ListOfLong GetShapesOnSphereIDs (in
GEOM_Object theShape,
2564 in
long theShapeType,
2566 in
double theRadius,
2581 ListOfLong GetShapesOnQuadrangleIDs (in
GEOM_Object theShape,
2582 in
long theShapeType,
2597 ListOfLong GetShapesOnBoxIDs (in
GEOM_Object theBox,
2599 in
long theShapeType,
2612 in
long theShapeType,
2623 ListOfLong GetShapesOnShapeIDs (in
GEOM_Object theCheckShape,
2625 in
short theShapeType,
2636 ListOfGO GetShapesOnShape (in
GEOM_Object theCheckShape,
2638 in
short theShapeType,
2651 in
short theShapeType,
2706 ListOfLong GetSameIDs (in
GEOM_Object theShapeWhere,
2762 ListOfGO GetSubShapeEdgeSorted (in
GEOM_Object theShape,
2780 ListOfGO GetSubShapesWithTolerance(in
GEOM_Object theShape,
2781 in
short theShapeType,
2783 in
double theTolerance);
2819 in ListOfLong theSubShapeIDs,
2909 in
double theEpsilon);
3001 in
long theShapeType,
3002 in
double theTolerance);
3016 boolean IsCompoundOfBlocks (in
GEOM_Object theCompound,
3017 in
long theMinNbFaces,
3018 in
long theMaxNbFaces,
3019 out
long theNbBlocks);
3073 boolean CheckCompoundOfBlocks (in
GEOM_Object theCompound,
3074 in
double theToleranceC1,
3100 in
double theToleranceC1,
3115 in
long theOptimumNbFaces);
3145 ListOfGO ExplodeCompoundOfBlocks (in
GEOM_Object theCompound,
3146 in
long theMinNbFaces,
3147 in
long theMaxNbFaces);
3166 in ListOfGO theParts);
3174 ListOfGO GetBlocksByParts (in
GEOM_Object theCompound,
3175 in ListOfGO theParts);
3192 in
long theDirFace1,
3193 in
long theDirFace2,
3194 in
long theNbTimes);
3205 in
long theDirFace1U,
3206 in
long theDirFace2U,
3207 in
long theNbTimesU,
3208 in
long theDirFace1V,
3209 in
long theDirFace2V,
3210 in
long theNbTimesV);
3245 in
long theOperation,
3246 in
boolean IsCheckSelfInte);
3259 in
boolean IsCheckSelfInte,
3260 in
boolean IsRmExtraEdges);
3272 in
boolean IsCheckSelfInte,
3273 in
boolean IsRmExtraEdges);
3282 GEOM_Object MakeCommonList (in ListOfGO theShapes,
3283 in
boolean IsCheckSelfInte);
3294 in ListOfGO theShapes,
3295 in
boolean IsCheckSelfInte);
3324 in ListOfGO theTools,
3325 in ListOfGO theKeepInside,
3326 in ListOfGO theRemoveInside,
3328 in
boolean theRemoveWebs,
3329 in ListOfLong theMaterials,
3330 in
short theKeepNonlimitShapes);
3349 GEOM_Object MakePartitionNonSelfIntersectedShape (in ListOfGO theShapes,
3350 in ListOfGO theTools,
3351 in ListOfGO theKeepInside,
3352 in ListOfGO theRemoveInside,
3354 in
boolean theRemoveWebs,
3355 in ListOfLong theMaterials,
3356 in
short theKeepNonlimitShapes,
3357 in
boolean IsCheckSelfInte);
3425 in
double theRMajor,
3426 in
double theRMinor);
3439 in
double theRMajor,
3440 in
double theRMinor,
3465 in
boolean theSense);
3487 in
boolean theIsClosed);
3495 GEOM_Object MakeSplineBezier (in ListOfGO thePoints,
3496 in
boolean theIsClosed);
3506 GEOM_Object MakeSplineInterpolation (in ListOfGO thePoints,
3507 in
boolean theIsClosed,
3508 in
boolean theDoReordering);
3517 GEOM_Object MakeSplineInterpolWithTangents (in ListOfGO thePoints,
3532 GEOM_Object MakeCurveParametric(in
string thexExpr,
3535 in
double theParamMin,
3536 in
double theParamMax,
3537 in
double theParamStep,
3551 GEOM_Object MakeCurveParametricNew(in
string thexExpr,
3554 in
double theParamMin,
3555 in
double theParamMax,
3556 in
long theParamNbStep,
3570 in
boolean IsUIsoline,
3571 in
double theParameter);
3608 GEOM_Object MakeSketcher (in
string theCommand, in ListOfDouble theWorkingPlane);
3647 GEOM_Object Make3DSketcherCommand (in
string theCommand);
3659 GEOM_Object Make3DSketcher (in ListOfDouble theCoordinates);
3688 GEOM_Object MakePolyline2D (in ListOfListOfDouble theCoordsList,
3689 in string_array theNamesList,
3690 in short_array theTypesList,
3691 in ListOfBool theClosedList,
3692 in ListOfDouble theWorkingPlane);
3720 GEOM_Object MakePolyline2DOnPlane (in ListOfListOfDouble theCoordsList,
3721 in string_array theNamesList,
3722 in short_array theTypesList,
3723 in ListOfBool theClosedList,
3754 in ListOfLong theEdges);
3758 in ListOfLong theEdges);
3771 in ListOfLong theFaces);
3776 in ListOfLong theFaces);
3789 in ListOfLong theVertexes);
3810 in ListOfLong theVertexes,
3811 in
boolean doIgnoreSecantVertices);
3834 in
double theD1, in
double theD2,
3835 in
long theFace1, in
long theFace2);
3841 in
double theD, in
double theAngle,
3842 in
long theFace1, in
long theFace2);
3858 in
double theD1, in
double theD2,
3859 in ListOfLong theFaces);
3865 in
double theD, in
double theAngle,
3866 in ListOfLong theFaces);
3877 in
double theD1, in
double theD2,
3878 in ListOfLong theEdges);
3884 in
double theD, in
double theAngle,
3885 in ListOfLong theEdges);
3898 in
double theWeight,
3899 in
double theWaterDensity,
3900 in
double theMeshDeflection);
3929 in string_array theOperators,
3930 in string_array theParameters,
3931 in string_array theValues);
3944 void GetShapeProcessParameters (out string_array theOperators,
3945 out string_array theParameters,
3946 out string_array theValues);
3957 void GetOperatorParameters (in
string theOperator,
3958 out string_array theParameters,
3959 out string_array theValues);
3980 in
boolean isCommonVertex);
4006 GEOM_Object Sew (in ListOfGO theObjects, in
double theTolerance);
4014 GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in
double theTolerance);
4022 GEOM_Object RemoveInternalFaces (in ListOfGO theSolids);
4036 in
double theValue, in
boolean isByParameter);
4048 in
short theEdgeIndex,
4049 in ListOfGO thePoints);
4059 in ListOfGO theVertices);
4069 boolean GetFreeBoundary (in ListOfGO theObjects,
4070 out ListOfGO theClosedWires,
4071 out ListOfGO theOpenWires);
4094 ModifStatistics GetStatistics();
4118 void Export (in
GEOM_Object theObject, in
string theFileName, in
string theFormatName);
4133 ListOfGBO ImportFile (in
string theFileName, in
string theFormatName);
4145 string ReadValue (in
string theFileName, in
string theFormatName, in
string theParameterName);
4153 GEOM_Object RestoreShape (in SALOMEDS::TMPFile theStream);
4160 long LoadTexture(in
string theTextureFile);
4169 long AddTexture(in
long theWidth, in
long theHeight, in SALOMEDS::TMPFile theTexture);
4178 SALOMEDS::TMPFile GetTexture(in
long theID, out
long theWidth, out
long theHeight);
4184 ListOfLong GetAllTextures();
4215 boolean TransferData(in
GEOM_Object theObjectFrom,
4317 out ListOfLong theIntegers,
4318 out ListOfDouble theDoubles);
4332 out
double Ox, out
double Oy, out
double Oz,
4333 out
double Zx, out
double Zy, out
double Zz,
4334 out
double Xx, out
double Xy, out
double Xz);
4347 in
double theTolerance,
4348 out
double theLength,
4349 out
double theSurfArea,
4350 out
double theVolume);
4386 out
double I11, out
double I12, out
double I13,
4387 out
double I21, out
double I22, out
double I23,
4388 out
double I31, out
double I32, out
double I33,
4389 out
double Ix , out
double Iy , out
double Iz);
4402 out
double Xmin, out
double Xmax,
4403 out
double Ymin, out
double Ymax,
4404 out
double Zmin, out
double Zmax);
4413 in
boolean precise);
4424 out
double FaceMin, out
double FaceMax,
4425 out
double EdgeMin, out
double EdgeMax,
4426 out
double VertMin, out
double VertMax);
4514 boolean CheckShapeWithGeometry (in
GEOM_Object theShape,
4534 boolean CheckSelfIntersections (in
GEOM_Object theShape,
4535 in
long theCheckLevel,
4536 out ListOfLong theIntersections);
4548 boolean CheckSelfIntersectionsFast (in
GEOM_Object theShape,
4549 in
float theDeflection,
4550 in
double theTolerance,
4551 out ListOfLong theIntersections);
4559 boolean CheckBOPArguments (in
GEOM_Object theShape);
4576 in
double theTolerance,
4577 in
float theDeflection,
4578 out ListOfLong theIntersections1,
4579 out ListOfLong theIntersections2);
4603 ListOfBool AreCoordsInside(in
GEOM_Object theShape, in ListOfDouble coords, in
double tolerance);
4613 out
double X1, out
double Y1, out
double Z1,
4614 out
double X2, out
double Y2, out
double Z2);
4624 out ListOfDouble theCoords);
4643 void PointCoordinates (in
GEOM_Object theShape, out
double X, out
double Y, out
double Z);
4651 double CurveCurvatureByParam (in
GEOM_Object theShape, in
double theParam);
4668 double MaxSurfaceCurvatureByParam (in
GEOM_Object theShape, in
double theUParam,
4669 in
double theVParam);
4686 double MinSurfaceCurvatureByParam (in
GEOM_Object theShape, in
double theUParam,
4687 in
double theVParam);
4719 void AddObject (in
GEOM_Object theGroup, in
long theSubShapeId);
4727 void RemoveObject (in
GEOM_Object theGroup, in
long theSubShapeId);
4734 void UnionList (in
GEOM_Object theGroup, in ListOfGO theSubShapes);
4741 void DifferenceList (in
GEOM_Object theGroup, in ListOfGO theSubShapes);
4748 void UnionIDs (in
GEOM_Object theGroup, in ListOfLong theSubShapes);
4755 void DifferenceIDs (in
GEOM_Object theGroup, in ListOfLong theSubShapes);
4793 GEOM_Object UnionListOfGroups (in ListOfGO theGList);
4802 GEOM_Object IntersectListOfGroups (in ListOfGO theGList);
4813 GEOM_Object CutListOfGroups (in ListOfGO theGList1,
4814 in ListOfGO theGList2);
4849 in string_array componentNames);
4868 long GetNbSubShapes(in
GEOM_Object shape, in
short fieldDim);
4877 interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
4883 void Undo (in
long theStudyID);
4885 void Redo (in
long theStudyID);
4894 SALOMEDS::SObject AddInStudy (in SALOMEDS::Study theStudy,
4923 ListOfGO RestoreSubShapesO (in SALOMEDS::Study theStudy,
4925 in ListOfGO theArgs,
4927 in
boolean theInheritFirstArg,
4928 in
boolean theAddPrefix);
4954 ListOfGO RestoreGivenSubShapesO (in SALOMEDS::Study theStudy,
4956 in ListOfGO theArgs,
4958 in
boolean theInheritFirstArg,
4959 in
boolean theAddPrefix);
4985 ListOfGO RestoreSubShapesSO (in SALOMEDS::Study theStudy,
4986 in SALOMEDS::SObject theSObject,
4987 in ListOfGO theArgs,
4989 in
boolean theInheritFirstArg,
4990 in
boolean theAddPrefix);
5009 in
string theLibName) raises (SALOME::SALOME_Exception);
5049 string GetStringFromIOR (in
GEOM_Object theObject);
5055 string GetDumpName (in
string theStudyEntry);
5061 string_array GetAllDumpNames();
5068 ListOfGO PublishNamedShapesInStudy(in SALOMEDS::Study theStudy,
5070 in Object theObject);
5084 SALOMEDS::SObject CreateFolder (in
string theName,
5085 in SALOMEDS::SObject theFather);
5095 in SALOMEDS::SObject theFolder);
5104 void MoveListToFolder (in ListOfGO theListOfGO,
5105 in SALOMEDS::SObject theFolder);
5116 void Move( in object_list what,
5117 in SALOMEDS::SObject where,
5127 SALOMEDS::TMPFile GetDependencyTree(in SALOMEDS::Study theStudy,
5128 in string_array theListOfEntries);
5142 void GetEntriesToReduceStudy(in SALOMEDS::Study theStudy,
5143 inout string_array theSelectedEntries,
5144 inout string_array theParentEntries,
5145 inout string_array theSubEntries,
5146 inout string_array theOtherEntries);