Version: 9.15.0
Home
GEOM_Gen.idl
Go to the documentation of this file.
1 // Copyright (C) 2007-2025 CEA, EDF, 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 // File : GEOM_Gen.idl
23 // Author : Sergey RUIN
24 
25 #ifndef __GEOM_GEN__
26 #define __GEOM_GEN__
27 
28 #include "SALOME_Exception.idl"
29 #include "SALOME_Component.idl"
30 #include "SALOMEDS.idl"
31 #include "SALOMEDS_Attributes.idl"
32 
33 #include "SALOME_GenericObj.idl"
34 
35 module GEOM
36 {
40  enum shape_type
41  {
51  FACE,
53  WIRE,
55  EDGE,
61  FLAT
62  };
63 
69 
75 
82  {
85 
92 
98 
106 
111  ST_ONIN
112  };
113 
122  {
125 
130 
133 
136 
139 
144 
147  };
148 
155  {
158 
164 
169  };
170 
177  enum curve_type {
180 
183 
186  };
187 
195  FDT_String
196  };
197 
203  {
204  SI_V_V, // only V/V interferences
205  SI_V_E, // V/V and V/E interferences
206  SI_E_E, // V/V, V/E and E/E interferences
207  SI_V_F, // V/V, V/E, E/E and V/F interferences
208  SI_E_F, // V/V, V/E, E/E, V/F and E/F interferences
209  SI_ALL // all interferences
210  };
211 
216  {
220  CC_LE
221  };
222 
229  {
232 
238 
244  };
245 
251  struct Parameter
252  {
253  string name;
254  string value;
255  };
256  typedef sequence<Parameter> Parameters;
257 
259  {
262  };
263  typedef sequence<CreationInformation> CreationInformationSeq;
264 
268  struct ModifInfo
269  {
270  string name; // what changed
271  long count; // how many times
272  };
273  typedef sequence<ModifInfo> ModifStatistics;
274 
275 
276  typedef sequence<string> string_array;
277  typedef sequence<short> short_array;
278  typedef sequence<boolean> ListOfBool;
279  typedef sequence<long> ListOfLong;
280  typedef sequence<double> ListOfDouble;
281  typedef sequence<ListOfDouble> ListOfListOfDouble;
282  typedef sequence<ListOfLong> ListOfListOfLong;
283 
284  interface GEOM_Gen;
285  interface GEOM_Object;
286  interface GEOM_BaseObject;
287  interface GEOM_Field;
288  interface GEOM_FieldStep;
289 
290  typedef sequence<GEOM_Object> ListOfGO;
291  typedef sequence<GEOM_BaseObject> ListOfGBO;
292  typedef sequence<GEOM_Field> ListOfFields;
293  typedef sequence<SALOMEDS::SObject> object_list;
294 
295  //# GEOM_BaseObject
299  interface GEOM_BaseObject : SALOME::GenericObj
300  {
306  void SetName (in string theName);
307 
311  string GetName();
312 
319  string GetEntry();
320 
326  long GetType();
327 
331  long GetTick();
332 
336  void SetStudyEntry (in string theEntry);
337 
341  string GetStudyEntry();
342 
349 
355 
356  /*
357  * \brief Return true if geom object representes a shape.
358  *
359  * For example, method return false for GEOM_MARKER
360  */
361  boolean IsShape();
362 
363  /*
364  * \brief Return true if passed object is identical to this object
365  *
366  * \param other object being compared with this one
367  */
368  boolean IsSame(in GEOM_BaseObject other);
369 
375  void SetParameters (in string theParameters);
376 
380  string GetParameters();
381 
386 
391  };
392 
393  //# GEOM_Object
398  {
403 
413 
424 
435 
446  string GetSubShapeName(in long subID);
447 
453  void SetColor(in SALOMEDS::Color theColor);
454 
458  SALOMEDS::Color GetColor();
459 
464  void SetAutoColor(in boolean theAutoColor);
465 
469  boolean GetAutoColor();
470 
476  void SetMarkerStd(in marker_type theType, in marker_size theSize );
477 
484  void SetMarkerTexture(in long theTextureId);
485 
491 
497 
503 
507  long long getShape();
508 
509  // ######################################################################
510  // # Internal methods (For sub-shape identification)
511  // ######################################################################
516  SALOMEDS::TMPFile GetShapeStream();
517 
518  /*
519  * \brief Returns True if this object is not a sub-shape of another object.
520  */
521  boolean IsMainShape();
522 
523  /*
524  * \brief Get a list of ID's of sub-shapes in the main shape.
525  * \note Internal method, suppopsed to be used only by GEOM_Client
526  */
528 
529  /*
530  * \brief Get a main shape object to which this object is a sub-shape
531  * \note Internal method, suppopsed to be used only by GEOM_Client
532  */
534 
535  /*
536  * \brief Returns true if the current object has connection to a parametrical model
537  * which can be modified by parameters change.
538  */
539  boolean IsParametrical();
540 
541  };
542 
543  //# GEOM_Field
548  {
553 
558 
563  short GetDimension();
564 
569 
573  //void RemoveComponent(in long number);
574 
578  GEOM_FieldStep AddStep(in long stepID, in long stamp);
579 
583  void RemoveStep(in long stepID);
584 
588  long CountSteps();
589 
594 
598  GEOM_FieldStep GetStep(in long stepID);
599 
605  long GetArraySize();
606  };
607 
608  // # GEOM_FieldStep:
613  {
617  void SetStamp(in long stamp);
618 
622  long GetStamp();
623 
627  long GetID();
628 
633  };
634 
635  // # GEOM_BoolFieldStep:
640  {
644  boolean SetValues(in short_array boolValues);
645 
650  };
651 
652  // # GEOM_IntFieldStep:
657  {
661  boolean SetValues(in ListOfLong intValues);
662 
667  };
668 
669  // # GEOM_DoubleFieldStep:
674  {
678  boolean SetValues(in ListOfDouble doubleValues);
679 
684  };
685 
686  // # GEOM_StringFieldStep:
691  {
695  boolean SetValues(in string_array strValues);
696 
701  };
702 
703  // # GEOM_IOperations:
707  interface GEOM_IOperations : SALOME::GenericObj
708  {
712  boolean IsDone();
713 
719  void SetErrorCode (in string theErrorID);
720 
724  string GetErrorCode();
725 
730 
735 
740  };
741  //# GEOM_IBasicOperations:
748  {
756  GEOM_Object MakePointXYZ (in double theX, in double theY, in double theZ);
757 
768  in double theX, in double theY, in double theZ);
769 
779  in double theParameter,
780  in boolean takeOrientationIntoAccount);
781 
792  in double theLength,
793  in GEOM_Object theStartPoint);
794 
804  in double theXParameter,
805  in double theYParameter,
806  in double theZParameter);
807 
817  in double theUParameter,
818  in double theVParameter);
819 
829  in double theXParameter,
830  in double theYParameter,
831  in double theZParameter);
832 
843  in long theNumberOfPnts);
844 
851  in GEOM_Object theRefLine2);
852 
862  in double theParameter);
863 
871  GEOM_Object MakeVectorDXDYDZ (in double theDX,
872  in double theDY,
873  in double theDZ);
874 
882 
890  GEOM_Object MakeLine (in GEOM_Object thePnt, in GEOM_Object theDir);
891 
899 
907 
917  in GEOM_Object thePnt2,
918  in GEOM_Object thePnt3,
919  in double theTrimSize);
920 
930  in GEOM_Object theVec,
931  in double theTrimSize);
932 
940  in double theTrimSize);
941 
950  in GEOM_Object theVec2,
951  in double theTrimSize);
952 
961  in double theTrimSize,
962  in double theOrientation);
963 
971  GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
972  in double theXDX, in double theXDY, in double theXDZ,
973  in double theYDX, in double theYDY, in double theYDZ);
974 
981 
990  in GEOM_Object theXVec, in GEOM_Object theYVec);
991 
1003  in double theParameterU,
1004  in double theParameterV,
1005  in double theTrimSize);
1006  };
1007 
1014  {
1023  in GEOM_Object thePoint1,
1024  in GEOM_Object thePoint2);
1025 
1035  in GEOM_Object thePoint1,
1036  in GEOM_Object thePoint2);
1037 
1045  in double theDX, in double theDY, in double theDZ);
1046 
1055  in double theDX, in double theDY, in double theDZ);
1056 
1057 
1065  in GEOM_Object theVector);
1066 
1075  in GEOM_Object theVector);
1076 
1087  in GEOM_Object theVector,
1088  in double theDistance,
1089  in boolean theCopy);
1090 
1101  in GEOM_Object theVector,
1102  in double theStep,
1103  in long theNbTimes);
1104 
1118  in GEOM_Object theVector1,
1119  in double theStep1,
1120  in long theNbTimes1,
1121  in GEOM_Object theVector2,
1122  in double theStep2,
1123  in long theNbTimes2);
1124 
1134  in GEOM_Object theCentPoint,
1135  in GEOM_Object thePoint1,
1136  in GEOM_Object thePoint2);
1137 
1138 
1150  in GEOM_Object theCentPoint,
1151  in GEOM_Object thePoint1,
1152  in GEOM_Object thePoint2);
1153 
1162  in GEOM_Object theAxis,
1163  in double theAngle);
1164 
1165 
1175  in GEOM_Object theAxis,
1176  in double theAngle);
1177 
1189  in GEOM_Object theAxis,
1190  in long theNbObjects);
1191 
1204  in GEOM_Object theAxis,
1205  in double theAngleStep,
1206  in long theNbSteps);
1207 
1224  in GEOM_Object theAxis,
1225  in long theNbObjects,
1226  in double theRadialStep,
1227  in long theNbSteps);
1228 
1246  in GEOM_Object theAxis,
1247  in double theAngleStep,
1248  in long theNbSteps1,
1249  in double theRadialStep,
1250  in long theNbSteps2);
1251 
1269  in GEOM_Object theAxis,
1270  in double theAngleStep,
1271  in long theNbSteps1,
1272  in double theRadialStep,
1273  in long theNbSteps2);
1274 
1281  GEOM_Object MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane);
1282 
1291 
1299  GEOM_Object MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis);
1300 
1309 
1316  GEOM_Object MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint);
1317 
1325 
1334  in double theOffset,
1335  in boolean theJoinByPipes);
1336 
1345  in double theOffset,
1346  in boolean theJoinByPipes);
1347 
1357  in double theOffset,
1358  in ListOfLong theFacesIDs);
1359 
1366  GEOM_Object ProjectShapeCopy (in GEOM_Object theSource, in GEOM_Object theTarget);
1367 
1380  double ProjectPointOnWire (in GEOM_Object thePoint,
1381  in GEOM_Object theWire,
1382  out GEOM_Object thePointOnEdge,
1383  out long theEdgeInWireIndex);
1384 
1392  GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
1393  in double theFactor);
1394 
1403  in double theFactor);
1404 
1413  in GEOM_Object thePoint,
1414  in double theFactorX,
1415  in double theFactorY,
1416  in double theFactorZ);
1417 
1427  in GEOM_Object thePoint,
1428  in double theFactorX,
1429  in double theFactorY,
1430  in double theFactorZ);
1431 
1444  in GEOM_Object theStartLCS,
1445  in GEOM_Object theEndLCS);
1446 
1460  in GEOM_Object theStartLCS,
1461  in GEOM_Object theEndLCS);
1462 
1474  in GEOM_Object thePath,
1475  in double theDistance,
1476  in boolean theCopy,
1477  in boolean theReverse);
1478 
1485 
1510  in double theRadius,
1511  in double theStartAngle,
1512  in double theAngleLength,
1513  in double theAngleRotation);
1514  };
1515 
1523  {
1534  GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ);
1535 
1544 
1555  GEOM_Object MakeFaceHW (in double theH, in double theW, in short theOrientation);
1564  GEOM_Object MakeFaceObjHW (in GEOM_Object theObj, in double theH, in double theW);
1573  in GEOM_Object theVec,
1574  in double theR);
1581  in GEOM_Object thePnt2,
1582  in GEOM_Object thePnt3);
1583 
1592  GEOM_Object MakeDiskR (in double theR, in short theOrientation);
1593 
1603  GEOM_Object MakeCylinderRH (in double theR, in double theH);
1604 
1615  GEOM_Object MakeCylinderRHA (in double theR, in double theH, in double theA);
1616 
1626  in GEOM_Object theAxis,
1627  in double theR,
1628  in double theH);
1639  in GEOM_Object theAxis,
1640  in double theR,
1641  in double theH,
1642  in double theA);
1643 
1656  GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH);
1657 
1670  in GEOM_Object theAxis,
1671  in double theR1,
1672  in double theR2,
1673  in double theH);
1674 
1681  GEOM_Object MakeTorusRR (in double theRMajor,
1682  in double theRMinor);
1683 
1693  in GEOM_Object theVec,
1694  in double theRMajor,
1695  in double theRMinor);
1696 
1702  GEOM_Object MakeSphereR (in double theR);
1703 
1710  GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR);
1711 
1723  in GEOM_Object theVec,
1724  in double theH);
1725  /* \brief The Same Prism but in 2 directions (forward&backward) */
1727  in GEOM_Object theVec,
1728  in double theH);
1729  /* \brief The Same as MakePrismVecH but with scaling */
1731  in GEOM_Object theVec,
1732  in double theH,
1733  in double theScaleFactor);
1734 
1743  in GEOM_Object thePoint1,
1744  in GEOM_Object thePoint2);
1745  /* \brief The same prism but in two directions forward&backward */
1747  in GEOM_Object thePoint1,
1748  in GEOM_Object thePoint2);
1749  /* \brief The Same as MakePrismTwoPnt but with scaling */
1751  in GEOM_Object thePoint1,
1752  in GEOM_Object thePoint2,
1753  in double theScaleFactor);
1754 
1762  in double theDX, in double theDY, in double theDZ);
1763  /* \brief The same prism but in two directions forward&backward */
1765  in double theDX, in double theDY, in double theDZ);
1766  /* \brief The Same as MakePrismDXDYDZ but with scaling */
1768  in double theDX, in double theDY, in double theDZ,
1769  in double theScaleFactor);
1770 
1771 
1784  in GEOM_Object theBase,
1785  in double theHeight,
1786  in double theAngle,
1787  in boolean theFuse,
1788  in boolean theInvert);
1789 
1803  in GEOM_Object thePath,
1804  in boolean IsGenerateGroups);
1805 
1818  in GEOM_Object theAxis,
1819  in double theAngle);
1820  /* The Same Revolution but in both ways forward&backward */
1822  in GEOM_Object theAxis,
1823  in double theAngle);
1824 
1838  in long theMinDeg, in long theMaxDeg,
1839  in double theTol2D, in double theTol3D,
1840  in long theNbIter,
1841  in filling_oper_method theMethod,
1842  in boolean theApprox);
1843 
1853  in boolean theModeSolid,
1854  in double thePreci,
1855  in boolean theRuled);
1856 
1884  in ListOfGO theLocations,
1885  in GEOM_Object thePath,
1886  in boolean theWithContact ,
1887  in boolean theWithCorrection,
1888  in boolean IsBySteps,
1889  in boolean IsGenerateGroups);
1890 
1915  in ListOfGO theSeqSubBases,
1916  in ListOfGO theLocations,
1917  in GEOM_Object thePath,
1918  in boolean theWithContact,
1919  in boolean theWithCorrection,
1920  in boolean IsGenerateGroups);
1921 
1934  in ListOfGO theLocations,
1935  in boolean IsGenerateGroups);
1936 
1955  in GEOM_Object thePath,
1956  in GEOM_Object theVec,
1957  in boolean IsGenerateGroups);
1958 
1959 
1977  in ListOfLong theFacesIDs,
1978  in double theThickness,
1979  in boolean isCopy,
1980  in boolean isInside);
1981 
1982 
2001  in GEOM_Object theBase1,
2002  in GEOM_Object theBase2);
2003 
2022  in ListOfGO theBase1,
2023  in ListOfGO theBase2);
2024  };
2025 
2033  {
2040  GEOM_Object MakeEdge (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
2041 
2053  in double theLength,
2054  in GEOM_Object theStartPoint);
2055 
2064  in double theLinearTolerance,
2065  in double theAngularTolerance);
2066 
2075  GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
2076  in double theTolerance,
2077  in wire_build_mode theMode);
2078 
2086  GEOM_Object MakeFace (in GEOM_Object theWire, in boolean isPlanarWanted);
2087 
2095  GEOM_Object MakeFaceWires (in ListOfGO theWires, in boolean isPlanarWanted);
2096 
2104  in GEOM_Object theWire);
2105 
2114  in ListOfGO theVertices,
2115  in double theTolerance);
2116 
2126 
2132  GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
2133 
2140 
2147 
2154 
2162  GEOM_Object MakeSolidFromConnectedFaces (in ListOfGO theFacesOrShells, in boolean isIntersect);
2163 
2171  GEOM_Object MakeGlueFaces (in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids);
2172 
2179  ListOfGO GetGlueFaces (in ListOfGO theShapes, in double theTolerance);
2180 
2193  GEOM_Object MakeGlueFacesByList (in ListOfGO theShapes, in double theTolerance,
2194  in ListOfGO theFaces, in boolean doKeepNonSolids,
2195  in boolean doGlueAllEdges);
2196 
2203  GEOM_Object MakeGlueEdges (in ListOfGO theShapes, in double theTolerance);
2204 
2211  ListOfGO GetGlueEdges (in ListOfGO theShapes, in double theTolerance);
2212 
2222  in double theTolerance,
2223  in ListOfGO theEdges);
2224 
2234  in boolean theGroupsOnly);
2235 
2242  in long theShapeType,
2243  in boolean isSorted);
2244 
2256  in long theShapeType,
2257  in boolean isSorted);
2258 
2269  in long theShapeType,
2270  in boolean isSorted);
2271 
2276  in long theShapeType,
2277  in boolean isSorted);
2278 
2291  in long theShapeType,
2292  in boolean isSorted);
2293 
2303  in long theID);
2304 
2314  in ListOfLong theIndices);
2315 
2322  long GetSubShapeIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2323 
2330  ListOfLong GetSubShapesIndices (in GEOM_Object theMainShape, in ListOfGO theSubShapes);
2331 
2341  long GetTopologyIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2342 
2352  string GetShapeTypeString (in GEOM_Object theShape);
2353 
2367  boolean IsSubShapeBelongsTo( in GEOM_Object theSubObject,
2368  in long theSubObjectIndex,
2369  in GEOM_Object theObject,
2370  in long theObjectIndex);
2376  long NumberOfFaces (in GEOM_Object theShape);
2377 
2383  long NumberOfEdges (in GEOM_Object theShape);
2384 
2391  long NumberOfSubShapes (in GEOM_Object theShape,
2392  in long theShapeType);
2393 
2400 
2409 
2418  in GEOM_Object theShape2,
2419  in long theShapeType);
2420 
2435  in long theShapeType,
2436  in boolean theMultiShare);
2437 
2449  in long theShapeType,
2450  in GEOM_Object theAx1,
2451  in shape_state theState);
2464  in long theShapeType,
2465  in GEOM_Object theAx1,
2466  in GEOM_Object thePnt,
2467  in shape_state theState);
2468 
2469 
2470 
2483  in long theShapeType,
2484  in GEOM_Object theAxis,
2485  in double theRadius,
2486  in shape_state theState);
2487 
2501  in long theShapeType,
2502  in GEOM_Object theAxis,
2503  in GEOM_Object thePnt,
2504  in double theRadius,
2505  in shape_state theState);
2506 
2518  in long theShapeType,
2519  in GEOM_Object theCenter,
2520  in double theRadius,
2521  in shape_state theState);
2522 
2536  in long theShapeType,
2537  in GEOM_Object theTopLeftPoint,
2538  in GEOM_Object theTopRightPoint,
2539  in GEOM_Object theBottomLeftPoint,
2540  in GEOM_Object theBottomRightPoint,
2541  in shape_state theState);
2542 
2554  in long theShapeType,
2555  in GEOM_Object theAx1,
2556  in shape_state theState);
2557 
2570  in long theShapeType,
2571  in GEOM_Object theAx1,
2572  in GEOM_Object thePnt,
2573  in shape_state theState);
2574 
2587  in long theShapeType,
2588  in GEOM_Object theAxis,
2589  in double theRadius,
2590  in shape_state theState);
2591 
2605  in long theShapeType,
2606  in GEOM_Object theAxis,
2607  in GEOM_Object thePnt,
2608  in double theRadius,
2609  in shape_state theState);
2610 
2622  in long theShapeType,
2623  in GEOM_Object theCenter,
2624  in double theRadius,
2625  in shape_state theState);
2626 
2640  in long theShapeType,
2641  in GEOM_Object theTopLeftPoint,
2642  in GEOM_Object theTopRightPoint,
2643  in GEOM_Object theBottomLeftPoint,
2644  in GEOM_Object theBottomRightPoint,
2645  in shape_state theState);
2646 
2656  in GEOM_Object theShape,
2657  in long theShapeType,
2658  in shape_state theState);
2659 
2669  in GEOM_Object theShape,
2670  in long theShapeType,
2671  in shape_state theState);
2672 
2682  in GEOM_Object theShape,
2683  in short theShapeType,
2684  in shape_state theState);
2685 
2695  in GEOM_Object theShape,
2696  in short theShapeType,
2697  in shape_state theState);
2698 
2708  in GEOM_Object theShape,
2709  in short theShapeType,
2710  in shape_state theState);
2711 
2721  in GEOM_Object theShapeWhat);
2722 
2727  in GEOM_Object theShapeWhat);
2728 
2745  in GEOM_Object theShapeWhat);
2746 
2757  in GEOM_Object theShapeWhat);
2758 
2766  GEOM_Object GetSame (in GEOM_Object theShapeWhere,
2767  in GEOM_Object theShapeWhat);
2768 
2776  ListOfLong GetSameIDs (in GEOM_Object theShapeWhere,
2777  in GEOM_Object theShapeWhat);
2778 
2791  in double theMin,
2792  in double theMax);
2793 
2810  in double theUMin,
2811  in double theUMax,
2812  in double theVMin,
2813  in double theVMax);
2814 
2825 
2833  in GEOM_Object theStartPoint);
2834 
2851  in short theShapeType,
2852  in comparison_condition theCondition,
2853  in double theTolerance);
2854 
2860  {
2863  EST_Added
2864  };
2865 
2871  {
2874  };
2875 
2876  typedef sequence<ExtractionStat> ExtractionStats;
2877 
2889  in ListOfLong theSubShapeIDs,
2890  out ExtractionStats theStats);
2891 
2892  };
2893 
2894  // # GEOM_IBlocksOperations:
2901  {
2902 
2903  // # Creation of blocks
2904 
2912  in GEOM_Object theEdge2,
2913  in GEOM_Object theEdge3,
2914  in GEOM_Object theEdge4);
2915 
2924  in GEOM_Object theEdge2);
2925 
2934  in GEOM_Object thePnt2,
2935  in GEOM_Object thePnt3,
2936  in GEOM_Object thePnt4);
2937 
2947  in GEOM_Object theFace2,
2948  in GEOM_Object theFace3,
2949  in GEOM_Object theFace4,
2950  in GEOM_Object theFace5,
2951  in GEOM_Object theFace6);
2952 
2961  in GEOM_Object theFace2);
2962 
2963 
2964  // # Extract elements of blocks and blocks compounds
2965 
2966 
2976  in double theX,
2977  in double theY,
2978  in double theZ,
2979  in double theEpsilon);
2980 
2988  in GEOM_Object thePoint);
2989 
2997  in GEOM_Object thePoint1,
2998  in GEOM_Object thePoint2);
2999 
3007  in GEOM_Object thePoint);
3008 
3016  in GEOM_Object thePoint1,
3017  in GEOM_Object thePoint2,
3018  in GEOM_Object thePoint3,
3019  in GEOM_Object thePoint4);
3020 
3028  in GEOM_Object theEdge1,
3029  in GEOM_Object theEdge2);
3030 
3038  in GEOM_Object theFace);
3039 
3047  in GEOM_Object thePoint);
3048 
3056  in GEOM_Object theVector);
3057 
3070  in GEOM_Object thePoint,
3071  in long theShapeType,
3072  in double theTolerance);
3073 
3074  // # Extract blocks from blocks compounds
3075 
3076 
3086  boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
3087  in long theMinNbFaces,
3088  in long theMaxNbFaces,
3089  out long theNbBlocks);
3090 
3095  {
3096  /* Each element of the compound should be a Block */
3098 
3099  /* An element is a potential block, but has degenerated and/or seam edge(s). */
3101 
3102  /* A connection between two Blocks should be an entire face or an entire edge */
3104 
3105  /* The compound should be connexe */
3107 
3108  /* The glue between two quadrangle faces should be applied */
3109  NOT_GLUED
3110  };
3111 
3115  struct BCError
3116  {
3119  };
3120 
3124  typedef sequence<BCError> BCErrors;
3125 
3143  boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
3144  in double theToleranceC1,
3145  out BCErrors theErrors);
3146 
3154  string PrintBCErrors (in GEOM_Object theCompound,
3155  in BCErrors theErrors);
3156 
3170  in double theToleranceC1,
3171  out GEOM_Object theNonQuads);
3172 
3185  in long theOptimumNbFaces);
3186 
3195 
3205 
3216  in long theMinNbFaces,
3217  in long theMaxNbFaces);
3218 
3227  in GEOM_Object thePoint);
3228 
3236  in ListOfGO theParts);
3237 
3245  in ListOfGO theParts);
3246 
3247  // # Operations on blocks with gluing of result
3248 
3262  in long theDirFace1,
3263  in long theDirFace2,
3264  in long theNbTimes);
3265 
3275  in long theDirFace1U,
3276  in long theDirFace2U,
3277  in long theNbTimesU,
3278  in long theDirFace1V,
3279  in long theDirFace2V,
3280  in long theNbTimesV);
3281 
3282  // # Special operation - propagation
3283 
3284 
3295  };
3296 
3297  // # GEOM_IBooleanOperations
3302  {
3314  in GEOM_Object theShape2,
3315  in long theOperation,
3316  in boolean IsCheckSelfInte);
3328  in GEOM_Object theShape2,
3329  in boolean IsCheckSelfInte,
3330  in boolean IsRmExtraEdges);
3331 
3342  in boolean IsCheckSelfInte,
3343  in boolean IsRmExtraEdges);
3344 
3353  in boolean IsCheckSelfInte);
3354 
3364  in ListOfGO theShapes,
3365  in boolean IsCheckSelfInte);
3366 
3394  in ListOfGO theTools,
3395  in ListOfGO theKeepInside,
3396  in ListOfGO theRemoveInside,
3397  in short theLimit,
3398  in boolean theRemoveWebs,
3399  in ListOfLong theMaterials,
3400  in short theKeepNonlimitShapes);
3401 
3420  in ListOfGO theTools,
3421  in ListOfGO theKeepInside,
3422  in ListOfGO theRemoveInside,
3423  in short theLimit,
3424  in boolean theRemoveWebs,
3425  in ListOfLong theMaterials,
3426  in short theKeepNonlimitShapes,
3427  in boolean IsCheckSelfInte);
3428 
3447  in GEOM_Object thePlane);
3448 
3476  in GEOM_Object theShape2,
3477  in long theOperation,
3478  in boolean IsCheckSelfInte,
3479  in double theFuzzyParam);
3493  in GEOM_Object theShape2,
3494  in boolean IsCheckSelfInte,
3495  in boolean IsRmExtraEdges,
3496  in double theFuzzyParam);
3497 
3510  in boolean IsCheckSelfInte,
3511  in boolean IsRmExtraEdges,
3512  in double theFuzzyParam);
3513 
3524  in boolean IsCheckSelfInte,
3525  in double theFuzzyParam);
3526 
3538  in ListOfGO theShapes,
3539  in boolean IsCheckSelfInte,
3540  in double theFuzzyParam);
3541 
3571  in ListOfGO theTools,
3572  in ListOfGO theKeepInside,
3573  in ListOfGO theRemoveInside,
3574  in short theLimit,
3575  in boolean theRemoveWebs,
3576  in ListOfLong theMaterials,
3577  in short theKeepNonlimitShapes,
3578  in double theFuzzyParam);
3579 
3600  in ListOfGO theTools,
3601  in ListOfGO theKeepInside,
3602  in ListOfGO theRemoveInside,
3603  in short theLimit,
3604  in boolean theRemoveWebs,
3605  in ListOfLong theMaterials,
3606  in short theKeepNonlimitShapes,
3607  in boolean IsCheckSelfInte,
3608  in double theFuzzyParam);
3609 
3630  in GEOM_Object thePlane,
3631  in double theFuzzyParam);
3632  };
3633 
3634  // # GEOM_ICurvesOperations:
3641  {
3650  in GEOM_Object theVec,
3651  in double theR);
3658  in GEOM_Object thePnt2,
3659  in GEOM_Object thePnt3);
3667  in GEOM_Object thePnt2,
3668  in GEOM_Object thePnt3);
3678  in GEOM_Object theVec,
3679  in double theRMajor,
3680  in double theRMinor);
3681 
3692  in GEOM_Object theVec,
3693  in double theRMajor,
3694  in double theRMinor,
3695  in GEOM_Object theVecMaj);
3696 
3705  in GEOM_Object thePnt2,
3706  in GEOM_Object thePnt3);
3707 
3717  in GEOM_Object thePnt1,
3718  in GEOM_Object thePnt2,
3719  in boolean theSense);
3720 
3730  in GEOM_Object thePnt1,
3731  in GEOM_Object thePnt2);
3732 
3733 
3741  in boolean theIsClosed);
3742 
3750  in boolean theIsClosed);
3751 
3761  in boolean theIsClosed,
3762  in boolean theDoReordering);
3763 
3772  in GEOM_Object theFirstVec,
3773  in GEOM_Object theLastVec);
3774 
3786  GEOM_Object MakeCurveParametric(in string thexExpr,
3787  in string theyExpr,
3788  in string thezExpr,
3789  in double theParamMin,
3790  in double theParamMax,
3791  in double theParamStep,
3792  in curve_type theCurveType);
3793 
3806  in string theyExpr,
3807  in string thezExpr,
3808  in double theParamMin,
3809  in double theParamMax,
3810  in long theParamNbStep,
3811  in curve_type theCurveType);
3812 
3824  in boolean IsUIsoline,
3825  in double theParameter);
3826 
3862  GEOM_Object MakeSketcher (in string theCommand, in ListOfDouble theWorkingPlane);
3863 
3875  GEOM_Object MakeSketcherOnPlane (in string theCommand, in GEOM_Object theWorkingPlane);
3876 
3901  GEOM_Object Make3DSketcherCommand (in string theCommand);
3902 
3914 
3943  in string_array theNamesList,
3944  in short_array theTypesList,
3945  in ListOfBool theClosedList,
3946  in ListOfDouble theWorkingPlane);
3947 
3975  in string_array theNamesList,
3976  in short_array theTypesList,
3977  in ListOfBool theClosedList,
3978  in GEOM_Object theWorkingPlane);
3979 
3980  };
3981 
3982  // # GEOM_ILocalOperations:
3987  {
3995  in double theR);
3996 
4007  in double theR,
4008  in ListOfLong theEdges);
4010  in double theR1,
4011  in double theR2,
4012  in ListOfLong theEdges);
4013 
4024  in double theR,
4025  in ListOfLong theFaces);
4026 
4028  in double theR1,
4029  in double theR2,
4030  in ListOfLong theFaces);
4031 
4042  in double theR,
4043  in ListOfLong theVertexes);
4044 
4063  in double theR,
4064  in ListOfLong theVertexes,
4065  in boolean doIgnoreSecantVertices);
4066 
4074  in double theD);
4075 
4088  in double theD1, in double theD2,
4089  in long theFace1, in long theFace2);
4095  in double theD, in double theAngle,
4096  in long theFace1, in long theFace2);
4097 
4112  in double theD1, in double theD2,
4113  in ListOfLong theFaces);
4119  in double theD, in double theAngle,
4120  in ListOfLong theFaces);
4121 
4131  in double theD1, in double theD2,
4132  in ListOfLong theEdges);
4138  in double theD, in double theAngle,
4139  in ListOfLong theEdges);
4140 
4152  in double theWeight,
4153  in double theWaterDensity,
4154  in double theMeshDeflection);
4155 
4161  long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape);
4162  };
4163 
4164  // # GEOM_IHealingOperations:
4171  {
4183  in string_array theOperators,
4184  in string_array theParameters,
4185  in string_array theValues);
4186 
4198  void GetShapeProcessParameters (out string_array theOperators,
4199  out string_array theParameters,
4200  out string_array theValues);
4211  void GetOperatorParameters (in string theOperator,
4212  out string_array theParameters,
4213  out string_array theValues);
4214 
4222  GEOM_Object SuppressFaces (in GEOM_Object theObject, in short_array theFaces);
4223 
4233  GEOM_Object CloseContour (in GEOM_Object theObject, in short_array theWires,
4234  in boolean isCommonVertex);
4235 
4243  GEOM_Object RemoveIntWires (in GEOM_Object theObject, in short_array theWires);
4244 
4252  GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires);
4253 
4260  GEOM_Object Sew (in ListOfGO theObjects, in double theTolerance);
4261 
4268  GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance);
4269 
4277 
4289  GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex,
4290  in double theValue, in boolean isByParameter);
4291 
4302  in short theEdgeIndex,
4303  in ListOfGO thePoints);
4304 
4313  in ListOfGO theVertices);
4314 
4323  boolean GetFreeBoundary (in ListOfGO theObjects,
4324  out ListOfGO theClosedWires,
4325  out ListOfGO theOpenWires);
4326 
4334 
4341  GEOM_Object LimitTolerance (in GEOM_Object theObject, in double theTolerance);
4342 
4351  void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args);
4352 
4353 
4359  };
4360 
4361  // # GEOM_IInsertOperations:
4367  {
4372 
4382  void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName);
4383 
4397  ListOfGBO ImportFile (in string theFileName, in string theFormatName);
4398 
4409  string ReadValue (in string theFileName, in string theFormatName, in string theParameterName);
4410 
4417  GEOM_Object RestoreShape (in SALOMEDS::TMPFile theStream);
4418 
4424  long LoadTexture(in string theTextureFile);
4425 
4433  long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture);
4434 
4442  SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight);
4443 
4449 
4454  {
4455  string myName;
4456  long myNumber;
4458  };
4459 
4463  typedef sequence<TransferDatum> ListOfTransferDatum;
4464 
4479  boolean TransferData(in GEOM_Object theObjectFrom,
4480  in GEOM_Object theObjectTo,
4481  in find_shape_method theFindMethod,
4482  out ListOfTransferDatum theResult);
4483 
4484  };
4485 
4486  // # GEOM_IKindOfShape:
4491  {
4492  enum shape_kind {
4494  //COMPOSITEs
4499  // SOLIDs
4516  // FACEs
4537  // EDGEs
4560  // VERTEX
4562  // ADVANCED shapes
4565  ADVANCED
4566  };
4567  };
4568 
4569  // # GEOM_IMeasureOperations:
4576  {
4587  //short KindOfShape (in GEOM_Object theShape,
4589  out ListOfLong theIntegers,
4590  out ListOfDouble theDoubles);
4591 
4603  void GetPosition (in GEOM_Object theShape,
4604  out double Ox, out double Oy, out double Oz,
4605  out double Zx, out double Zy, out double Zz,
4606  out double Xx, out double Xy, out double Xz);
4607 
4618  void GetBasicProperties (in GEOM_Object theShape,
4619  in double theTolerance,
4620  out double theLength,
4621  out double theSurfArea,
4622  out double theVolume);
4623 
4630 
4631  /*
4632  * Get the vertex by index for 1D objects
4633  * \param theShape Shape (wire or edge) to find the vertex on it
4634  * \param theIndex Index of vertex sub-shape
4635  * \param theUseOri To consider edge/wire orientation or not
4636  * \return New GEOM_Object, vertex.
4637  */
4638  GEOM_Object GetVertexByIndex( in GEOM_Object theShape, in long theIndex, in boolean theUseOri );
4639 
4649  in GEOM_Object theOptionalPoint);
4650 
4658  void GetInertia (in GEOM_Object theShape,
4659  out double I11, out double I12, out double I13,
4660  out double I21, out double I22, out double I23,
4661  out double I31, out double I32, out double I33,
4662  out double Ix , out double Iy , out double Iz);
4663 
4673  void GetBoundingBox (in GEOM_Object theShape,
4674  in boolean precise,
4675  out double Xmin, out double Xmax,
4676  out double Ymin, out double Ymax,
4677  out double Zmin, out double Zmax);
4678 
4686  in boolean precise);
4687 
4696  void GetTolerance (in GEOM_Object theShape,
4697  out double FaceMin, out double FaceMax,
4698  out double EdgeMin, out double EdgeMax,
4699  out double VertMin, out double VertMax);
4700 
4705  {
4706  /* for vertices */
4710 
4711  /* for edges */
4721 
4725 
4726  /* for wires */
4729  SelfIntersectingWire, /* on a face */
4730 
4731  /* for faces */
4737 
4738  /* for shells */
4741 
4742  /* for shapes */
4746 
4748 
4751 
4753 
4754  /* for exception */
4755  CheckFail
4756  };
4757 
4761  struct ShapeError
4762  {
4765  };
4766 
4770  typedef sequence<ShapeError> ShapeErrors;
4771 
4778  boolean CheckShape (in GEOM_Object theShape,
4779  out ShapeErrors theErrors);
4780 
4787  boolean CheckShapeWithGeometry (in GEOM_Object theShape,
4788  out ShapeErrors theErrors);
4789 
4797  string PrintShapeErrors (in GEOM_Object theShape,
4798  in ShapeErrors theErrors);
4799 
4800  // /*!
4801  // * \brief Extract and identify any problem in the source shapes used in a Boolean Operation.
4802  // * \param theShapes Shapes being used in the Boolean Operation
4803  // * \param theUseTimer Whether to chronometrize computation time
4804  // * \param theTopoOnly Whether to check topology only
4805  // * \param theRunParallel Whether to run the computations in parallel
4806  // * \param theDoExact Whether to perform exact checking
4807  // * \param theResultShape Output parameter. The result of BOP General Fuse. Indices of its sub-shapes are reported in theErrors structure.
4808  // * \param theErrors Output parameter. Structure, containing discovered errors and incriminated sub-shapes.
4809  // * \return TRUE, if the input shapes "seem to be valid" for BOP.
4810  // */
4811  boolean ExtractBOPFailure (in ListOfGO theShapes,
4812  in boolean theUseTimer,
4813  in boolean theTopoOnly,
4814  in boolean theRunParallel,
4815  in boolean theDoExact,
4816  out GEOM_Object theResultShape,
4817  out ShapeErrors theErrors);
4818 
4826  boolean CheckSelfIntersections (in GEOM_Object theShape,
4827  in long theCheckLevel,
4828  out ListOfLong theIntersections);
4829 
4841  in float theDeflection,
4842  in double theTolerance,
4843  out ListOfLong theIntersections);
4844 
4851  boolean CheckBOPArguments (in GEOM_Object theShape);
4852 
4866  boolean FastIntersect (in GEOM_Object theShape1,
4867  in GEOM_Object theShape2,
4868  in double theTolerance,
4869  in float theDeflection,
4870  out ListOfLong theIntersections1,
4871  out ListOfLong theIntersections2);
4872 
4878  string IsGoodForSolid (in GEOM_Object theShape);
4879 
4885  string WhatIs (in GEOM_Object theShape);
4886 
4895  ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance);
4896 
4904  double GetMinDistance (in GEOM_Object theShape1, in GEOM_Object theShape2,
4905  out double X1, out double Y1, out double Z1,
4906  out double X2, out double Y2, out double Z2);
4907 
4914  long ClosestPoints (in GEOM_Object theShape1,
4915  in GEOM_Object theShape2,
4916  out ListOfDouble theCoords);
4917 
4923  double GetAngle (in GEOM_Object theShape1, in GEOM_Object theShape2);
4924 
4930  double GetAngleBtwVectors (in GEOM_Object theShape1, in GEOM_Object theShape2);
4931 
4941 
4945  void PointCoordinates (in GEOM_Object theShape, out double X, out double Y, out double Z);
4946 
4953  double CurveCurvatureByParam (in GEOM_Object theShape, in double theParam);
4954 
4961  double CurveCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4962 
4970  double MaxSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4971  in double theVParam);
4972 
4979  double MaxSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4980 
4988  double MinSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4989  in double theVParam);
4990 
4997  double MinSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4998 
5014  in GEOM_Object thePoint,
5015  in GEOM_Object theDirection);
5016 
5028  in ListOfDouble theXYZlist,
5029  in boolean theIsNormalized);
5030 
5042  in ListOfDouble theUVlist,
5043  in boolean theIsNormalized);
5044 
5046 
5052  {
5055  };
5056 
5062  {
5063  long type;
5065  };
5066 
5067  typedef sequence<PairOfShape> SequenceOfPairOfShape;
5068  typedef sequence<CheckResult> CheckResults;
5069 
5076 
5083 
5099  in long theShapeType1,
5100  in long theShapeType2);
5101 
5108 
5122  in long theShapeType,
5123  in long theSubShapeType,
5124  in double theTolerance);
5125 
5132  double UpdateTolerance(in GEOM_Object theShape);
5133 
5140 
5147  void SetShapeSampling(in GEOM_Object theCalculator,
5148  in GEOM_Object theShape,
5149  in long theNbSamples);
5150 
5156  double GetCoarseProximity(in GEOM_Object theCalculator);
5157 
5163  double GetPreciseProximity(in GEOM_Object theCalculator);
5164 
5165  };
5166 
5167  // # GEOM_IGroupOperations:
5172  {
5179  GEOM_Object CreateGroup (in GEOM_Object theMainShape, in long theShapeType);
5180 
5187  void AddObject (in GEOM_Object theGroup, in long theSubShapeId);
5188 
5195  void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
5196 
5202  void UnionList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5203 
5209  void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5210 
5216  void UnionIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5217 
5223  void DifferenceIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5224 
5233  GEOM_Object UnionGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5234 
5242  GEOM_Object IntersectGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5243 
5252  GEOM_Object CutGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5253 
5262 
5271 
5282  in ListOfGO theGList2);
5283 
5288  long GetType (in GEOM_Object theGroup);
5289 
5296 
5302  };
5303 
5304  // # GEOM_IFieldOperations:
5309  {
5314  in string name,
5315  in field_data_type type,
5316  in short dimension,
5317  in string_array componentNames);
5321  long CountFields(in GEOM_Object shape);
5322 
5327 
5331  GEOM_Field GetField(in GEOM_Object shape, in string name);
5332 
5336  long GetNbSubShapes(in GEOM_Object shape, in short fieldDim);
5337  };
5338 
5339  // # GEOM_ITestOperations:
5344  {
5353  boolean Tesselate(in GEOM_Object shape, in double linearDeflection,
5354  in boolean isRelative, in double angularDeflection);
5355  };
5356 
5357  // # GEOM_ICanonicalRecognition:
5362  {
5366  boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin);
5367 
5371  boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius);
5372 
5376  boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle);
5377 
5381  boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius);
5382 
5386  boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin);
5387 
5391  boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius);
5392 
5396  boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius);
5397  };
5398 
5399  // # GEOM_Gen:
5405  interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
5406  {
5411  void Undo ();
5412 
5413  void Redo ();
5414 
5422  SALOMEDS::SObject AddInStudy (in GEOM_BaseObject theObject,
5423  in string theName,
5424  in GEOM_BaseObject theFather);
5425 
5449  in ListOfGO theArgs,
5450  in find_shape_method theFindMethod,
5451  in boolean theInheritFirstArg,
5452  in boolean theAddPrefix);
5453 
5477  in ListOfGO theArgs,
5478  in find_shape_method theFindMethod,
5479  in boolean theInheritFirstArg,
5480  in boolean theAddPrefix);
5481 
5504  ListOfGO RestoreSubShapesSO (in SALOMEDS::SObject theSObject,
5505  in ListOfGO theArgs,
5506  in find_shape_method theFindMethod,
5507  in boolean theInheritFirstArg,
5508  in boolean theAddPrefix);
5509 
5510  // # Methods to access interfaces for objects creation and transformation
5511 
5512  GEOM_IBasicOperations GetIBasicOperations () raises (SALOME::SALOME_Exception);
5513  GEOM_ITransformOperations GetITransformOperations () raises (SALOME::SALOME_Exception);
5514  GEOM_I3DPrimOperations GetI3DPrimOperations () raises (SALOME::SALOME_Exception);
5515  GEOM_IShapesOperations GetIShapesOperations () raises (SALOME::SALOME_Exception);
5516  GEOM_IBooleanOperations GetIBooleanOperations () raises (SALOME::SALOME_Exception);
5517  GEOM_ICurvesOperations GetICurvesOperations () raises (SALOME::SALOME_Exception);
5518  GEOM_ILocalOperations GetILocalOperations () raises (SALOME::SALOME_Exception);
5519  GEOM_IHealingOperations GetIHealingOperations () raises (SALOME::SALOME_Exception);
5520  GEOM_IInsertOperations GetIInsertOperations () raises (SALOME::SALOME_Exception);
5521  GEOM_IMeasureOperations GetIMeasureOperations () raises (SALOME::SALOME_Exception);
5522  GEOM_IBlocksOperations GetIBlocksOperations () raises (SALOME::SALOME_Exception);
5523  GEOM_IGroupOperations GetIGroupOperations () raises (SALOME::SALOME_Exception);
5524  GEOM_IFieldOperations GetIFieldOperations () raises (SALOME::SALOME_Exception);
5525  GEOM_ITestOperations GetITestOperations () raises (SALOME::SALOME_Exception);
5526  GEOM_ICanonicalRecognition GetICanonicalRecognition() raises (SALOME::SALOME_Exception);
5527 
5528  GEOM_IOperations GetPluginOperations (in string theLibName) raises (SALOME::SALOME_Exception);
5529 
5530  // # Objects Management
5531 
5532 
5537  void RemoveObject (in GEOM_BaseObject theObject);
5538 
5544  GEOM_BaseObject GetObject (in string theEntry);
5545 
5553  GEOM_Object AddSubShape (in GEOM_Object theMainShape, in ListOfLong theIndices);
5554 
5555  // # GEOM_Objects IOR Management
5556 
5561  GEOM_Object GetIORFromString (in string theIOR);
5562 
5567  string GetStringFromIOR (in GEOM_Object theObject);
5568 
5573  string GetDumpName (in string theStudyEntry);
5574 
5579  string_array GetAllDumpNames();
5580 
5585  ListOfGO PublishNamedShapesInStudy(//in SObject theSObject,
5586  in Object theObject);
5587 
5600  SALOMEDS::SObject CreateFolder (in string theName,
5601  in SALOMEDS::SObject theFather);
5602 
5610  void MoveToFolder (in GEOM_Object theObject,
5611  in SALOMEDS::SObject theFolder);
5612 
5620  void MoveListToFolder (in ListOfGO theListOfGO,
5621  in SALOMEDS::SObject theFolder);
5622 
5632  void Move( in object_list what,
5633  in SALOMEDS::SObject where,
5634  in long row );
5635 
5642  SALOMEDS::TMPFile GetDependencyTree(in string_array theListOfEntries);
5643 
5655  void GetEntriesToReduceStudy(inout string_array theSelectedEntries,
5656  inout string_array theParentEntries,
5657  inout string_array theSubEntries,
5658  inout string_array theOtherEntries);
5659 
5660 
5661  /*
5662  * \brief Breaks links to parametrical mode for parametrical shape
5663  */
5664  void BreakLink(in string theEntry);
5665  };
5666 };
5667 
5668 #endif
A common root of objects in GEOM module.
Definition: GEOM_Gen.idl:300
string GetEntry()
Get internal (unique) entry of the object in the GEOM component's data tree.
string GetParameters()
Return list of notebook variables used for object creation separated by ":" symbol.
CreationInformationSeq GetCreationInformation()
Return name of operation and values of parameters used for object creation.
boolean IsSame(in GEOM_BaseObject other)
long GetType()
Get internal type of operation created this object (POINT, BOX, CYLINDER, EXTRUSION....
long GetTick()
Get value of a modification counter of the object.
GEOM_Gen GetGen()
Return the engine creating this object.
void SetName(in string theName)
Set name of the object.
ListOfGBO GetLastDependency()
Get a list of GEOM_Object on which the last function that created or modified the object depends.
void SetStudyEntry(in string theEntry)
Set a Study entry where this object was published.
ListOfGBO GetDependency()
Get a list of all GEOM_Object on which were the arguments when this object was constructed and modifi...
string GetStudyEntry()
Get a Study entry where this object was published.
string GetName()
Get name of the object associated with this object.
void SetParameters(in string theParameters)
Interface of the boolean field time step.
Definition: GEOM_Gen.idl:640
short_array GetValues()
Returns values of the field step.
boolean SetValues(in short_array boolValues)
Changes values of the field step. Returns false if number of values is wrong.
Interface of the double field time step.
Definition: GEOM_Gen.idl:674
ListOfDouble GetValues()
Returns values of the field step.
boolean SetValues(in ListOfDouble doubleValues)
Changes values of the field step. Returns false if number of values is wrong.
Interface of the field time step.
Definition: GEOM_Gen.idl:613
long GetStamp()
Returns the time of the field step.
void SetStamp(in long stamp)
Changes the time of the field step.
GEOM_Field GetField()
Returns the field the step belongs to.
long GetID()
Returns the number of the field step.
Interface of the field.
Definition: GEOM_Gen.idl:548
GEOM_FieldStep GetStep(in long stepID)
Returns a time step by its ID.
GEOM_Object GetShape()
Returns the shape the field lies on.
ListOfLong GetSteps()
Returns a list of time step IDs in the field.
void RemoveStep(in long stepID)
Remove a time step from the field.
string_array GetComponents()
Returns names of components.
long GetArraySize()
Returns a size of data array that is to be passed to GEOM_FieldStep.SetValues( dataArray )....
short GetDimension()
Returns dimension of the shape the field lies on 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID,...
field_data_type GetDataType()
Returns type of field data.
GEOM_FieldStep AddStep(in long stepID, in long stamp)
Removes a component. Component number counts from one.
long CountSteps()
Returns number of time steps in the field.
Interface to access other GEOM interfaces.
Definition: GEOM_Gen.idl:5406
SALOMEDS::SObject AddInStudy(in GEOM_BaseObject theObject, in string theName, in GEOM_BaseObject theFather)
Publishing management.
void Undo()
Undo/Redo Management.
GEOM_IBasicOperations GetIBasicOperations()
ListOfGO RestoreSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreGivenSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreSubShapesSO(in SALOMEDS::SObject theSObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
Interface for 3D primitives creation.
Definition: GEOM_Gen.idl:1523
GEOM_Object MakeBoxDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coor...
GEOM_Object MakePrismTwoPntWithScaling(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in double theScaleFactor)
GEOM_Object MakePrismVecH2Ways(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
GEOM_Object MakeDiskR(in double theR, in short theOrientation)
Create a disk specified dimensions along OX-OY coordinate axes.
GEOM_Object MakePrismDXDYDZ2Ways(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
ListOfGO MakePipe(in GEOM_Object theBase, in GEOM_Object thePath, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape. The path shape can be a wire or a...
GEOM_Object MakeTorusPntVecRR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create a torus with given center, normal vector and radiuses.
GEOM_Object MakeCylinderRH(in double theR, in double theH)
Create a cylinder with given radius and height at the origin of coordinate system.
GEOM_Object MakeCylinderPntVecRHA(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH, in double theA)
Create a portion of cylinder with given base point, axis, radius, height and angle.
GEOM_Object MakeFaceObjHW(in GEOM_Object theObj, in double theH, in double theW)
Create a face by normale vector or edge and two specified sizes, vertical (H) and horisontal (W).
GEOM_Object MakeTorusRR(in double theRMajor, in double theRMinor)
Create a torus with given radiuses at the origin of coordinate system.
ListOfGO MakePipeBiNormalAlongVector(in GEOM_Object theBase, in GEOM_Object thePath, in GEOM_Object theVec, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction ...
GEOM_Object MakeRevolutionAxisAngle(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
Create a shape by revolution of the base shape around the axis on the given angle.
GEOM_Object MakeFilling(in ListOfGO theContours, in long theMinDeg, in long theMaxDeg, in double theTol2D, in double theTol3D, in long theNbIter, in filling_oper_method theMethod, in boolean theApprox)
Create a face from a given set of contours.
GEOM_Object MakeSphereR(in double theR)
Create a sphere with given radius at the origin of coordinate system.
GEOM_Object MakeRevolutionAxisAngle2Ways(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
GEOM_Object MakeCylinderRHA(in double theR, in double theH, in double theA)
Create a portion of cylinder with given radius, height and angle at the origin of coordinate system.
ListOfGO MakePipeShellsWithoutPath(in ListOfGO theSeqBases, in ListOfGO theLocations, in boolean IsGenerateGroups)
Create solids between given sections.
GEOM_Object MakeFaceHW(in double theH, in double theW, in short theOrientation)
Create a face specified dimensions along OX-OY coordinate axes, with edges parallel to the coordinate...
GEOM_Object MakePrismTwoPnt(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Create a shape by extrusion of the base shape along a vector, defined by two points.
GEOM_Object MakeDiskThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a disk (circular face), passing through three given points.
GEOM_Object MakeSpherePntR(in GEOM_Object thePnt, in double theR)
Create a sphere with given center and radius.
GEOM_Object RestorePath(in GEOM_Object theShape, in GEOM_Object theBase1, in GEOM_Object theBase2)
Build a middle path of a pipe-like shape.
GEOM_Object MakeThickening(in GEOM_Object theObject, in ListOfLong theFacesIDs, in double theThickness, in boolean isCopy, in boolean isInside)
Make a thick solid from a shape.
ListOfGO MakePipeWithShellSections(in ListOfGO theSeqBases, in ListOfGO theSeqSubBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakePrismTwoPnt2Ways(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object MakeDraftPrism(in GEOM_Object theInitShape, in GEOM_Object theBase, in double theHeight, in double theAngle, in boolean theFuse, in boolean theInvert)
Add / Remove material to / from a solid by extrusion of the base shape on the given distance.
GEOM_Object MakeThruSections(in ListOfGO theSeqSections, in boolean theModeSolid, in double thePreci, in boolean theRuled)
Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices.
GEOM_Object MakeCylinderPntVecRH(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH)
Create a cylinder with given base point, axis, radius and height.
GEOM_Object MakeBoxTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes.
ListOfGO MakePipeWithDifferentSections(in ListOfGO theSeqBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsBySteps, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakeConeR1R2H(in double theR1, in double theR2, in double theH)
Create a cone with given height and radiuses at the origin of coordinate system.
GEOM_Object MakePrismVecHWithScaling(in GEOM_Object theBase, in GEOM_Object theVec, in double theH, in double theScaleFactor)
GEOM_Object MakePrismDXDYDZ(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
Create a shape by extrusion of the base shape along a vector, defined by DX DY DZ.
GEOM_Object MakeDiskPntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a Disk (circular face) with given center, normal vector and radius.
GEOM_Object MakeConePntVecR1R2H(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR1, in double theR2, in double theH)
Create a cone with given base point, axis, height and radiuses.
GEOM_Object MakePrismVecH(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
Create a shape by extrusion of the base shape along the vector.
GEOM_Object MakePrismDXDYDZWithScaling(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ, in double theScaleFactor)
GEOM_Object RestorePathEdges(in GEOM_Object theShape, in ListOfGO theBase1, in ListOfGO theBase2)
Build a middle path of a pipe-like shape.
Interface for basic geometry creation.
Definition: GEOM_Gen.idl:748
GEOM_Object MakePointWithReference(in GEOM_Object theReference, in double theX, in double theY, in double theZ)
Create a point, distant from the referenced point on the given distances along the coordinate axes.
GEOM_Object MakePlaneThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in double theTrimSize)
Create a plane, passing through the three given points.
GEOM_Object MakeLineTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a line, passing through the given points.
GEOM_Object MakeMarker(in double theOX, in double theOY, in double theOZ, in double theXDX, in double theXDY, in double theXDZ, in double theYDX, in double theYDY, in double theYDZ)
Create a local coordinate system.
GEOM_Object MakePointXYZ(in double theX, in double theY, in double theZ)
Create point by three coordinates.
GEOM_Object MakePlanePntVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theTrimSize)
Create a plane, passing through the given point and normal to the given vector.
GEOM_Object MakePointOnSurface(in GEOM_Object theRefSurf, in double theUParameter, in double theVParameter)
Create a point, corresponding to the given parameters on the given surface.
GEOM_Object MakeVectorTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a vector between two points.
GEOM_Object MakeLine(in GEOM_Object thePnt, in GEOM_Object theDir)
Create a line, passing through the given point and parallel to the given direction.
GEOM_Object MakePointOnFace(in GEOM_Object theFace, in long theNumberOfPnts)
Create a point, which lays on the given face. The point will lay in arbitrary place of the face....
GEOM_Object MakeVectorDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a vector with the given components.
GEOM_Object MakePlaneFace(in GEOM_Object theFace, in double theTrimSize)
Create a plane, similar to the existing one, but with another size of representing face.
GEOM_Object MakePointOnCurve(in GEOM_Object theRefCurve, in double theParameter, in boolean takeOrientationIntoAccount)
GEOM_Object MakePointOnLinesIntersection(in GEOM_Object theRefLine1, in GEOM_Object theRefLine2)
Create a point, on two lines intersection.
GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace, in double theParameterU, in double theParameterV, in double theTrimSize)
Create a tangent plane to specified face in the point with specified parameters.
GEOM_Object MakePointOnSurfaceByCoord(in GEOM_Object theRefSurf, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given surface, projecting given point.
GEOM_Object MakeTangentOnCurve(in GEOM_Object theRefCurve, in double theParameter)
Create a vector, corresponding to tangent to the given parameter on the given curve.
GEOM_Object MakeMarkerPntTwoVec(in GEOM_Object theOrigin, in GEOM_Object theXVec, in GEOM_Object theYVec)
Create a local coordinate system from point and two vectors (DX, DY).
GEOM_Object MakeLineTwoFaces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a line, given by two faces intersection.
GEOM_Object MakePointOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create a point, corresponding to the given length on the given curve.
GEOM_Object MakePlaneLCS(in GEOM_Object theLCS, in double theTrimSize, in double theOrientation)
Create a plane, defined by local coordinate system.
GEOM_Object MakePointOnCurveByCoord(in GEOM_Object theRefCurve, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given curve, projecting given point.
GEOM_Object MakeMarkerFromShape(in GEOM_Object theShape)
Create a local coordinate system from shape.
GEOM_Object MakePlane2Vec(in GEOM_Object theVec1, in GEOM_Object theVec2, in double theTrimSize)
Create a plane, by two vectors.
Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translati...
Definition: GEOM_Gen.idl:2901
GEOM_Object MakeQuad(in GEOM_Object theEdge1, in GEOM_Object theEdge2, in GEOM_Object theEdge3, in GEOM_Object theEdge4)
Create a quadrangle face from four edges. Order of Edges is not important. It is not necessary that e...
ListOfGO Propagate(in GEOM_Object theShape)
Build all possible propagation groups.
GEOM_Object GetFaceByEdges(in GEOM_Object theShape, in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Get a face of block, found in the given shape by two given edges.
GEOM_Object GetFaceByPoints(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in GEOM_Object thePoint3, in GEOM_Object thePoint4)
Returns a face, found in the given shape by four given corner vertices.
GEOM_Object MakeHexa2Faces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a hexahedral solid between two given faces.
GEOM_Object GetEdge(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Get an edge, found in the given shape by two given vertices.
GEOM_Object GetNonBlocks(in GEOM_Object theShape, in double theToleranceC1, out GEOM_Object theNonQuads)
Retrieve all non blocks solids and faces from a shape.
GEOM_Object GetPoint(in GEOM_Object theShape, in double theX, in double theY, in double theZ, in double theEpsilon)
Get a vertex, found in the given shape by its coordinates.
GEOM_Object MakeMultiTransformation2D(in GEOM_Object theBlock, in long theDirFace1U, in long theDirFace2U, in long theNbTimesU, in long theDirFace1V, in long theDirFace2V, in long theNbTimesV)
Multi-transformate block and glue the result.
string PrintBCErrors(in GEOM_Object theCompound, in BCErrors theErrors)
Convert sequence of Blocks Compound errors, returned by CheckCompoundOfBlocks(), into string.
ListOfGO GetBlocksByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Return all blocks, containing all the elements, passed as the parts.
GEOM_Object GetEdgeNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find an edge of the given shape, which has minimal distance to the given point.
GEOM_Object MakeQuad4Vertices(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in GEOM_Object thePnt4)
Create a quadrangle face with specified corners.
GEOM_Object MakeHexa(in GEOM_Object theFace1, in GEOM_Object theFace2, in GEOM_Object theFace3, in GEOM_Object theFace4, in GEOM_Object theFace5, in GEOM_Object theFace6)
Create a hexahedral solid, bounded by the six given faces. Order of faces is not important.
GEOM_Object GetFaceNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a face of the given shape, which has minimal distance to the given point.
GEOM_Object CheckAndImprove(in GEOM_Object theCompound)
Check, if the given shape is a blocks compound.
GEOM_Object UnionFaces(in GEOM_Object theShape)
Performs union faces of theShape.
GEOM_Object GetShapesNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint, in long theShapeType, in double theTolerance)
Find all sub-shapes of type theShapeType of the given shape, which have minimal distance to the given...
BCErrorType
Enumeration of Blocks Compound defects.
Definition: GEOM_Gen.idl:3095
@ EXTRA_EDGE
Definition: GEOM_Gen.idl:3100
@ NOT_BLOCK
Definition: GEOM_Gen.idl:3097
@ INVALID_CONNECTION
Definition: GEOM_Gen.idl:3103
@ NOT_CONNECTED
Definition: GEOM_Gen.idl:3106
ListOfGO ExplodeCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces)
Get all the blocks, contained in the given compound.
GEOM_Object GetBlockByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Find block, containing all the elements, passed as the parts, or maximum quantity of them.
boolean IsCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces, out long theNbBlocks)
Check, if the compound contains only specified blocks.
GEOM_Object MakeQuad2Edges(in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Create a quadrangle face on two edges.
GEOM_Object RemoveExtraEdges(in GEOM_Object theShape, in long theOptimumNbFaces)
Remove all seam and degenerated edges from theShape.
GEOM_Object GetVertexNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a vertex of the given shape, which has minimal distance to the given point.
GEOM_Object GetOppositeFace(in GEOM_Object theBlock, in GEOM_Object theFace)
Find a face, opposite to the given one in the given block.
sequence< BCError > BCErrors
Sequence of all Blocks Compound defects.
Definition: GEOM_Gen.idl:3124
GEOM_Object GetBlockNearPoint(in GEOM_Object theCompound, in GEOM_Object thePoint)
Find block, containing the given point inside its volume or on boundary.
GEOM_Object MakeMultiTransformation1D(in GEOM_Object theBlock, in long theDirFace1, in long theDirFace2, in long theNbTimes)
Multi-transformate block and glue the result.
GEOM_Object GetFaceByNormale(in GEOM_Object theBlock, in GEOM_Object theVector)
Find a face of block, whose outside normale has minimal angle with the given vector.
boolean CheckCompoundOfBlocks(in GEOM_Object theCompound, in double theToleranceC1, out BCErrors theErrors)
Check, if the compound of blocks is given.
Interface for boolean operations (Cut, Fuse, Common)
Definition: GEOM_Gen.idl:3302
GEOM_Object MakeFuse(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakeBoolean(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeBooleanWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeCommonListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform common boolean operation on list of objects.
GEOM_Object MakePartition(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes)
Perform partition operation.
GEOM_Object MakeFuseWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakePartitionWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in double theFuzzyParam)
Perform partition operation.
GEOM_Object MakeCommonList(in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform common boolean operation on list of objects.
GEOM_Object MakeHalfPartition(in GEOM_Object theShape, in GEOM_Object thePlane)
Perform partition of the Shape with the Plane.
GEOM_Object MakeFuseList(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeHalfPartitionWithFuzzy(in GEOM_Object theShape, in GEOM_Object thePlane, in double theFuzzyParam)
Perform partition of the Shape with the Plane.
GEOM_Object MakePartitionNonSelfIntersectedShape(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte)
Perform partition operation.
GEOM_Object MakeFuseListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeCutListWithFuzzy(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakeCutList(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakePartitionNonSelfIntersectedShapeWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform partition operation.
Interface for canonical recognition operations.
Definition: GEOM_Gen.idl:5362
boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius)
boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius)
boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin)
boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle)
boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin)
boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius)
boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius)
Interface for curves creation.
Definition: GEOM_Gen.idl:3641
GEOM_Object MakeSplineBezier(in ListOfGO thePoints, in boolean theIsClosed)
Create bezier curve on the set of points.
GEOM_Object MakeArc(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create an arc of circle, passing through three given points.
GEOM_Object MakeSketcherOnPlane(in string theCommand, in GEOM_Object theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakeEllipse(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create an ellipse with given center, normal vector and radiuses.
GEOM_Object MakeArcCenter(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2, in boolean theSense)
Create an arc of circle of center C from one point to another.
GEOM_Object MakeCircleCenter2Pnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle with given center, with a radius equals the distance from center to Point1 and on a p...
GEOM_Object MakeEllipseVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor, in GEOM_Object theVecMaj)
Create an ellipse with given center, normal vector, main axis vector and radiuses.
GEOM_Object MakeSplineInterpolation(in ListOfGO thePoints, in boolean theIsClosed, in boolean theDoReordering)
Create B-Spline curve on the set of points.
GEOM_Object Make3DSketcherCommand(in string theCommand)
Create a 3D sketcher, following the textual description, passed through theCommand argument.
GEOM_Object MakeCirclePntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a circle with given center, normal vector and radius.
GEOM_Object MakeIsoline(in GEOM_Object theFace, in boolean IsUIsoline, in double theParameter)
Creates an isoline curve on a face.
GEOM_Object MakePolyline(in ListOfGO thePoints, in boolean theIsClosed)
Create a polyline on the set of points.
GEOM_Object MakeCircleThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle, passing through three given points.
GEOM_Object MakeCurveParametric(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in double theParamStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeCurveParametricNew(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in long theParamNbStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeArcOfEllipse(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create an arc of ellipse of center C and two points P1 P2.
GEOM_Object MakePolyline2DOnPlane(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in GEOM_Object theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object MakeSplineInterpolWithTangents(in ListOfGO thePoints, in GEOM_Object theFirstVec, in GEOM_Object theLastVec)
Create B-Spline curve on the set of points.
GEOM_Object MakeSketcher(in string theCommand, in ListOfDouble theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakePolyline2D(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in ListOfDouble theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object Make3DSketcher(in ListOfDouble theCoordinates)
Create a 3D sketcher, made of a straight segments, joining points with coordinates passed through the...
Interface for field operation.
Definition: GEOM_Gen.idl:5309
long GetNbSubShapes(in GEOM_Object shape, in short fieldDim)
Returns number of sub-shapes of given dimension.
GEOM_Field CreateField(in GEOM_Object shape, in string name, in field_data_type type, in short dimension, in string_array componentNames)
Creates a field.
long CountFields(in GEOM_Object shape)
Returns number of fields on a shape.
ListOfFields GetFields(in GEOM_Object shape)
Returns all fields on a shape.
GEOM_Field GetField(in GEOM_Object shape, in string name)
Returns a field on a shape by its name.
Interface for groups creation.
Definition: GEOM_Gen.idl:5172
GEOM_Object CutGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Cut of two groups. New group is created. It will contain entities which are present in group theGroup...
GEOM_Object CreateGroup(in GEOM_Object theMainShape, in long theShapeType)
Creates a new group which will store sub-shapes of theMainShape.
GEOM_Object IntersectListOfGroups(in ListOfGO theGList)
Intersection of list of groups. New group is created. It will contain only entities which are simulta...
void RemoveObject(in GEOM_Object theGroup, in long theSubShapeId)
Removes a sub-object with ID theSubShapeId from the group.
GEOM_Object UnionGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Union of two groups. New group is created. It will contain all entities which are present in groups t...
long GetType(in GEOM_Object theGroup)
Returns a type of sub-objects stored in the group.
void UnionIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
void UnionList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
GEOM_Object GetMainShape(in GEOM_Object theGroup)
Returns a main shape associated with the group.
GEOM_Object UnionListOfGroups(in ListOfGO theGList)
Union of list of groups. New group is created. It will contain all entities that are present in group...
GEOM_Object IntersectGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Intersection of two groups. New group is created. It will contain only those entities which are prese...
ListOfLong GetObjects(in GEOM_Object theGroup)
Returns a list of sub-objects ID stored in the group.
GEOM_Object CutListOfGroups(in ListOfGO theGList1, in ListOfGO theGList2)
Cut of lists of groups. New group is created. It will contain only entities which are present in grou...
void DifferenceIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
void AddObject(in GEOM_Object theGroup, in long theSubShapeId)
Adds a sub-object with ID theSubShapeId to the group.
void DifferenceList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
Interface for shape healing operations.
Definition: GEOM_Gen.idl:4171
GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance)
GEOM_Object RemoveIntWires(in GEOM_Object theObject, in short_array theWires)
Remove internal wires and edges from the given object (face).
ModifStatistics GetStatistics()
Return information on what has been done by the last called healing method.
GEOM_Object DivideEdge(in GEOM_Object theObject, in short theEdgeIndex, in double theValue, in boolean isByParameter)
Addition of a point to a given edge of theObject.
GEOM_Object SuppressFaces(in GEOM_Object theObject, in short_array theFaces)
Remove faces from the given object (shape).
GEOM_Object ProcessShape(in GEOM_Object theShapes, in string_array theOperators, in string_array theParameters, in string_array theValues)
Apply a sequence of Shape Healing operators to the given object.
void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args)
Provides Python dump functionality for algorithms entirely implemented in Python.
GEOM_Object ChangeOrientationCopy(in GEOM_Object theObject)
void GetShapeProcessParameters(out string_array theOperators, out string_array theParameters, out string_array theValues)
Get default sequence of operators, their parameters and parameters' values of Shape Process operation...
GEOM_Object LimitTolerance(in GEOM_Object theObject, in double theTolerance)
Try to limit tolerance of the given object by value theTolerance.
GEOM_Object ChangeOrientation(in GEOM_Object theObject)
Change orientation of the given object.
boolean GetFreeBoundary(in ListOfGO theObjects, out ListOfGO theClosedWires, out ListOfGO theOpenWires)
Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shapes.
GEOM_Object CloseContour(in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex)
Close an open wire.
GEOM_Object FuseCollinearEdgesWithinWire(in GEOM_Object theWire, in ListOfGO theVertices)
Suppress the vertices in the wire in case if adjacent edges are C1 continuous.
GEOM_Object FillHoles(in GEOM_Object theObject, in short_array theWires)
Remove internal closed contours (holes) from the given object.
void GetOperatorParameters(in string theOperator, out string_array theParameters, out string_array theValues)
Get parameters and parameters' values for the given Shape Process operation.
GEOM_Object DivideEdgeByPoint(in GEOM_Object theObject, in short theEdgeIndex, in ListOfGO thePoints)
Addition of points to a given edge of theObject by projecting other points to the given edge.
GEOM_Object RemoveInternalFaces(in ListOfGO theSolids)
GEOM_Object Sew(in ListOfGO theObjects, in double theTolerance)
Interface for shape insert operations (like copy, import).
Definition: GEOM_Gen.idl:4367
string ReadValue(in string theFileName, in string theFormatName, in string theParameterName)
Deprecated method. Use ReadValue (from the corresponding plugin) instead.
sequence< TransferDatum > ListOfTransferDatum
Sequence of non-topological information transfer data.
Definition: GEOM_Gen.idl:4463
GEOM_Object MakeCopy(in GEOM_Object theOriginal)
Create a copy of the given object.
long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture)
Add texture to the study.
ListOfGBO ImportFile(in string theFileName, in string theFormatName)
Deprecated method. Use Import<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
void Export(in GEOM_Object theObject, in string theFileName, in string theFormatName)
Deprecated method. Use Export<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
long LoadTexture(in string theTextureFile)
Load texture from file.
SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight)
Get previously loaded texture data.
ListOfLong GetAllTextures()
Get list of all available texture IDs.
GEOM_Object RestoreShape(in SALOMEDS::TMPFile theStream)
Read a shape from the binary stream, containing its bounding representation (BRep).
boolean TransferData(in GEOM_Object theObjectFrom, in GEOM_Object theObjectTo, in find_shape_method theFindMethod, out ListOfTransferDatum theResult)
Transfer non-topological data from one object to another.
Interface for shape_kind enumeration.
Definition: GEOM_Gen.idl:4491
shape_kind
Definition: GEOM_Gen.idl:4492
@ CRV_BSPLINE
Definition: GEOM_Gen.idl:4551
@ TORUS
Definition: GEOM_Gen.idl:4509
@ COMPSOLID
Definition: GEOM_Gen.idl:4496
@ SOLID
Definition: GEOM_Gen.idl:4515
@ WIRE
Definition: GEOM_Gen.idl:4498
@ SEGMENT
Definition: GEOM_Gen.idl:4549
@ VERTEX
Definition: GEOM_Gen.idl:4561
@ BOX
Definition: GEOM_Gen.idl:4505
@ NO_SHAPE
Definition: GEOM_Gen.idl:4493
@ PLANAR
Definition: GEOM_Gen.idl:4534
@ ELLIPSE
Definition: GEOM_Gen.idl:4543
@ FACE
Definition: GEOM_Gen.idl:4536
@ ARC_ELLIPSE
Definition: GEOM_Gen.idl:4545
@ PLANE
Definition: GEOM_Gen.idl:4532
@ COMPOUND
Definition: GEOM_Gen.idl:4495
@ ARC_CIRCLE
Definition: GEOM_Gen.idl:4541
@ POLYHEDRON
Definition: GEOM_Gen.idl:4513
@ ROTATED_BOX
Definition: GEOM_Gen.idl:4507
@ CYLINDER
Definition: GEOM_Gen.idl:4503
@ HYPERBOLA
Definition: GEOM_Gen.idl:4555
@ DISK_ELLIPSE
Definition: GEOM_Gen.idl:4528
@ CYLINDER2D
Definition: GEOM_Gen.idl:4520
@ LCS
Definition: GEOM_Gen.idl:4563
@ PARABOLA
Definition: GEOM_Gen.idl:4557
@ CONE
Definition: GEOM_Gen.idl:4511
@ EDGE
Definition: GEOM_Gen.idl:4559
@ CIRCLE
Definition: GEOM_Gen.idl:4539
@ SHELL
Definition: GEOM_Gen.idl:4497
@ SPHERE
Definition: GEOM_Gen.idl:4501
@ LINE
Definition: GEOM_Gen.idl:4547
@ SPHERE2D
Definition: GEOM_Gen.idl:4518
@ CONE2D
Definition: GEOM_Gen.idl:4524
@ POLYGON
Definition: GEOM_Gen.idl:4530
@ CRV_BEZIER
Definition: GEOM_Gen.idl:4553
@ DISK_CIRCLE
Definition: GEOM_Gen.idl:4526
@ TORUS2D
Definition: GEOM_Gen.idl:4522
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:3987
GEOM_Object MakeFilletEdges(in GEOM_Object theShape, in double theR, in ListOfLong theEdges)
Perform a fillet on the specified edges of the given shape.
GEOM_Object MakeChamferEdgeAD(in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2)
The Same but with params theD = Chamfer Length and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferFacesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
GEOM_Object MakeFilletAll(in GEOM_Object theShape, in double theR)
Perform a fillet on all edges of the given shape.
GEOM_Object MakeArchimede(in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection)
Perform an Archimde operation on the given shape with given parameters. The object presenting the res...
GEOM_Object MakeFillet2D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
Perform a fillet on a face or a shell at the specified vertexes.
GEOM_Object MakeFilletEdgesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theEdges)
GEOM_Object MakeChamferEdge(in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2)
Perform a chamfer on edges, common to the specified faces. with distance D1 on the Face1.
GEOM_Object MakeChamferEdges(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges)
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
GEOM_Object MakeChamferFaces(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
Perform a chamfer on all edges of the specified faces. with distance D1 on the first specified face (...
GEOM_Object MakeChamferEdgesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
GEOM_Object MakeFillet1D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes, in boolean doIgnoreSecantVertices)
Perform a fillet on edges of the specified vertexes of the given wire.
GEOM_Object MakeChamferAll(in GEOM_Object theShape, in double theD)
Perform a symmetric chamfer on all edges of the given shape.
long GetSubShapeIndex(in GEOM_Object theShape, in GEOM_Object theSubShape)
Duplicates GEOM_IShapesOperations.GetSubShapeIndex().
GEOM_Object MakeFilletFaces(in GEOM_Object theShape, in double theR, in ListOfLong theFaces)
Perform a fillet on all edges of the specified faces of the given shape.
GEOM_Object MakeFilletFacesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces)
Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass,...
Definition: GEOM_Gen.idl:4576
SequenceOfPairOfShape DistantShapes(in CheckResults theResults, in long theShapeType, in long theSubShapeType, in double theTolerance)
find remote objects (sub-shape on a shape). Avaliable types:
ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance)
Check if points defined by coords = [x1, y1, z1, x2, y2, z2, ...] are inside or on the shape theShape...
double MaxSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get max radius of curvature of surface in the given point.
double GetAngleBtwVectors(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given vectors.
ListOfDouble UVtoXYZ(in GEOM_Object theSurf, in ListOfDouble theUVlist, in boolean theIsNormalized)
Convert UV parameters on the given surface to 3D points coordinates.
string PrintShapeErrors(in GEOM_Object theShape, in ShapeErrors theErrors)
Convert sequence of shape errors, returned by CheckShape() or CheckShapeWithGeometry(),...
double MinSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get min radius of curvature of surface in the point determinated by params.
SequenceOfPairOfShape InterferingSubshapes(in CheckResults theResults, in long theShapeType1, in long theShapeType2)
Find pairs of interfering sub-shapes, by default all pairs of interfering shapes are returned....
double CurveCurvatureByParam(in GEOM_Object theShape, in double theParam)
Get radius of curvature of curve in the point determinated by param.
boolean CheckSelfIntersections(in GEOM_Object theShape, in long theCheckLevel, out ListOfLong theIntersections)
Check a topology of the given shape on self-intersections presence.
ShapeErrorType
Enumeration of Shape defects coming from CheckShape algorithms.
Definition: GEOM_Gen.idl:4705
@ InvalidWire
Definition: GEOM_Gen.idl:4733
@ InvalidSameRangeFlag
Definition: GEOM_Gen.idl:4718
@ EmptyShell
Definition: GEOM_Gen.idl:4739
@ InvalidImbricationOfWires
Definition: GEOM_Gen.idl:4736
@ InvalidDegeneratedFlag
Definition: GEOM_Gen.idl:4720
@ InvalidRange
Definition: GEOM_Gen.idl:4724
@ RedundantWire
Definition: GEOM_Gen.idl:4734
@ InvalidCurveOnClosedSurface
Definition: GEOM_Gen.idl:4717
@ InvalidPointOnCurveOnSurface
Definition: GEOM_Gen.idl:4708
@ IntersectingWires
Definition: GEOM_Gen.idl:4735
@ BadOrientationOfSubshape
Definition: GEOM_Gen.idl:4750
@ EmptyWire
Definition: GEOM_Gen.idl:4727
@ NoCurveOnSurface
Definition: GEOM_Gen.idl:4715
@ SubshapeNotInShape
Definition: GEOM_Gen.idl:4747
@ BadOrientation
Definition: GEOM_Gen.idl:4749
@ SelfIntersectingWire
Definition: GEOM_Gen.idl:4729
@ InvalidCurveOnSurface
Definition: GEOM_Gen.idl:4716
@ Invalid3DCurve
Definition: GEOM_Gen.idl:4714
@ InvalidPointOnSurface
Definition: GEOM_Gen.idl:4709
@ InvalidPointOnCurve
Definition: GEOM_Gen.idl:4707
@ InvalidToleranceValue
Definition: GEOM_Gen.idl:4752
@ InvalidMultiConnexity
Definition: GEOM_Gen.idl:4723
@ FreeEdge
Definition: GEOM_Gen.idl:4722
@ RedundantFace
Definition: GEOM_Gen.idl:4740
@ RedundantEdge
Definition: GEOM_Gen.idl:4728
@ NotClosed
Definition: GEOM_Gen.idl:4744
@ InvalidSameParameterFlag
Definition: GEOM_Gen.idl:4719
@ UnorientableShape
Definition: GEOM_Gen.idl:4743
@ Multiple3DCurve
Definition: GEOM_Gen.idl:4713
@ No3DCurve
Definition: GEOM_Gen.idl:4712
@ NotConnected
Definition: GEOM_Gen.idl:4745
@ NoSurface
Definition: GEOM_Gen.idl:4732
double GetMinDistance(in GEOM_Object theShape1, in GEOM_Object theShape2, out double X1, out double Y1, out double Z1, out double X2, out double Y2, out double Z2)
Get minimal distance between the given shapes.
void GetPosition(in GEOM_Object theShape, out double Ox, out double Oy, out double Oz, out double Zx, out double Zy, out double Zz, out double Xx, out double Xy, out double Xz)
Get position (LCS) of theShape.
double GetCoarseProximity(in GEOM_Object theCalculator)
Compute coarse value of the proximity basing on the polygonal representation of shapes.
sequence< PairOfShape > SequenceOfPairOfShape
Definition: GEOM_Gen.idl:5067
sequence< ShapeError > ShapeErrors
Sequence of all shape defects.
Definition: GEOM_Gen.idl:4770
GEOM_IKindOfShape::shape_kind KindOfShape(in GEOM_Object theShape, out ListOfLong theIntegers, out ListOfDouble theDoubles)
Get kind of theShape.
ListOfGO SmallEdges(in CheckResults theResults)
Find edges, which are fully covered by tolerances of vertices.
ListOfDouble XYZtoUV(in GEOM_Object theSurf, in ListOfDouble theXYZlist, in boolean theIsNormalized)
Convert X,Y,Z points coordinates to UV parameters on the given surface.
void SetShapeSampling(in GEOM_Object theCalculator, in GEOM_Object theShape, in long theNbSamples)
Set number sample points to compute the coarse proximity.
double MinSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get min radius of curvature of surface in the given point.
void PointCoordinates(in GEOM_Object theShape, out double X, out double Y, out double Z)
Get point coordinates.
CheckResults CheckConformityShape(in GEOM_Object theShape)
Perform analyse of shape and return all failed checks.
SequenceOfPairOfShape SelfIntersected2D(in CheckResults theResults)
Find all self-intersected 2D curves.
void GetBasicProperties(in GEOM_Object theShape, in double theTolerance, out double theLength, out double theSurfArea, out double theVolume)
Get summarized length of all wires, area of surface and volume of the given shape.
void GetInertia(in GEOM_Object theShape, out double I11, out double I12, out double I13, out double I21, out double I22, out double I23, out double I31, out double I32, out double I33, out double Ix, out double Iy, out double Iz)
Get inertia matrix and moments of inertia of theShape.
boolean CheckSelfIntersectionsFast(in GEOM_Object theShape, in float theDeflection, in double theTolerance, out ListOfLong theIntersections)
Detect self-intersections of the given shape with algorithm based on mesh intersections.
boolean CheckShape(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology of the given shape.
GEOM_Object SurfaceCurvatureByPointAndDirection(in GEOM_Object theShape, in GEOM_Object thePoint, in GEOM_Object theDirection)
Get vector of curvature of surface in the given point along the given direction.
GEOM_Object GetNormal(in GEOM_Object theFace, in GEOM_Object theOptionalPoint)
Get a vector, representing the normal of theFace. If the face is not planar, theOptionalPoint is obli...
double CurveCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get radius of curvature of curve in the given point.
GEOM_Object GetVertexByIndex(in GEOM_Object theShape, in long theIndex, in boolean theUseOri)
sequence< CheckResult > CheckResults
Definition: GEOM_Gen.idl:5068
double MaxSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get max radius of curvature of surface in the point determinated by params.
boolean FastIntersect(in GEOM_Object theShape1, in GEOM_Object theShape2, in double theTolerance, in float theDeflection, out ListOfLong theIntersections1, out ListOfLong theIntersections2)
Detect intersections of the given shapes with algorithm based on mesh intersections.
double UpdateTolerance(in GEOM_Object theShape)
Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-sha...
GEOM_Object GetCentreOfMass(in GEOM_Object theShape)
Get a point, situated at the centre of mass of theShape.
double GetPreciseProximity(in GEOM_Object theCalculator)
Compute precise value of the proximity basing on the exact shapes.
double GetAngle(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given lines or linear edges.
ListOfGO PatchFace(in GEOM_Object theShape)
The function takes a single face with holes and returns a list of faces, first of them is the origina...
GEOM_Object ShapeProximityCalculator(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get the calculator for the proximity value between the given shapes.
void GetTolerance(in GEOM_Object theShape, out double FaceMin, out double FaceMax, out double EdgeMin, out double EdgeMax, out double VertMin, out double VertMax)
Get min and max tolerances of sub-shapes of theShape.
boolean CheckShapeWithGeometry(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology and a geometry of the given shape.
long ClosestPoints(in GEOM_Object theShape1, in GEOM_Object theShape2, out ListOfDouble theCoords)
Get closest points of the given shapes.
GEOM_Object MakeBoundingBox(in GEOM_Object theShape, in boolean precise)
Get bounding box of the given shape.
string IsGoodForSolid(in GEOM_Object theShape)
Check if the given shape can be an argument for MakeSolid operation.
boolean CheckBOPArguments(in GEOM_Object theShape)
Check boolean and partition operations arguments.
string WhatIs(in GEOM_Object theShape)
btain description of the given shape
void GetBoundingBox(in GEOM_Object theShape, in boolean precise, out double Xmin, out double Xmax, out double Ymin, out double Ymax, out double Zmin, out double Zmax)
Get parameters of bounding box of the given shape.
Basic methods of all geometric operations.
Definition: GEOM_Gen.idl:708
void AbortOperation()
Aborts the previously opened transaction.
void StartOperation()
Opens a new transaction.
void SetErrorCode(in string theErrorID)
Set the operation error code.
string GetErrorCode()
Get the operation error code.
boolean IsDone()
To know, if the operation was successfully performed.
void FinishOperation()
Closes the previously opened transaction.
Interface for Shapes creation:
Definition: GEOM_Gen.idl:2033
ListOfGO MakeAllSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfGO GetExistingSubObjects(in GEOM_Object theShape, in boolean theGroupsOnly)
Get all sub-shapes and groups of theShape, that were created already by any other methods.
GEOM_Object GetSubShape(in GEOM_Object theMainShape, in long theID)
Get a sub-shape defined by its unique ID inside theMainShape.
GEOM_Object GetInPlace(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfGO GetShapesOnPlaneWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfLong GetShapesOnQuadrangleIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
GEOM_Object ChangeOrientation(in GEOM_Object theShape)
GEOM_Object ExtendEdge(in GEOM_Object theEdge, in double theMin, in double theMax)
Resize the input edge with the new Min and Max parameters. The input edge parameters range is [0,...
GEOM_Object GetShapesOnShapeAsCompound(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object ExtendFace(in GEOM_Object theFace, in double theUMin, in double theUMax, in double theVMin, in double theVMax)
Resize the input face with the new UMin, UMax, VMin and VMax parameters. The input face U and V param...
ListOfGO GetShapesOnCylinder(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object GetSame(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO MakeSubShapes(in GEOM_Object theMainShape, in ListOfLong theIndices)
Get a set of sub-shapes defined by their unique IDs inside theMainShape.
ListOfGO GetShapesOnQuadrangle(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
ListOfLong GetSubShapesIndices(in GEOM_Object theMainShape, in ListOfGO theSubShapes)
long GetSubShapeIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
sequence< ExtractionStat > ExtractionStats
Definition: GEOM_Gen.idl:2876
GEOM_Object MakeEdge(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a linear edge with specified ends.
ListOfGO ExtractSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Extract all sub-shapes of the given type from the given shape, excluding the shape itself.
GEOM_Object MakeWire(in ListOfGO theEdgesAndWires, in double theTolerance, in wire_build_mode theMode)
Create a wire from the set of edges and wires.
GEOM_Object MakeWrappedFace(in ListOfGO theEdges, in ListOfGO theVertices, in double theTolerance)
Create non planar face with list of edges and list of vertices.
GEOM_Object MakeGlueFaces(in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids)
Replace coincident faces in theShapes by one face.
long NumberOfSubShapes(in GEOM_Object theShape, in long theShapeType)
Count number of sub-shapes of type theShapeType in the given shape.
string GetShapeTypeString(in GEOM_Object theShape)
Get name of type of theShape.
ListOfGO GetShapesOnCylinderWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfLong GetShapesOnCylinderIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfGO GetShapesOnSphere(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
ListOfGO GetGlueEdges(in ListOfGO theShapes, in double theTolerance)
GEOM_Object MakeSurfaceFromFace(in GEOM_Object theFace)
Make a surface from a face. This function takes some face as input parameter and creates new GEOM_Obj...
ExtractionStatType
This enumeration represents an extraction statistics type.
Definition: GEOM_Gen.idl:2860
@ EST_Modified
Modified sub-shapes.
Definition: GEOM_Gen.idl:2862
@ EST_Removed
Removed sub-shapes.
Definition: GEOM_Gen.idl:2861
long NumberOfEdges(in GEOM_Object theShape)
Count number of edges in the given shape.
ListOfGO GetSubShapeEdgeSorted(in GEOM_Object theShape, in GEOM_Object theStartPoint)
Explode a shape into edges sorted in a row from a starting point.
GEOM_Object MakeGlueEdges(in ListOfGO theShapes, in double theTolerance)
Replace coincident edges in theShapes by one edge.
GEOM_Object MakeCompound(in ListOfGO theShapes)
Create a compound of the given shapes.
ListOfLong GetFreeFacesIDs(in GEOM_Object theShape)
Retrieve all free faces from the given shape.
ListOfGO MakeExplode(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method.
ListOfLong GetShapesOnPlaneWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeEdgeOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create an edge on another edge, corresponding to the given length on the given edge.
ListOfGO GetShapesOnBox(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
long GetTopologyIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
Get index of theSubShape in theMainShape, unique among sub-shapes of the same type.
ListOfLong GetShapesOnPlaneIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeSolidShells(in ListOfGO theShells)
Create a solid, bounded by the given shells.
GEOM_Object MakeGlueFacesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theFaces, in boolean doKeepNonSolids, in boolean doGlueAllEdges)
Replace coincident faces in theShapes by one face in compliance with given list of faces.
boolean IsSubShapeBelongsTo(in GEOM_Object theSubObject, in long theSubObjectIndex, in GEOM_Object theObject, in long theObjectIndex)
Check if the object is a sub-object of another GEOM object.
ListOfGO GetShapesOnPlane(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfGO GetSharedShapesMulti(in ListOfGO theShapes, in long theShapeType, in boolean theMultiShare)
Get sub-shapes, shared by input shapes.
ListOfLong GetShapesOnShapeIDs(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeSolidFromConnectedFaces(in ListOfGO theFacesOrShells, in boolean isIntersect)
Make a solid (or solids) from connected set of faces and/or shells.
ListOfListOfLong GetInPlaceMap(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
A sort of GetInPlace functionality, returning for each sub-shape ID of theShapeWhat a list of corresp...
GEOM_Object MakeFaceWithConstraints(in ListOfGO theConstraints)
Create a face from a set of edges with the given constraints.
GEOM_Object MakeFace(in GEOM_Object theWire, in boolean isPlanarWanted)
Create a face on the given wire.
ListOfGO GetSubShapesWithTolerance(in GEOM_Object theShape, in short theShapeType, in comparison_condition theCondition, in double theTolerance)
Return the list of subshapes that satisfies a certain tolerance criterion. The user defines the type ...
GEOM_Object MakeEdgeWire(in GEOM_Object theWire, in double theLinearTolerance, in double theAngularTolerance)
Create an edge from specified wire.
GEOM_Object MakeSolidShell(in GEOM_Object theShell)
Create a solid, bounded by the given shell.
ListOfLong GetShapesOnBoxIDs(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeFaceWires(in ListOfGO theWires, in boolean isPlanarWanted)
Create a face on the given wires set.
long NumberOfFaces(in GEOM_Object theShape)
Count number of faces in the given shape.
GEOM_Object MakeShell(in ListOfGO theFacesAndShells)
Create a shell from the set of faces and shells.
ListOfGO GetSharedShapes(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theShapeType)
Get all sub-shapes of theShape1 of the given type, shared with theShape2.
GEOM_Object GetInPlaceByHistory(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfLong GetAllSubShapesIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfLong GetShapesOnCylinderWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object MakeExtraction(in GEOM_Object theShape, in ListOfLong theSubShapeIDs, out ExtractionStats theStats)
Return the shape that is constructed from theShape without extracted sub-shapes from the input list.
ListOfLong GetSameIDs(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape Ids of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO GetGlueFaces(in ListOfGO theShapes, in double theTolerance)
ListOfGO GetShapesOnShape(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object GetInPlaceOld(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
GEOM_Object MakeGlueEdgesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theEdges)
Replace coincident edges in theShapes by one edge in compliance with given list of edges.
GEOM_Object MakeFaceFromSurface(in GEOM_Object theFace, in GEOM_Object theWire)
Create a face based on surface of theFace limited by theWire.
ListOfLong SubShapeAllIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method. Use GetAllSubShapesIDs() instead.
ListOfLong GetShapesOnSphereIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
Interface for testing operations.
Definition: GEOM_Gen.idl:5344
boolean Tesselate(in GEOM_Object shape, in double linearDeflection, in boolean isRelative, in double angularDeflection)
Build a mesh on the given shape.
Interface for shapes transforming.
Definition: GEOM_Gen.idl:1014
GEOM_Object TranslateDXDYDZCopy(in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
Translate the given object along the vector, specified by its components, creating its copy before th...
GEOM_Object OffsetShapeCopy(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Create new object as offset of the given one.
GEOM_Object OffsetShapePartialCopy(in GEOM_Object theObject, in double theOffset, in ListOfLong theFacesIDs)
Create new object as offset of the given one. Only indexed faces are offset, others keep they origina...
GEOM_Object MultiRotate1D(in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbObjects)
Rotate the given object around the given axis a given number times.
GEOM_Object MirrorPointCopy(in GEOM_Object theObject, in GEOM_Object thePoint)
Create an object, symmetrical to the given one relatively the given point.
double ProjectPointOnWire(in GEOM_Object thePoint, in GEOM_Object theWire, out GEOM_Object thePointOnEdge, out long theEdgeInWireIndex)
Create a projection projection of the given point on a wire or an edge.
GEOM_Object MultiRotate1DByStep(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps)
Rotate the given object around the given axis a given number times on the given angle.
GEOM_Object RotateThreePointsCopy(in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Rotate given object around vector perpendicular to plane containing three points.
GEOM_Object RotateCopy(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
GEOM_Object ScaleShapeAlongAxes(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ)
Scale the given object by different factors along coordinate axes.
GEOM_Object MirrorPlaneCopy(in GEOM_Object theObject, in GEOM_Object thePlane)
Create an object, symmetrical to the given one relatively the given plane.
GEOM_Object MirrorPlane(in GEOM_Object theObject, in GEOM_Object thePlane)
Replace the given object by an object, symmetrical to it relatively the given plane.
GEOM_Object OffsetShape(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Replace the given object by its offset.
GEOM_Object TranslateVectorDistance(in GEOM_Object theObject, in GEOM_Object theVector, in double theDistance, in boolean theCopy)
Translate the given object along the given vector on given distance, creating its copy before the tra...
GEOM_Object RotateThreePoints(in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Rotate given object around vector perpendicular to plane containing three points.
GEOM_Object RecomputeObject(in GEOM_Object theObject)
Recompute the shape from its arguments.
GEOM_Object MirrorAxisCopy(in GEOM_Object theObject, in GEOM_Object theAxis)
Create an object, symmetrical to the given one relatively the given axis.
GEOM_Object ScaleShape(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
Scale the given object by the factor.
GEOM_Object ScaleShapeAlongAxesCopy(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ)
Scale the given object by different factors along coordinate axes, creating its copy before the scali...
GEOM_Object TranslateTwoPointsCopy(in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Translate the given object along the vector, specified by its end points, creating its copy before th...
GEOM_Object ScaleShapeCopy(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
Scale the given object by the factor, creating its copy before the scaling.
GEOM_Object PositionAlongPath(in GEOM_Object theObject, in GEOM_Object thePath, in double theDistance, in boolean theCopy, in boolean theReverse)
Modify the Location of the given object by Path,.
GEOM_Object MakeProjectionOnCylinder(in GEOM_Object theObject, in double theRadius, in double theStartAngle, in double theAngleLength, in double theAngleRotation)
Compute the projection of a wire or a face on a cylinder.
GEOM_Object ProjectShapeCopy(in GEOM_Object theSource, in GEOM_Object theTarget)
Create new object as projection of the given one on a 2D surface.
GEOM_Object PositionShapeCopy(in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
Modify the Location of the given object by LCS, creating its copy before the setting.
GEOM_Object MultiRotate2D(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps1, in double theRadialStep, in long theNbSteps2)
Rotate the given object around the given axis on the given angle a given number times and multi-trans...
GEOM_Object TranslateVectorCopy(in GEOM_Object theObject, in GEOM_Object theVector)
Translate the given object along the given vector, creating its copy before the translation.
GEOM_Object MultiRotate2DNbTimes(in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbObjects, in double theRadialStep, in long theNbSteps)
Rotate the given object around the given axis a given number times and multi-translate each rotation ...
GEOM_Object MirrorPoint(in GEOM_Object theObject, in GEOM_Object thePoint)
Replace the given object by an object, symmetrical to it relatively the given point.
GEOM_Object PositionShape(in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
Modify the Location of the given object by LCS.
GEOM_Object TranslateVector(in GEOM_Object theObject, in GEOM_Object theVector)
Translate the given object along the given vector.
GEOM_Object MultiRotate2DByStep(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps1, in double theRadialStep, in long theNbSteps2)
Rotate the given object around the given axis on the given angle a given number times and multi-trans...
GEOM_Object TranslateTwoPoints(in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Translate the given object along the vector, specified by its end points.
GEOM_Object Rotate(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
Rotate the given object around the given axis on the given angle.
GEOM_Object MultiTranslate2D(in GEOM_Object theObject, in GEOM_Object theVector1, in double theStep1, in long theNbTimes1, in GEOM_Object theVector2, in double theStep2, in long theNbTimes2)
Conseqently apply two specified translations to theObject specified number of times.
GEOM_Object MultiTranslate1D(in GEOM_Object theObject, in GEOM_Object theVector, in double theStep, in long theNbTimes)
Translate the given object along the given vector a given number times.
GEOM_Object TranslateDXDYDZ(in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
Translate the given object along the vector, specified by its components.
GEOM_Object MirrorAxis(in GEOM_Object theObject, in GEOM_Object theAxis)
Replace the given object by an object, symmetrical to it relatively the given axis.
Interface of the integer field time step.
Definition: GEOM_Gen.idl:657
boolean SetValues(in ListOfLong intValues)
Changes values of the field step. Returns false if number of values is wrong.
ListOfLong GetValues()
Returns values of the field step.
Interface of geometric object.
Definition: GEOM_Gen.idl:398
GEOM_Object GetMainShape()
long long getShape()
Get the TopoDS_Shape, for colocated case only.
boolean GetAutoColor()
Get flag of object's auto color mode.
SALOMEDS::Color GetColor()
void SetMarkerStd(in marker_type theType, in marker_size theSize)
Set standard point marker for the object.
void SetAutoColor(in boolean theAutoColor)
void SetMarkerTexture(in long theTextureId)
Set custom point marker for the object.
long GetMarkerTexture()
Get texture idenifier of the point marker assigned to the object.
shape_type GetMaxShapeType()
Get a maximal type of the top-level shapes contained in the object.
shape_type GetTopologyType()
Get the topology type of the object value.
marker_size GetMarkerSize()
Get size of the point marker assigned to the object.
boolean IsMainShape()
shape_type GetMinShapeType()
Get a minimal type of the top-level shapes contained in the object.
marker_type GetMarkerType()
Get type of the point marker assigned to the object.
ListOfLong GetSubShapeIndices()
SALOMEDS::TMPFile GetShapeStream()
Get geometric shape of the object as a byte stream in BRep format.
void SetColor(in SALOMEDS::Color theColor)
Set color of the object.
shape_type GetShapeType()
Get a shape_type of the object value.
string GetSubShapeName(in long subID)
Returns a name of a sub-shape if the sub-shape is published in the study.
boolean IsParametrical()
Interface of the string field time step.
Definition: GEOM_Gen.idl:691
boolean SetValues(in string_array strValues)
Changes values of the field step. Returns false if number of values is wrong.
string_array GetValues()
Returns values of the field step.
Definition: GEOM_Gen.idl:36
marker_type
Marker type.
Definition: GEOM_Gen.idl:67
@ MT_RING1
Definition: GEOM_Gen.idl:68
@ MT_USER
Definition: GEOM_Gen.idl:68
@ MT_PLUS
Definition: GEOM_Gen.idl:67
@ MT_X
Definition: GEOM_Gen.idl:67
@ MT_STAR
Definition: GEOM_Gen.idl:67
@ MT_O_X
Definition: GEOM_Gen.idl:68
@ MT_O_PLUS
Definition: GEOM_Gen.idl:67
@ MT_O_POINT
Definition: GEOM_Gen.idl:67
@ MT_O_STAR
Definition: GEOM_Gen.idl:68
@ MT_RING3
Definition: GEOM_Gen.idl:68
@ MT_BALL
Definition: GEOM_Gen.idl:68
@ MT_O
Definition: GEOM_Gen.idl:67
@ MT_RING2
Definition: GEOM_Gen.idl:68
@ MT_POINT
Definition: GEOM_Gen.idl:67
@ MT_NONE
Definition: GEOM_Gen.idl:67
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:279
sequence< boolean > ListOfBool
Definition: GEOM_Gen.idl:278
sequence< CreationInformation > CreationInformationSeq
Definition: GEOM_Gen.idl:263
sequence< string > string_array
Definition: GEOM_Gen.idl:276
sequence< short > short_array
Definition: GEOM_Gen.idl:277
sequence< Parameter > Parameters
Definition: GEOM_Gen.idl:256
find_shape_method
Kind of method to find inside one main shape some sub-shapes, corresponding to other given shape (its...
Definition: GEOM_Gen.idl:122
@ FSM_GetInPlace_Old
Definition: GEOM_Gen.idl:146
@ FSM_Transformed
Definition: GEOM_Gen.idl:129
@ FSM_GetInPlaceByHistory
Definition: GEOM_Gen.idl:138
@ FSM_GetSame
Definition: GEOM_Gen.idl:132
@ FSM_GetInPlace
Definition: GEOM_Gen.idl:124
@ FSM_GetShapesOnShape
Definition: GEOM_Gen.idl:135
@ FSM_MultiTransformed
Definition: GEOM_Gen.idl:143
comparison_condition
This enumeration represents comparison conditions.
Definition: GEOM_Gen.idl:216
@ CC_LT
Less then.
Definition: GEOM_Gen.idl:219
@ CC_LE
Less then or equal to.
Definition: GEOM_Gen.idl:220
@ CC_GT
Greater then.
Definition: GEOM_Gen.idl:217
@ CC_GE
Greater then or equal to.
Definition: GEOM_Gen.idl:218
field_data_type
Type of field data.
Definition: GEOM_Gen.idl:191
@ FDT_String
Definition: GEOM_Gen.idl:195
@ FDT_Double
Definition: GEOM_Gen.idl:194
@ FDT_Bool
Definition: GEOM_Gen.idl:192
@ FDT_Int
Definition: GEOM_Gen.idl:193
si_check_level
This enumeration represents the level of checking shape on self-interference.
Definition: GEOM_Gen.idl:203
@ SI_ALL
Definition: GEOM_Gen.idl:209
@ SI_V_E
Definition: GEOM_Gen.idl:205
@ SI_V_V
Definition: GEOM_Gen.idl:204
@ SI_E_E
Definition: GEOM_Gen.idl:206
@ SI_E_F
Definition: GEOM_Gen.idl:208
@ SI_V_F
Definition: GEOM_Gen.idl:207
sequence< ListOfDouble > ListOfListOfDouble
Definition: GEOM_Gen.idl:281
marker_size
Definition: GEOM_Gen.idl:73
@ MS_30
Definition: GEOM_Gen.idl:73
@ MS_70
Definition: GEOM_Gen.idl:74
@ MS_25
Definition: GEOM_Gen.idl:73
@ MS_50
Definition: GEOM_Gen.idl:74
@ MS_35
Definition: GEOM_Gen.idl:73
@ MS_55
Definition: GEOM_Gen.idl:74
@ MS_NONE
Definition: GEOM_Gen.idl:73
@ MS_45
Definition: GEOM_Gen.idl:74
@ MS_40
Definition: GEOM_Gen.idl:74
@ MS_60
Definition: GEOM_Gen.idl:74
@ MS_20
Definition: GEOM_Gen.idl:73
@ MS_10
Definition: GEOM_Gen.idl:73
@ MS_65
Definition: GEOM_Gen.idl:74
@ MS_15
Definition: GEOM_Gen.idl:73
shape_type
Topological types of shapes (like Open Cascade types)
Definition: GEOM_Gen.idl:41
@ FLAT
Definition: GEOM_Gen.idl:61
@ COMPSOLID
Definition: GEOM_Gen.idl:45
@ SOLID
Definition: GEOM_Gen.idl:47
@ WIRE
Definition: GEOM_Gen.idl:53
@ SHAPE
Definition: GEOM_Gen.idl:59
@ VERTEX
Definition: GEOM_Gen.idl:57
@ FACE
Definition: GEOM_Gen.idl:51
@ COMPOUND
Definition: GEOM_Gen.idl:43
@ EDGE
Definition: GEOM_Gen.idl:55
@ SHELL
Definition: GEOM_Gen.idl:49
sequence< GEOM_Field > ListOfFields
Definition: GEOM_Gen.idl:292
sequence< GEOM_BaseObject > ListOfGBO
Definition: GEOM_Gen.idl:291
curve_type
Kind of the curves.
Definition: GEOM_Gen.idl:177
@ Bezier
Definition: GEOM_Gen.idl:182
@ Polyline
Definition: GEOM_Gen.idl:179
@ Interpolation
Definition: GEOM_Gen.idl:185
sequence< double > ListOfDouble
Definition: GEOM_Gen.idl:280
sequence< ModifInfo > ModifStatistics
Definition: GEOM_Gen.idl:273
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:288
sequence< SALOMEDS::SObject > object_list
Definition: GEOM_Gen.idl:293
shape_state
State of shape relatively geometrical surface like plane, sphere or cylinder.
Definition: GEOM_Gen.idl:82
@ ST_ONIN
Definition: GEOM_Gen.idl:111
@ ST_OUT
Definition: GEOM_Gen.idl:91
@ ST_ON
Definition: GEOM_Gen.idl:84
@ ST_ONOUT
Definition: GEOM_Gen.idl:97
@ ST_IN
Definition: GEOM_Gen.idl:105
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:282
wire_build_mode
Wire construction mode. Regulates the way gaps are closed.
Definition: GEOM_Gen.idl:229
@ WBM_FixTolerance
Definition: GEOM_Gen.idl:231
@ WBM_Approximation
Definition: GEOM_Gen.idl:237
@ WBM_KeepCurveType
Definition: GEOM_Gen.idl:243
filling_oper_method
Kind of method to perform filling operation.
Definition: GEOM_Gen.idl:155
@ FOM_UseOri
Definition: GEOM_Gen.idl:163
@ FOM_AutoCorrect
Definition: GEOM_Gen.idl:168
@ FOM_Default
Definition: GEOM_Gen.idl:157
Definition: GEOM_Gen.idl:259
string operationName
Definition: GEOM_Gen.idl:260
Parameters params
Definition: GEOM_Gen.idl:261
Description of Blocks Compound defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:3116
BCErrorType error
Definition: GEOM_Gen.idl:3117
ListOfLong incriminated
Definition: GEOM_Gen.idl:3118
Non-topological information transfer datum.
Definition: GEOM_Gen.idl:4454
string myName
Definition: GEOM_Gen.idl:4455
long myMaxNumber
Definition: GEOM_Gen.idl:4457
long myNumber
Definition: GEOM_Gen.idl:4456
Structure for store result of check store type of check as number and failed shapes.
Definition: GEOM_Gen.idl:5062
long type
Definition: GEOM_Gen.idl:5063
PairOfShape failedShapes
Definition: GEOM_Gen.idl:5064
Methods and structure for implement CheckConformity tool.
Definition: GEOM_Gen.idl:5052
GEOM_Object second
Definition: GEOM_Gen.idl:5054
GEOM_Object first
Definition: GEOM_Gen.idl:5053
Description of a shape defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:4762
ListOfLong incriminated
Definition: GEOM_Gen.idl:4764
ShapeErrorType error
Definition: GEOM_Gen.idl:4763
ExtractionStatType type
Type of extraction statistics.
Definition: GEOM_Gen.idl:2872
ListOfLong indices
Shape indices touched by this type of modification.
Definition: GEOM_Gen.idl:2873
Reporting on shape healing.
Definition: GEOM_Gen.idl:269
long count
Definition: GEOM_Gen.idl:271
string name
Definition: GEOM_Gen.idl:270
Object creation parameters.
Definition: GEOM_Gen.idl:252
string name
Definition: GEOM_Gen.idl:253
string value
Definition: GEOM_Gen.idl:254