Version: 9.13.0
GEOM_Gen.idl
Go to the documentation of this file.
1 // Copyright (C) 2007-2024 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 
490  marker_type GetMarkerType();
491 
496  marker_size GetMarkerSize();
497 
502  long GetMarkerTexture();
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 
1354  GEOM_Object ProjectShapeCopy (in GEOM_Object theSource, in GEOM_Object theTarget);
1355 
1368  double ProjectPointOnWire (in GEOM_Object thePoint,
1369  in GEOM_Object theWire,
1370  out GEOM_Object thePointOnEdge,
1371  out long theEdgeInWireIndex);
1372 
1380  GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
1381  in double theFactor);
1382 
1391  in double theFactor);
1392 
1401  in GEOM_Object thePoint,
1402  in double theFactorX,
1403  in double theFactorY,
1404  in double theFactorZ);
1405 
1415  in GEOM_Object thePoint,
1416  in double theFactorX,
1417  in double theFactorY,
1418  in double theFactorZ);
1419 
1432  in GEOM_Object theStartLCS,
1433  in GEOM_Object theEndLCS);
1434 
1448  in GEOM_Object theStartLCS,
1449  in GEOM_Object theEndLCS);
1450 
1462  in GEOM_Object thePath,
1463  in double theDistance,
1464  in boolean theCopy,
1465  in boolean theReverse);
1466 
1473 
1498  in double theRadius,
1499  in double theStartAngle,
1500  in double theAngleLength,
1501  in double theAngleRotation);
1502  };
1503 
1511  {
1522  GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ);
1523 
1532 
1543  GEOM_Object MakeFaceHW (in double theH, in double theW, in short theOrientation);
1552  GEOM_Object MakeFaceObjHW (in GEOM_Object theObj, in double theH, in double theW);
1561  in GEOM_Object theVec,
1562  in double theR);
1569  in GEOM_Object thePnt2,
1570  in GEOM_Object thePnt3);
1571 
1580  GEOM_Object MakeDiskR (in double theR, in short theOrientation);
1581 
1591  GEOM_Object MakeCylinderRH (in double theR, in double theH);
1592 
1603  GEOM_Object MakeCylinderRHA (in double theR, in double theH, in double theA);
1604 
1614  in GEOM_Object theAxis,
1615  in double theR,
1616  in double theH);
1627  in GEOM_Object theAxis,
1628  in double theR,
1629  in double theH,
1630  in double theA);
1631 
1644  GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH);
1645 
1658  in GEOM_Object theAxis,
1659  in double theR1,
1660  in double theR2,
1661  in double theH);
1662 
1669  GEOM_Object MakeTorusRR (in double theRMajor,
1670  in double theRMinor);
1671 
1681  in GEOM_Object theVec,
1682  in double theRMajor,
1683  in double theRMinor);
1684 
1690  GEOM_Object MakeSphereR (in double theR);
1691 
1698  GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR);
1699 
1711  in GEOM_Object theVec,
1712  in double theH);
1713  /* \brief The Same Prism but in 2 directions (forward&backward) */
1715  in GEOM_Object theVec,
1716  in double theH);
1717  /* \brief The Same as MakePrismVecH but with scaling */
1719  in GEOM_Object theVec,
1720  in double theH,
1721  in double theScaleFactor);
1722 
1731  in GEOM_Object thePoint1,
1732  in GEOM_Object thePoint2);
1733  /* \brief The same prism but in two directions forward&backward */
1735  in GEOM_Object thePoint1,
1736  in GEOM_Object thePoint2);
1737  /* \brief The Same as MakePrismTwoPnt but with scaling */
1739  in GEOM_Object thePoint1,
1740  in GEOM_Object thePoint2,
1741  in double theScaleFactor);
1742 
1750  in double theDX, in double theDY, in double theDZ);
1751  /* \brief The same prism but in two directions forward&backward */
1753  in double theDX, in double theDY, in double theDZ);
1754  /* \brief The Same as MakePrismDXDYDZ but with scaling */
1756  in double theDX, in double theDY, in double theDZ,
1757  in double theScaleFactor);
1758 
1759 
1772  in GEOM_Object theBase,
1773  in double theHeight,
1774  in double theAngle,
1775  in boolean theFuse,
1776  in boolean theInvert);
1777 
1791  in GEOM_Object thePath,
1792  in boolean IsGenerateGroups);
1793 
1806  in GEOM_Object theAxis,
1807  in double theAngle);
1808  /* The Same Revolution but in both ways forward&backward */
1810  in GEOM_Object theAxis,
1811  in double theAngle);
1812 
1826  in long theMinDeg, in long theMaxDeg,
1827  in double theTol2D, in double theTol3D,
1828  in long theNbIter,
1829  in filling_oper_method theMethod,
1830  in boolean theApprox);
1831 
1841  in boolean theModeSolid,
1842  in double thePreci,
1843  in boolean theRuled);
1844 
1872  in ListOfGO theLocations,
1873  in GEOM_Object thePath,
1874  in boolean theWithContact ,
1875  in boolean theWithCorrection,
1876  in boolean IsBySteps,
1877  in boolean IsGenerateGroups);
1878 
1903  in ListOfGO theSeqSubBases,
1904  in ListOfGO theLocations,
1905  in GEOM_Object thePath,
1906  in boolean theWithContact,
1907  in boolean theWithCorrection,
1908  in boolean IsGenerateGroups);
1909 
1922  in ListOfGO theLocations,
1923  in boolean IsGenerateGroups);
1924 
1943  in GEOM_Object thePath,
1944  in GEOM_Object theVec,
1945  in boolean IsGenerateGroups);
1946 
1947 
1965  in ListOfLong theFacesIDs,
1966  in double theThickness,
1967  in boolean isCopy,
1968  in boolean isInside);
1969 
1970 
1989  in GEOM_Object theBase1,
1990  in GEOM_Object theBase2);
1991 
2010  in ListOfGO theBase1,
2011  in ListOfGO theBase2);
2012  };
2013 
2021  {
2028  GEOM_Object MakeEdge (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
2029 
2041  in double theLength,
2042  in GEOM_Object theStartPoint);
2043 
2052  in double theLinearTolerance,
2053  in double theAngularTolerance);
2054 
2063  GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
2064  in double theTolerance,
2065  in wire_build_mode theMode);
2066 
2074  GEOM_Object MakeFace (in GEOM_Object theWire, in boolean isPlanarWanted);
2075 
2083  GEOM_Object MakeFaceWires (in ListOfGO theWires, in boolean isPlanarWanted);
2084 
2092  in GEOM_Object theWire);
2093 
2102  in ListOfGO theVertices,
2103  in double theTolerance);
2104 
2114 
2120  GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
2121 
2128 
2135 
2142 
2150  GEOM_Object MakeSolidFromConnectedFaces (in ListOfGO theFacesOrShells, in boolean isIntersect);
2151 
2159  GEOM_Object MakeGlueFaces (in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids);
2160 
2167  ListOfGO GetGlueFaces (in ListOfGO theShapes, in double theTolerance);
2168 
2181  GEOM_Object MakeGlueFacesByList (in ListOfGO theShapes, in double theTolerance,
2182  in ListOfGO theFaces, in boolean doKeepNonSolids,
2183  in boolean doGlueAllEdges);
2184 
2191  GEOM_Object MakeGlueEdges (in ListOfGO theShapes, in double theTolerance);
2192 
2199  ListOfGO GetGlueEdges (in ListOfGO theShapes, in double theTolerance);
2200 
2210  in double theTolerance,
2211  in ListOfGO theEdges);
2212 
2222  in boolean theGroupsOnly);
2223 
2230  in long theShapeType,
2231  in boolean isSorted);
2232 
2244  in long theShapeType,
2245  in boolean isSorted);
2246 
2257  in long theShapeType,
2258  in boolean isSorted);
2259 
2264  in long theShapeType,
2265  in boolean isSorted);
2266 
2279  in long theShapeType,
2280  in boolean isSorted);
2281 
2291  in long theID);
2292 
2302  in ListOfLong theIndices);
2303 
2310  long GetSubShapeIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2311 
2318  ListOfLong GetSubShapesIndices (in GEOM_Object theMainShape, in ListOfGO theSubShapes);
2319 
2329  long GetTopologyIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2330 
2340  string GetShapeTypeString (in GEOM_Object theShape);
2341 
2355  boolean IsSubShapeBelongsTo( in GEOM_Object theSubObject,
2356  in long theSubObjectIndex,
2357  in GEOM_Object theObject,
2358  in long theObjectIndex);
2364  long NumberOfFaces (in GEOM_Object theShape);
2365 
2371  long NumberOfEdges (in GEOM_Object theShape);
2372 
2379  long NumberOfSubShapes (in GEOM_Object theShape,
2380  in long theShapeType);
2381 
2388 
2397 
2406  in GEOM_Object theShape2,
2407  in long theShapeType);
2408 
2423  in long theShapeType,
2424  in boolean theMultiShare);
2425 
2437  in long theShapeType,
2438  in GEOM_Object theAx1,
2439  in shape_state theState);
2452  in long theShapeType,
2453  in GEOM_Object theAx1,
2454  in GEOM_Object thePnt,
2455  in shape_state theState);
2456 
2457 
2458 
2471  in long theShapeType,
2472  in GEOM_Object theAxis,
2473  in double theRadius,
2474  in shape_state theState);
2475 
2489  in long theShapeType,
2490  in GEOM_Object theAxis,
2491  in GEOM_Object thePnt,
2492  in double theRadius,
2493  in shape_state theState);
2494 
2506  in long theShapeType,
2507  in GEOM_Object theCenter,
2508  in double theRadius,
2509  in shape_state theState);
2510 
2524  in long theShapeType,
2525  in GEOM_Object theTopLeftPoint,
2526  in GEOM_Object theTopRightPoint,
2527  in GEOM_Object theBottomLeftPoint,
2528  in GEOM_Object theBottomRightPoint,
2529  in shape_state theState);
2530 
2542  in long theShapeType,
2543  in GEOM_Object theAx1,
2544  in shape_state theState);
2545 
2558  in long theShapeType,
2559  in GEOM_Object theAx1,
2560  in GEOM_Object thePnt,
2561  in shape_state theState);
2562 
2575  in long theShapeType,
2576  in GEOM_Object theAxis,
2577  in double theRadius,
2578  in shape_state theState);
2579 
2593  in long theShapeType,
2594  in GEOM_Object theAxis,
2595  in GEOM_Object thePnt,
2596  in double theRadius,
2597  in shape_state theState);
2598 
2610  in long theShapeType,
2611  in GEOM_Object theCenter,
2612  in double theRadius,
2613  in shape_state theState);
2614 
2628  in long theShapeType,
2629  in GEOM_Object theTopLeftPoint,
2630  in GEOM_Object theTopRightPoint,
2631  in GEOM_Object theBottomLeftPoint,
2632  in GEOM_Object theBottomRightPoint,
2633  in shape_state theState);
2634 
2644  in GEOM_Object theShape,
2645  in long theShapeType,
2646  in shape_state theState);
2647 
2657  in GEOM_Object theShape,
2658  in long theShapeType,
2659  in shape_state theState);
2660 
2670  in GEOM_Object theShape,
2671  in short theShapeType,
2672  in shape_state theState);
2673 
2683  in GEOM_Object theShape,
2684  in short theShapeType,
2685  in shape_state theState);
2686 
2696  in GEOM_Object theShape,
2697  in short theShapeType,
2698  in shape_state theState);
2699 
2709  in GEOM_Object theShapeWhat);
2710 
2715  in GEOM_Object theShapeWhat);
2716 
2733  in GEOM_Object theShapeWhat);
2734 
2745  in GEOM_Object theShapeWhat);
2746 
2754  GEOM_Object GetSame (in GEOM_Object theShapeWhere,
2755  in GEOM_Object theShapeWhat);
2756 
2764  ListOfLong GetSameIDs (in GEOM_Object theShapeWhere,
2765  in GEOM_Object theShapeWhat);
2766 
2779  in double theMin,
2780  in double theMax);
2781 
2798  in double theUMin,
2799  in double theUMax,
2800  in double theVMin,
2801  in double theVMax);
2802 
2813 
2821  in GEOM_Object theStartPoint);
2822 
2839  in short theShapeType,
2840  in comparison_condition theCondition,
2841  in double theTolerance);
2842 
2848  {
2851  EST_Added
2852  };
2853 
2859  {
2862  };
2863 
2864  typedef sequence<ExtractionStat> ExtractionStats;
2865 
2877  in ListOfLong theSubShapeIDs,
2878  out ExtractionStats theStats);
2879 
2880  };
2881 
2882  // # GEOM_IBlocksOperations:
2889  {
2890 
2891  // # Creation of blocks
2892 
2900  in GEOM_Object theEdge2,
2901  in GEOM_Object theEdge3,
2902  in GEOM_Object theEdge4);
2903 
2912  in GEOM_Object theEdge2);
2913 
2922  in GEOM_Object thePnt2,
2923  in GEOM_Object thePnt3,
2924  in GEOM_Object thePnt4);
2925 
2935  in GEOM_Object theFace2,
2936  in GEOM_Object theFace3,
2937  in GEOM_Object theFace4,
2938  in GEOM_Object theFace5,
2939  in GEOM_Object theFace6);
2940 
2949  in GEOM_Object theFace2);
2950 
2951 
2952  // # Extract elements of blocks and blocks compounds
2953 
2954 
2964  in double theX,
2965  in double theY,
2966  in double theZ,
2967  in double theEpsilon);
2968 
2976  in GEOM_Object thePoint);
2977 
2985  in GEOM_Object thePoint1,
2986  in GEOM_Object thePoint2);
2987 
2995  in GEOM_Object thePoint);
2996 
3004  in GEOM_Object thePoint1,
3005  in GEOM_Object thePoint2,
3006  in GEOM_Object thePoint3,
3007  in GEOM_Object thePoint4);
3008 
3016  in GEOM_Object theEdge1,
3017  in GEOM_Object theEdge2);
3018 
3026  in GEOM_Object theFace);
3027 
3035  in GEOM_Object thePoint);
3036 
3044  in GEOM_Object theVector);
3045 
3058  in GEOM_Object thePoint,
3059  in long theShapeType,
3060  in double theTolerance);
3061 
3062  // # Extract blocks from blocks compounds
3063 
3064 
3074  boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
3075  in long theMinNbFaces,
3076  in long theMaxNbFaces,
3077  out long theNbBlocks);
3078 
3083  {
3084  /* Each element of the compound should be a Block */
3086 
3087  /* An element is a potential block, but has degenerated and/or seam edge(s). */
3089 
3090  /* A connection between two Blocks should be an entire face or an entire edge */
3092 
3093  /* The compound should be connexe */
3095 
3096  /* The glue between two quadrangle faces should be applied */
3097  NOT_GLUED
3098  };
3099 
3103  struct BCError
3104  {
3107  };
3108 
3112  typedef sequence<BCError> BCErrors;
3113 
3131  boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
3132  in double theToleranceC1,
3133  out BCErrors theErrors);
3134 
3142  string PrintBCErrors (in GEOM_Object theCompound,
3143  in BCErrors theErrors);
3144 
3158  in double theToleranceC1,
3159  out GEOM_Object theNonQuads);
3160 
3173  in long theOptimumNbFaces);
3174 
3183 
3193 
3204  in long theMinNbFaces,
3205  in long theMaxNbFaces);
3206 
3215  in GEOM_Object thePoint);
3216 
3224  in ListOfGO theParts);
3225 
3233  in ListOfGO theParts);
3234 
3235  // # Operations on blocks with gluing of result
3236 
3250  in long theDirFace1,
3251  in long theDirFace2,
3252  in long theNbTimes);
3253 
3263  in long theDirFace1U,
3264  in long theDirFace2U,
3265  in long theNbTimesU,
3266  in long theDirFace1V,
3267  in long theDirFace2V,
3268  in long theNbTimesV);
3269 
3270  // # Special operation - propagation
3271 
3272 
3283  };
3284 
3285  // # GEOM_IBooleanOperations
3290  {
3302  in GEOM_Object theShape2,
3303  in long theOperation,
3304  in boolean IsCheckSelfInte);
3316  in GEOM_Object theShape2,
3317  in boolean IsCheckSelfInte,
3318  in boolean IsRmExtraEdges);
3319 
3330  in boolean IsCheckSelfInte,
3331  in boolean IsRmExtraEdges);
3332 
3341  in boolean IsCheckSelfInte);
3342 
3352  in ListOfGO theShapes,
3353  in boolean IsCheckSelfInte);
3354 
3382  in ListOfGO theTools,
3383  in ListOfGO theKeepInside,
3384  in ListOfGO theRemoveInside,
3385  in short theLimit,
3386  in boolean theRemoveWebs,
3387  in ListOfLong theMaterials,
3388  in short theKeepNonlimitShapes);
3389 
3408  in ListOfGO theTools,
3409  in ListOfGO theKeepInside,
3410  in ListOfGO theRemoveInside,
3411  in short theLimit,
3412  in boolean theRemoveWebs,
3413  in ListOfLong theMaterials,
3414  in short theKeepNonlimitShapes,
3415  in boolean IsCheckSelfInte);
3416 
3435  in GEOM_Object thePlane);
3436 
3464  in GEOM_Object theShape2,
3465  in long theOperation,
3466  in boolean IsCheckSelfInte,
3467  in double theFuzzyParam);
3481  in GEOM_Object theShape2,
3482  in boolean IsCheckSelfInte,
3483  in boolean IsRmExtraEdges,
3484  in double theFuzzyParam);
3485 
3498  in boolean IsCheckSelfInte,
3499  in boolean IsRmExtraEdges,
3500  in double theFuzzyParam);
3501 
3512  in boolean IsCheckSelfInte,
3513  in double theFuzzyParam);
3514 
3526  in ListOfGO theShapes,
3527  in boolean IsCheckSelfInte,
3528  in double theFuzzyParam);
3529 
3559  in ListOfGO theTools,
3560  in ListOfGO theKeepInside,
3561  in ListOfGO theRemoveInside,
3562  in short theLimit,
3563  in boolean theRemoveWebs,
3564  in ListOfLong theMaterials,
3565  in short theKeepNonlimitShapes,
3566  in double theFuzzyParam);
3567 
3588  in ListOfGO theTools,
3589  in ListOfGO theKeepInside,
3590  in ListOfGO theRemoveInside,
3591  in short theLimit,
3592  in boolean theRemoveWebs,
3593  in ListOfLong theMaterials,
3594  in short theKeepNonlimitShapes,
3595  in boolean IsCheckSelfInte,
3596  in double theFuzzyParam);
3597 
3618  in GEOM_Object thePlane,
3619  in double theFuzzyParam);
3620  };
3621 
3622  // # GEOM_ICurvesOperations:
3629  {
3638  in GEOM_Object theVec,
3639  in double theR);
3646  in GEOM_Object thePnt2,
3647  in GEOM_Object thePnt3);
3655  in GEOM_Object thePnt2,
3656  in GEOM_Object thePnt3);
3666  in GEOM_Object theVec,
3667  in double theRMajor,
3668  in double theRMinor);
3669 
3680  in GEOM_Object theVec,
3681  in double theRMajor,
3682  in double theRMinor,
3683  in GEOM_Object theVecMaj);
3684 
3693  in GEOM_Object thePnt2,
3694  in GEOM_Object thePnt3);
3695 
3705  in GEOM_Object thePnt1,
3706  in GEOM_Object thePnt2,
3707  in boolean theSense);
3708 
3718  in GEOM_Object thePnt1,
3719  in GEOM_Object thePnt2);
3720 
3721 
3729  in boolean theIsClosed);
3730 
3738  in boolean theIsClosed);
3739 
3749  in boolean theIsClosed,
3750  in boolean theDoReordering);
3751 
3760  in GEOM_Object theFirstVec,
3761  in GEOM_Object theLastVec);
3762 
3774  GEOM_Object MakeCurveParametric(in string thexExpr,
3775  in string theyExpr,
3776  in string thezExpr,
3777  in double theParamMin,
3778  in double theParamMax,
3779  in double theParamStep,
3780  in curve_type theCurveType);
3781 
3794  in string theyExpr,
3795  in string thezExpr,
3796  in double theParamMin,
3797  in double theParamMax,
3798  in long theParamNbStep,
3799  in curve_type theCurveType);
3800 
3812  in boolean IsUIsoline,
3813  in double theParameter);
3814 
3850  GEOM_Object MakeSketcher (in string theCommand, in ListOfDouble theWorkingPlane);
3851 
3863  GEOM_Object MakeSketcherOnPlane (in string theCommand, in GEOM_Object theWorkingPlane);
3864 
3889  GEOM_Object Make3DSketcherCommand (in string theCommand);
3890 
3902 
3931  in string_array theNamesList,
3932  in short_array theTypesList,
3933  in ListOfBool theClosedList,
3934  in ListOfDouble theWorkingPlane);
3935 
3963  in string_array theNamesList,
3964  in short_array theTypesList,
3965  in ListOfBool theClosedList,
3966  in GEOM_Object theWorkingPlane);
3967 
3968  };
3969 
3970  // # GEOM_ILocalOperations:
3975  {
3983  in double theR);
3984 
3995  in double theR,
3996  in ListOfLong theEdges);
3998  in double theR1,
3999  in double theR2,
4000  in ListOfLong theEdges);
4001 
4012  in double theR,
4013  in ListOfLong theFaces);
4014 
4016  in double theR1,
4017  in double theR2,
4018  in ListOfLong theFaces);
4019 
4030  in double theR,
4031  in ListOfLong theVertexes);
4032 
4051  in double theR,
4052  in ListOfLong theVertexes,
4053  in boolean doIgnoreSecantVertices);
4054 
4062  in double theD);
4063 
4076  in double theD1, in double theD2,
4077  in long theFace1, in long theFace2);
4083  in double theD, in double theAngle,
4084  in long theFace1, in long theFace2);
4085 
4100  in double theD1, in double theD2,
4101  in ListOfLong theFaces);
4107  in double theD, in double theAngle,
4108  in ListOfLong theFaces);
4109 
4119  in double theD1, in double theD2,
4120  in ListOfLong theEdges);
4126  in double theD, in double theAngle,
4127  in ListOfLong theEdges);
4128 
4140  in double theWeight,
4141  in double theWaterDensity,
4142  in double theMeshDeflection);
4143 
4149  long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape);
4150  };
4151 
4152  // # GEOM_IHealingOperations:
4159  {
4171  in string_array theOperators,
4172  in string_array theParameters,
4173  in string_array theValues);
4174 
4186  void GetShapeProcessParameters (out string_array theOperators,
4187  out string_array theParameters,
4188  out string_array theValues);
4199  void GetOperatorParameters (in string theOperator,
4200  out string_array theParameters,
4201  out string_array theValues);
4202 
4210  GEOM_Object SuppressFaces (in GEOM_Object theObject, in short_array theFaces);
4211 
4221  GEOM_Object CloseContour (in GEOM_Object theObject, in short_array theWires,
4222  in boolean isCommonVertex);
4223 
4231  GEOM_Object RemoveIntWires (in GEOM_Object theObject, in short_array theWires);
4232 
4240  GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires);
4241 
4248  GEOM_Object Sew (in ListOfGO theObjects, in double theTolerance);
4249 
4256  GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance);
4257 
4265 
4277  GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex,
4278  in double theValue, in boolean isByParameter);
4279 
4290  in short theEdgeIndex,
4291  in ListOfGO thePoints);
4292 
4301  in ListOfGO theVertices);
4302 
4311  boolean GetFreeBoundary (in ListOfGO theObjects,
4312  out ListOfGO theClosedWires,
4313  out ListOfGO theOpenWires);
4314 
4322 
4329  GEOM_Object LimitTolerance (in GEOM_Object theObject, in double theTolerance);
4330 
4339  void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args);
4340 
4341 
4347  };
4348 
4349  // # GEOM_IInsertOperations:
4355  {
4360 
4370  void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName);
4371 
4385  ListOfGBO ImportFile (in string theFileName, in string theFormatName);
4386 
4397  string ReadValue (in string theFileName, in string theFormatName, in string theParameterName);
4398 
4405  GEOM_Object RestoreShape (in SALOMEDS::TMPFile theStream);
4406 
4412  long LoadTexture(in string theTextureFile);
4413 
4421  long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture);
4422 
4430  SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight);
4431 
4437 
4442  {
4443  string myName;
4444  long myNumber;
4446  };
4447 
4451  typedef sequence<TransferDatum> ListOfTransferDatum;
4452 
4467  boolean TransferData(in GEOM_Object theObjectFrom,
4468  in GEOM_Object theObjectTo,
4469  in find_shape_method theFindMethod,
4470  out ListOfTransferDatum theResult);
4471 
4472  };
4473 
4474  // # GEOM_IKindOfShape:
4479  {
4480  enum shape_kind {
4482  //COMPOSITEs
4487  // SOLIDs
4504  // FACEs
4525  // EDGEs
4548  // VERTEX
4550  // ADVANCED shapes
4553  ADVANCED
4554  };
4555  };
4556 
4557  // # GEOM_IMeasureOperations:
4564  {
4575  //short KindOfShape (in GEOM_Object theShape,
4577  out ListOfLong theIntegers,
4578  out ListOfDouble theDoubles);
4579 
4591  void GetPosition (in GEOM_Object theShape,
4592  out double Ox, out double Oy, out double Oz,
4593  out double Zx, out double Zy, out double Zz,
4594  out double Xx, out double Xy, out double Xz);
4595 
4606  void GetBasicProperties (in GEOM_Object theShape,
4607  in double theTolerance,
4608  out double theLength,
4609  out double theSurfArea,
4610  out double theVolume);
4611 
4618 
4619  /*
4620  * Get the vertex by index for 1D objects
4621  * \param theShape Shape (wire or edge) to find the vertex on it
4622  * \param theIndex Index of vertex sub-shape
4623  * \param theUseOri To consider edge/wire orientation or not
4624  * \return New GEOM_Object, vertex.
4625  */
4626  GEOM_Object GetVertexByIndex( in GEOM_Object theShape, in long theIndex, in boolean theUseOri );
4627 
4637  in GEOM_Object theOptionalPoint);
4638 
4646  void GetInertia (in GEOM_Object theShape,
4647  out double I11, out double I12, out double I13,
4648  out double I21, out double I22, out double I23,
4649  out double I31, out double I32, out double I33,
4650  out double Ix , out double Iy , out double Iz);
4651 
4661  void GetBoundingBox (in GEOM_Object theShape,
4662  in boolean precise,
4663  out double Xmin, out double Xmax,
4664  out double Ymin, out double Ymax,
4665  out double Zmin, out double Zmax);
4666 
4674  in boolean precise);
4675 
4684  void GetTolerance (in GEOM_Object theShape,
4685  out double FaceMin, out double FaceMax,
4686  out double EdgeMin, out double EdgeMax,
4687  out double VertMin, out double VertMax);
4688 
4693  {
4694  /* for vertices */
4698 
4699  /* for edges */
4709 
4713 
4714  /* for wires */
4717  SelfIntersectingWire, /* on a face */
4718 
4719  /* for faces */
4725 
4726  /* for shells */
4729 
4730  /* for shapes */
4734 
4736 
4739 
4741 
4742  /* for exception */
4743  CheckFail
4744  };
4745 
4749  struct ShapeError
4750  {
4753  };
4754 
4758  typedef sequence<ShapeError> ShapeErrors;
4759 
4766  boolean CheckShape (in GEOM_Object theShape,
4767  out ShapeErrors theErrors);
4768 
4775  boolean CheckShapeWithGeometry (in GEOM_Object theShape,
4776  out ShapeErrors theErrors);
4777 
4785  string PrintShapeErrors (in GEOM_Object theShape,
4786  in ShapeErrors theErrors);
4787 
4795  boolean CheckSelfIntersections (in GEOM_Object theShape,
4796  in long theCheckLevel,
4797  out ListOfLong theIntersections);
4798 
4810  in float theDeflection,
4811  in double theTolerance,
4812  out ListOfLong theIntersections);
4813 
4820  boolean CheckBOPArguments (in GEOM_Object theShape);
4821 
4835  boolean FastIntersect (in GEOM_Object theShape1,
4836  in GEOM_Object theShape2,
4837  in double theTolerance,
4838  in float theDeflection,
4839  out ListOfLong theIntersections1,
4840  out ListOfLong theIntersections2);
4841 
4847  string IsGoodForSolid (in GEOM_Object theShape);
4848 
4854  string WhatIs (in GEOM_Object theShape);
4855 
4864  ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance);
4865 
4873  double GetMinDistance (in GEOM_Object theShape1, in GEOM_Object theShape2,
4874  out double X1, out double Y1, out double Z1,
4875  out double X2, out double Y2, out double Z2);
4876 
4883  long ClosestPoints (in GEOM_Object theShape1,
4884  in GEOM_Object theShape2,
4885  out ListOfDouble theCoords);
4886 
4892  double GetAngle (in GEOM_Object theShape1, in GEOM_Object theShape2);
4893 
4899  double GetAngleBtwVectors (in GEOM_Object theShape1, in GEOM_Object theShape2);
4900 
4910 
4914  void PointCoordinates (in GEOM_Object theShape, out double X, out double Y, out double Z);
4915 
4922  double CurveCurvatureByParam (in GEOM_Object theShape, in double theParam);
4923 
4930  double CurveCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4931 
4939  double MaxSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4940  in double theVParam);
4941 
4948  double MaxSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4949 
4957  double MinSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4958  in double theVParam);
4959 
4966  double MinSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4967 
4983  in GEOM_Object thePoint,
4984  in GEOM_Object theDirection);
4985 
4997  in ListOfDouble theXYZlist,
4998  in boolean theIsNormalized);
4999 
5011  in ListOfDouble theUVlist,
5012  in boolean theIsNormalized);
5013 
5015 
5021  {
5024  };
5025 
5031  {
5032  long type;
5034  };
5035 
5036  typedef sequence<PairOfShape> SequenceOfPairOfShape;
5037  typedef sequence<CheckResult> CheckResults;
5038 
5045 
5052 
5068  in long theShapeType1,
5069  in long theShapeType2);
5070 
5077 
5091  in long theShapeType,
5092  in long theSubShapeType,
5093  in double theTolerance);
5094 
5101  double UpdateTolerance(in GEOM_Object theShape);
5102 
5109 
5116  void SetShapeSampling(in GEOM_Object theCalculator,
5117  in GEOM_Object theShape,
5118  in long theNbSamples);
5119 
5125  double GetCoarseProximity(in GEOM_Object theCalculator);
5126 
5132  double GetPreciseProximity(in GEOM_Object theCalculator);
5133 
5134  };
5135 
5136  // # GEOM_IGroupOperations:
5141  {
5148  GEOM_Object CreateGroup (in GEOM_Object theMainShape, in long theShapeType);
5149 
5156  void AddObject (in GEOM_Object theGroup, in long theSubShapeId);
5157 
5164  void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
5165 
5171  void UnionList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5172 
5178  void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5179 
5185  void UnionIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5186 
5192  void DifferenceIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5193 
5202  GEOM_Object UnionGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5203 
5211  GEOM_Object IntersectGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5212 
5221  GEOM_Object CutGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5222 
5231 
5240 
5251  in ListOfGO theGList2);
5252 
5257  long GetType (in GEOM_Object theGroup);
5258 
5265 
5271  };
5272 
5273  // # GEOM_IFieldOperations:
5278  {
5283  in string name,
5284  in field_data_type type,
5285  in short dimension,
5286  in string_array componentNames);
5290  long CountFields(in GEOM_Object shape);
5291 
5296 
5300  GEOM_Field GetField(in GEOM_Object shape, in string name);
5301 
5305  long GetNbSubShapes(in GEOM_Object shape, in short fieldDim);
5306  };
5307 
5308  // # GEOM_ITestOperations:
5313  {
5322  boolean Tesselate(in GEOM_Object shape, in double linearDeflection,
5323  in boolean isRelative, in double angularDeflection);
5324  };
5325 
5326  // # GEOM_ICanonicalRecognition:
5331  {
5335  boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin);
5336 
5340  boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius);
5341 
5345  boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle);
5346 
5350  boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius);
5351 
5355  boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin);
5356 
5360  boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius);
5361 
5365  boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius);
5366  };
5367 
5368  // # GEOM_Gen:
5374  interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
5375  {
5380  void Undo ();
5381 
5382  void Redo ();
5383 
5391  SALOMEDS::SObject AddInStudy (in GEOM_BaseObject theObject,
5392  in string theName,
5393  in GEOM_BaseObject theFather);
5394 
5418  in ListOfGO theArgs,
5419  in find_shape_method theFindMethod,
5420  in boolean theInheritFirstArg,
5421  in boolean theAddPrefix);
5422 
5446  in ListOfGO theArgs,
5447  in find_shape_method theFindMethod,
5448  in boolean theInheritFirstArg,
5449  in boolean theAddPrefix);
5450 
5473  ListOfGO RestoreSubShapesSO (in SALOMEDS::SObject theSObject,
5474  in ListOfGO theArgs,
5475  in find_shape_method theFindMethod,
5476  in boolean theInheritFirstArg,
5477  in boolean theAddPrefix);
5478 
5479  // # Methods to access interfaces for objects creation and transformation
5480 
5481  GEOM_IBasicOperations GetIBasicOperations () raises (SALOME::SALOME_Exception);
5482  GEOM_ITransformOperations GetITransformOperations () raises (SALOME::SALOME_Exception);
5483  GEOM_I3DPrimOperations GetI3DPrimOperations () raises (SALOME::SALOME_Exception);
5484  GEOM_IShapesOperations GetIShapesOperations () raises (SALOME::SALOME_Exception);
5485  GEOM_IBooleanOperations GetIBooleanOperations () raises (SALOME::SALOME_Exception);
5486  GEOM_ICurvesOperations GetICurvesOperations () raises (SALOME::SALOME_Exception);
5487  GEOM_ILocalOperations GetILocalOperations () raises (SALOME::SALOME_Exception);
5488  GEOM_IHealingOperations GetIHealingOperations () raises (SALOME::SALOME_Exception);
5489  GEOM_IInsertOperations GetIInsertOperations () raises (SALOME::SALOME_Exception);
5490  GEOM_IMeasureOperations GetIMeasureOperations () raises (SALOME::SALOME_Exception);
5491  GEOM_IBlocksOperations GetIBlocksOperations () raises (SALOME::SALOME_Exception);
5492  GEOM_IGroupOperations GetIGroupOperations () raises (SALOME::SALOME_Exception);
5493  GEOM_IFieldOperations GetIFieldOperations () raises (SALOME::SALOME_Exception);
5494  GEOM_ITestOperations GetITestOperations () raises (SALOME::SALOME_Exception);
5495  GEOM_ICanonicalRecognition GetICanonicalRecognition() raises (SALOME::SALOME_Exception);
5496 
5497  GEOM_IOperations GetPluginOperations (in string theLibName) raises (SALOME::SALOME_Exception);
5498 
5499  // # Objects Management
5500 
5501 
5506  void RemoveObject (in GEOM_BaseObject theObject);
5507 
5513  GEOM_BaseObject GetObject (in string theEntry);
5514 
5522  GEOM_Object AddSubShape (in GEOM_Object theMainShape, in ListOfLong theIndices);
5523 
5524  // # GEOM_Objects IOR Management
5525 
5530  GEOM_Object GetIORFromString (in string theIOR);
5531 
5536  string GetStringFromIOR (in GEOM_Object theObject);
5537 
5542  string GetDumpName (in string theStudyEntry);
5543 
5548  string_array GetAllDumpNames();
5549 
5554  ListOfGO PublishNamedShapesInStudy(//in SObject theSObject,
5555  in Object theObject);
5556 
5569  SALOMEDS::SObject CreateFolder (in string theName,
5570  in SALOMEDS::SObject theFather);
5571 
5579  void MoveToFolder (in GEOM_Object theObject,
5580  in SALOMEDS::SObject theFolder);
5581 
5589  void MoveListToFolder (in ListOfGO theListOfGO,
5590  in SALOMEDS::SObject theFolder);
5591 
5601  void Move( in object_list what,
5602  in SALOMEDS::SObject where,
5603  in long row );
5604 
5611  SALOMEDS::TMPFile GetDependencyTree(in string_array theListOfEntries);
5612 
5624  void GetEntriesToReduceStudy(inout string_array theSelectedEntries,
5625  inout string_array theParentEntries,
5626  inout string_array theSubEntries,
5627  inout string_array theOtherEntries);
5628 
5629 
5630  /*
5631  * \brief Breaks links to parametrical mode for parametrical shape
5632  */
5633  void BreakLink(in string theEntry);
5634  };
5635 };
5636 
5637 #endif
static const TopTools_IndexedMapOfShape & theIndices
Definition: GEOMImpl_ShapeDriver.cxx:128
Standard_EXPORT int GetStamp()
Standard_EXPORT int GetID()
Standard_EXPORT int GetDimension()
Standard_EXPORT int GetDataType()
Standard_EXPORT std::list< Handle(GEOM_FieldStep)> GetSteps()
Standard_EXPORT const int stamp
Definition: GEOM_Field.hxx:115
A common root of objects in GEOM module.
Definition: GEOM_Gen.idl:300
string GetStudyEntry()
Get a Study entry where this object was published.
CreationInformationSeq GetCreationInformation()
Return name of operation and values of parameters used for object creation.
ListOfGBO GetLastDependency()
Get a list of GEOM_Object on which the last function that created or modified the object depends.
ListOfGBO GetDependency()
Get a list of all GEOM_Object on which were the arguments when this object was constructed and modifi...
void SetStudyEntry(in string theEntry)
Set a Study entry where this object was published.
string GetEntry()
Get internal (unique) entry of the object in the GEOM component's data tree.
boolean IsSame(in GEOM_BaseObject other)
GEOM_Gen GetGen()
Return the engine creating this object.
long GetTick()
Get value of a modification counter of the object.
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
boolean SetValues(in ListOfDouble doubleValues)
Changes values of the field step. Returns false if number of values is wrong.
ListOfDouble GetValues()
Returns values of the field step.
Interface of the field time step.
Definition: GEOM_Gen.idl:613
GEOM_Field GetField()
Returns the field the step belongs to.
void SetStamp(in long stamp)
Changes the time of the field step.
Interface of the field.
Definition: GEOM_Gen.idl:548
void RemoveStep(in long stepID)
Remove a time step from the field.
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.
string_array GetComponents()
Returns names of components.
GEOM_Object GetShape()
Returns the shape the field lies on.
GEOM_FieldStep GetStep(in long stepID)
Returns a time step by its ID.
long GetArraySize()
Returns a size of data array that is to be passed to GEOM_FieldStep.SetValues( dataArray )....
Interface to access other GEOM interfaces.
Definition: GEOM_Gen.idl:5375
void Undo()
Undo/Redo Management.
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 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.
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.
SALOMEDS::SObject AddInStudy(in GEOM_BaseObject theObject, in string theName, in GEOM_BaseObject theFather)
Publishing management.
GEOM_IBasicOperations GetIBasicOperations()
Interface for 3D primitives creation.
Definition: GEOM_Gen.idl:1511
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 MakePrismVecH2Ways(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
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.
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 MakeSpherePntR(in GEOM_Object thePnt, in double theR)
Create a sphere with given center and radius.
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 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 RestorePath(in GEOM_Object theShape, in GEOM_Object theBase1, in GEOM_Object theBase2)
Build a middle path of a pipe-like shape.
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 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 MakeThickening(in GEOM_Object theObject, in ListOfLong theFacesIDs, in double theThickness, in boolean isCopy, in boolean isInside)
Make a thick solid from a shape.
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 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 MakePrismVecHWithScaling(in GEOM_Object theBase, in GEOM_Object theVec, in double theH, in double theScaleFactor)
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 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.
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 MakePrismTwoPnt2Ways(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object MakeCylinderRH(in double theR, in double theH)
Create a cylinder with given radius and height 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 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 MakeTorusRR(in double theRMajor, in double theRMinor)
Create a torus with given radiuses at the origin of coordinate system.
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...
ListOfGO MakePipeShellsWithoutPath(in ListOfGO theSeqBases, in ListOfGO theLocations, in boolean IsGenerateGroups)
Create solids between given sections.
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 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.
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.
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...
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 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 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 MakeSphereR(in double theR)
Create a sphere with given radius at the origin of coordinate system.
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 MakePrismDXDYDZ2Ways(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
GEOM_Object MakeDiskR(in double theR, in short theOrientation)
Create a disk specified dimensions along OX-OY coordinate axes.
GEOM_Object MakeRevolutionAxisAngle2Ways(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
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 MakePrismTwoPntWithScaling(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in double theScaleFactor)
Interface for basic geometry creation.
Definition: GEOM_Gen.idl:748
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 MakeTangentOnCurve(in GEOM_Object theRefCurve, in double theParameter)
Create a vector, corresponding to tangent to the given parameter on the given curve.
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 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 MakePointOnCurve(in GEOM_Object theRefCurve, in double theParameter, in boolean takeOrientationIntoAccount)
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 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 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 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 MakeLineTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a line, passing through the given points.
GEOM_Object MakeVectorTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a vector between two points.
GEOM_Object MakePointXYZ(in double theX, in double theY, in double theZ)
Create point by three coordinates.
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 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 MakePointOnLinesIntersection(in GEOM_Object theRefLine1, in GEOM_Object theRefLine2)
Create a point, on two lines intersection.
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 MakePlaneLCS(in GEOM_Object theLCS, in double theTrimSize, in double theOrientation)
Create a plane, defined by local coordinate system.
GEOM_Object MakeVectorDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a vector with the given components.
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 MakeLineTwoFaces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a line, given by two faces intersection.
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 MakePlane2Vec(in GEOM_Object theVec1, in GEOM_Object theVec2, in double theTrimSize)
Create a plane, by two vectors.
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 MakeMarkerFromShape(in GEOM_Object theShape)
Create a local coordinate system from shape.
Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translati...
Definition: GEOM_Gen.idl:2889
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 GetNonBlocks(in GEOM_Object theShape, in double theToleranceC1, out GEOM_Object theNonQuads)
Retrieve all non blocks solids and faces from a shape.
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 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.
BCErrorType
Enumeration of Blocks Compound defects.
Definition: GEOM_Gen.idl:3083
@ EXTRA_EDGE
Definition: GEOM_Gen.idl:3088
@ NOT_BLOCK
Definition: GEOM_Gen.idl:3085
@ NOT_CONNECTED
Definition: GEOM_Gen.idl:3094
@ INVALID_CONNECTION
Definition: GEOM_Gen.idl:3091
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 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 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 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.
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.
ListOfGO ExplodeCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces)
Get all the blocks, contained in the given compound.
GEOM_Object GetOppositeFace(in GEOM_Object theBlock, in GEOM_Object theFace)
Find a face, opposite to the given one in the given block.
GEOM_Object MakeHexa2Faces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a hexahedral solid between two given faces.
GEOM_Object MakeMultiTransformation1D(in GEOM_Object theBlock, in long theDirFace1, in long theDirFace2, in long theNbTimes)
Multi-transformate block and glue the result.
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 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 RemoveExtraEdges(in GEOM_Object theShape, in long theOptimumNbFaces)
Remove all seam and degenerated edges from theShape.
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 GetBlockByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Find block, containing all the elements, passed as the parts, or maximum quantity of them.
ListOfGO Propagate(in GEOM_Object theShape)
Build all possible propagation groups.
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...
GEOM_Object CheckAndImprove(in GEOM_Object theCompound)
Check, if the given shape is a blocks compound.
sequence< BCError > BCErrors
Sequence of all Blocks Compound defects.
Definition: GEOM_Gen.idl:3112
GEOM_Object UnionFaces(in GEOM_Object theShape)
Performs union faces of theShape.
string PrintBCErrors(in GEOM_Object theCompound, in BCErrors theErrors)
Convert sequence of Blocks Compound errors, returned by CheckCompoundOfBlocks(), into string.
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 GetBlocksByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Return all blocks, containing all the elements, passed as the parts.
boolean CheckCompoundOfBlocks(in GEOM_Object theCompound, in double theToleranceC1, out BCErrors theErrors)
Check, if the compound of blocks is given.
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 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 MakeQuad2Edges(in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Create a quadrangle face on two edges.
Interface for boolean operations (Cut, Fuse, Common)
Definition: GEOM_Gen.idl:3290
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 MakeHalfPartitionWithFuzzy(in GEOM_Object theShape, in GEOM_Object thePlane, in double theFuzzyParam)
Perform partition of the Shape with the Plane.
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.
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 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 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 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 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 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 MakeCutList(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakeCommonList(in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform common boolean operation on list of objects.
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 MakeCutListWithFuzzy(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakeCommonListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform common boolean operation on list of objects.
Interface for canonical recognition operations.
Definition: GEOM_Gen.idl:5331
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 isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius)
boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius)
boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin)
boolean isSphere(in GEOM_Object shape, in double tolerance, 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:3629
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 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 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 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 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 MakeCircleThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a 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 MakeSketcher(in string theCommand, in ListOfDouble theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakeSplineBezier(in ListOfGO thePoints, in boolean theIsClosed)
Create bezier curve on the set of points.
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 MakeSplineInterpolation(in ListOfGO thePoints, in boolean theIsClosed, in boolean theDoReordering)
Create B-Spline 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 MakePolyline(in ListOfGO thePoints, in boolean theIsClosed)
Create a polyline on the set of points.
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 Make3DSketcherCommand(in string theCommand)
Create a 3D sketcher, following the textual description, passed through theCommand argument.
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 MakeIsoline(in GEOM_Object theFace, in boolean IsUIsoline, in double theParameter)
Creates an isoline curve on a face.
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 Make3DSketcher(in ListOfDouble theCoordinates)
Create a 3D sketcher, made of a straight segments, joining points with coordinates passed through the...
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 MakeCirclePntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a circle with given center, normal vector and radius.
Interface for field operation.
Definition: GEOM_Gen.idl:5278
GEOM_Field GetField(in GEOM_Object shape, in string name)
Returns a field on a shape by its name.
long GetNbSubShapes(in GEOM_Object shape, in short fieldDim)
Returns number of sub-shapes of given dimension.
ListOfFields GetFields(in GEOM_Object shape)
Returns all fields on a shape.
long CountFields(in GEOM_Object shape)
Returns number of fields on a shape.
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.
Interface for groups creation.
Definition: GEOM_Gen.idl:5141
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 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...
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...
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 RemoveObject(in GEOM_Object theGroup, in long theSubShapeId)
Removes a sub-object with ID theSubShapeId from the group.
GEOM_Object GetMainShape(in GEOM_Object theGroup)
Returns a main shape associated with 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 DifferenceList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not 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 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...
void AddObject(in GEOM_Object theGroup, in long theSubShapeId)
Adds a sub-object with ID theSubShapeId to the group.
long GetType(in GEOM_Object theGroup)
Returns a type of sub-objects stored in the group.
GEOM_Object IntersectListOfGroups(in ListOfGO theGList)
Intersection of list of groups. New group is created. It will contain only entities which are simulta...
GEOM_Object CreateGroup(in GEOM_Object theMainShape, in long theShapeType)
Creates a new group which will store sub-shapes of theMainShape.
ListOfLong GetObjects(in GEOM_Object theGroup)
Returns a list of sub-objects ID stored in 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...
Interface for shape healing operations.
Definition: GEOM_Gen.idl:4159
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 FuseCollinearEdgesWithinWire(in GEOM_Object theWire, in ListOfGO theVertices)
Suppress the vertices in the wire in case if adjacent edges are C1 continuous.
GEOM_Object RemoveIntWires(in GEOM_Object theObject, in short_array theWires)
Remove internal wires and edges from the given object (face).
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 RemoveInternalFaces(in ListOfGO theSolids)
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.
GEOM_Object FillHoles(in GEOM_Object theObject, in short_array theWires)
Remove internal closed contours (holes) from the given object.
GEOM_Object SuppressFaces(in GEOM_Object theObject, in short_array theFaces)
Remove faces from the given object (shape).
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 ChangeOrientationCopy(in GEOM_Object theObject)
ModifStatistics GetStatistics()
Return information on what has been done by the last called healing method.
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 Sew(in ListOfGO theObjects, in double theTolerance)
GEOM_Object CloseContour(in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex)
Close an open wire.
GEOM_Object ChangeOrientation(in GEOM_Object theObject)
Change orientation of the given object.
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 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 LimitTolerance(in GEOM_Object theObject, in double theTolerance)
Try to limit tolerance of the given object by value theTolerance.
GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance)
Interface for shape insert operations (like copy, import).
Definition: GEOM_Gen.idl:4355
ListOfLong GetAllTextures()
Get list of all available texture IDs.
SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight)
Get previously loaded texture data.
sequence< TransferDatum > ListOfTransferDatum
Sequence of non-topological information transfer data.
Definition: GEOM_Gen.idl:4451
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 AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture)
Add texture to the study.
GEOM_Object RestoreShape(in SALOMEDS::TMPFile theStream)
Read a shape from the binary stream, containing its bounding representation (BRep).
GEOM_Object MakeCopy(in GEOM_Object theOriginal)
Create a copy of the given object.
ListOfGBO ImportFile(in string theFileName, in string theFormatName)
Deprecated method. Use Import<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
string ReadValue(in string theFileName, in string theFormatName, in string theParameterName)
Deprecated method. Use ReadValue (from the corresponding plugin) instead.
long LoadTexture(in string theTextureFile)
Load texture from file.
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:4479
shape_kind
Definition: GEOM_Gen.idl:4480
@ CRV_BSPLINE
Definition: GEOM_Gen.idl:4539
@ DISK_CIRCLE
Definition: GEOM_Gen.idl:4514
@ PLANE
Definition: GEOM_Gen.idl:4520
@ PLANAR
Definition: GEOM_Gen.idl:4522
@ ARC_ELLIPSE
Definition: GEOM_Gen.idl:4533
@ POLYHEDRON
Definition: GEOM_Gen.idl:4501
@ COMPSOLID
Definition: GEOM_Gen.idl:4484
@ CIRCLE
Definition: GEOM_Gen.idl:4527
@ NO_SHAPE
Definition: GEOM_Gen.idl:4481
@ ELLIPSE
Definition: GEOM_Gen.idl:4531
@ LINE
Definition: GEOM_Gen.idl:4535
@ CYLINDER
Definition: GEOM_Gen.idl:4491
@ SHELL
Definition: GEOM_Gen.idl:4485
@ TORUS
Definition: GEOM_Gen.idl:4497
@ POLYGON
Definition: GEOM_Gen.idl:4518
@ FACE
Definition: GEOM_Gen.idl:4524
@ COMPOUND
Definition: GEOM_Gen.idl:4483
@ ARC_CIRCLE
Definition: GEOM_Gen.idl:4529
@ VERTEX
Definition: GEOM_Gen.idl:4549
@ CONE
Definition: GEOM_Gen.idl:4499
@ DISK_ELLIPSE
Definition: GEOM_Gen.idl:4516
@ SOLID
Definition: GEOM_Gen.idl:4503
@ TORUS2D
Definition: GEOM_Gen.idl:4510
@ ROTATED_BOX
Definition: GEOM_Gen.idl:4495
@ EDGE
Definition: GEOM_Gen.idl:4547
@ WIRE
Definition: GEOM_Gen.idl:4486
@ BOX
Definition: GEOM_Gen.idl:4493
@ CRV_BEZIER
Definition: GEOM_Gen.idl:4541
@ SEGMENT
Definition: GEOM_Gen.idl:4537
@ SPHERE
Definition: GEOM_Gen.idl:4489
@ HYPERBOLA
Definition: GEOM_Gen.idl:4543
@ LCS
Definition: GEOM_Gen.idl:4551
@ PARABOLA
Definition: GEOM_Gen.idl:4545
@ CYLINDER2D
Definition: GEOM_Gen.idl:4508
@ SPHERE2D
Definition: GEOM_Gen.idl:4506
@ CONE2D
Definition: GEOM_Gen.idl:4512
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:3975
GEOM_Object MakeChamferEdgesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
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 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 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 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 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...
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 MakeChamferFacesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
GEOM_Object MakeChamferAll(in GEOM_Object theShape, in double theD)
Perform a symmetric chamfer on all edges of the given shape.
GEOM_Object MakeFilletAll(in GEOM_Object theShape, in double theR)
Perform a fillet on all edges of the given shape.
GEOM_Object MakeFilletFacesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces)
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 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 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)
Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass,...
Definition: GEOM_Gen.idl:4564
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.
boolean CheckSelfIntersections(in GEOM_Object theShape, in long theCheckLevel, out ListOfLong theIntersections)
Check a topology of the given shape on self-intersections presence.
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.
boolean CheckShapeWithGeometry(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology and a geometry of the given shape.
string WhatIs(in GEOM_Object theShape)
btain description of the given shape
double GetAngleBtwVectors(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given vectors.
string PrintShapeErrors(in GEOM_Object theShape, in ShapeErrors theErrors)
Convert sequence of shape errors, returned by CheckShape() or CheckShapeWithGeometry(),...
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.
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...
boolean CheckBOPArguments(in GEOM_Object theShape)
Check boolean and partition operations arguments.
ListOfDouble UVtoXYZ(in GEOM_Object theSurf, in ListOfDouble theUVlist, in boolean theIsNormalized)
Convert UV parameters on the given surface to 3D points coordinates.
GEOM_IKindOfShape::shape_kind KindOfShape(in GEOM_Object theShape, out ListOfLong theIntegers, out ListOfDouble theDoubles)
Get kind of theShape.
SequenceOfPairOfShape DistantShapes(in CheckResults theResults, in long theShapeType, in long theSubShapeType, in double theTolerance)
find remote objects (sub-shape on a shape). Avaliable types:
double UpdateTolerance(in GEOM_Object theShape)
Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-sha...
boolean CheckShape(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology of the given shape.
double CurveCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get radius of curvature of curve in the given point.
void PointCoordinates(in GEOM_Object theShape, out double X, out double Y, out double Z)
Get point coordinates.
sequence< CheckResult > CheckResults
Definition: GEOM_Gen.idl:5037
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 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.
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.
ListOfGO SmallEdges(in CheckResults theResults)
Find edges, which are fully covered by tolerances of vertices.
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.
sequence< ShapeError > ShapeErrors
Sequence of all shape defects.
Definition: GEOM_Gen.idl:4758
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.
SequenceOfPairOfShape SelfIntersected2D(in CheckResults theResults)
Find all self-intersected 2D curves.
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.
string IsGoodForSolid(in GEOM_Object theShape)
Check if the given shape can be an argument for MakeSolid operation.
double MinSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get min radius of curvature of surface in the given point.
sequence< PairOfShape > SequenceOfPairOfShape
Definition: GEOM_Gen.idl:5036
double GetPreciseProximity(in GEOM_Object theCalculator)
Compute precise value of the proximity basing on the exact shapes.
ShapeErrorType
Enumeration of Shape defects coming from CheckShape algorithms.
Definition: GEOM_Gen.idl:4693
@ NoSurface
Definition: GEOM_Gen.idl:4720
@ NoCurveOnSurface
Definition: GEOM_Gen.idl:4703
@ EmptyWire
Definition: GEOM_Gen.idl:4715
@ InvalidPointOnCurveOnSurface
Definition: GEOM_Gen.idl:4696
@ InvalidPointOnCurve
Definition: GEOM_Gen.idl:4695
@ InvalidSameRangeFlag
Definition: GEOM_Gen.idl:4706
@ SelfIntersectingWire
Definition: GEOM_Gen.idl:4717
@ InvalidSameParameterFlag
Definition: GEOM_Gen.idl:4707
@ InvalidToleranceValue
Definition: GEOM_Gen.idl:4740
@ InvalidWire
Definition: GEOM_Gen.idl:4721
@ IntersectingWires
Definition: GEOM_Gen.idl:4723
@ InvalidImbricationOfWires
Definition: GEOM_Gen.idl:4724
@ FreeEdge
Definition: GEOM_Gen.idl:4710
@ InvalidCurveOnSurface
Definition: GEOM_Gen.idl:4704
@ SubshapeNotInShape
Definition: GEOM_Gen.idl:4735
@ InvalidCurveOnClosedSurface
Definition: GEOM_Gen.idl:4705
@ BadOrientation
Definition: GEOM_Gen.idl:4737
@ InvalidDegeneratedFlag
Definition: GEOM_Gen.idl:4708
@ InvalidRange
Definition: GEOM_Gen.idl:4712
@ RedundantEdge
Definition: GEOM_Gen.idl:4716
@ NotClosed
Definition: GEOM_Gen.idl:4732
@ RedundantWire
Definition: GEOM_Gen.idl:4722
@ InvalidMultiConnexity
Definition: GEOM_Gen.idl:4711
@ Multiple3DCurve
Definition: GEOM_Gen.idl:4701
@ InvalidPointOnSurface
Definition: GEOM_Gen.idl:4697
@ NotConnected
Definition: GEOM_Gen.idl:4733
@ Invalid3DCurve
Definition: GEOM_Gen.idl:4702
@ RedundantFace
Definition: GEOM_Gen.idl:4728
@ BadOrientationOfSubshape
Definition: GEOM_Gen.idl:4738
@ EmptyShell
Definition: GEOM_Gen.idl:4727
@ No3DCurve
Definition: GEOM_Gen.idl:4700
@ UnorientableShape
Definition: GEOM_Gen.idl:4731
double GetCoarseProximity(in GEOM_Object theCalculator)
Compute coarse value of the proximity basing on the polygonal representation of shapes.
CheckResults CheckConformityShape(in GEOM_Object theShape)
Perform analyse of shape and return all failed checks.
double GetAngle(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given lines or linear edges.
double CurveCurvatureByParam(in GEOM_Object theShape, in double theParam)
Get radius of curvature of curve in the point determinated by param.
GEOM_Object GetCentreOfMass(in GEOM_Object theShape)
Get a point, situated at the centre of mass of theShape.
GEOM_Object GetVertexByIndex(in GEOM_Object theShape, in long theIndex, in boolean theUseOri)
void SetShapeSampling(in GEOM_Object theCalculator, in GEOM_Object theShape, in long theNbSamples)
Set number sample points to compute the coarse proximity.
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.
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...
double MaxSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get max radius of curvature of surface in the given point.
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....
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.
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.
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...
GEOM_Object MakeBoundingBox(in GEOM_Object theShape, in boolean precise)
Get bounding box 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 ShapeProximityCalculator(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get the calculator for the proximity value between the given shapes.
Basic methods of all geometric operations.
Definition: GEOM_Gen.idl:708
void FinishOperation()
Closes 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.
void AbortOperation()
Aborts the previously opened transaction.
boolean IsDone()
To know, if the operation was successfully performed.
Interface for Shapes creation:
Definition: GEOM_Gen.idl:2021
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.
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...
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...
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 ...
long NumberOfEdges(in GEOM_Object theShape)
Count number of edges in the given shape.
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,...
GEOM_Object MakeFaceFromSurface(in GEOM_Object theFace, in GEOM_Object theWire)
Create a face based on surface of theFace limited by theWire.
long GetSubShapeIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
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 MakeSolidShell(in GEOM_Object theShell)
Create a solid, bounded by the given shell.
GEOM_Object ChangeOrientation(in GEOM_Object theShape)
GEOM_Object MakeGlueEdges(in ListOfGO theShapes, in double theTolerance)
Replace coincident edges in theShapes by one edge.
ListOfGO MakeAllSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
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...
GEOM_Object MakeCompound(in ListOfGO theShapes)
Create a compound of the given shapes.
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.
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...
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 GetSame(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
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 MakeExplode(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method.
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.
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...
long NumberOfFaces(in GEOM_Object theShape)
Count number of faces in the given shape.
GEOM_Object MakeFaceWithConstraints(in ListOfGO theConstraints)
Create a face from a set of edges with the given constraints.
long NumberOfSubShapes(in GEOM_Object theShape, in long theShapeType)
Count number of sub-shapes of type theShapeType in the given shape.
GEOM_Object MakeWrappedFace(in ListOfGO theEdges, in ListOfGO theVertices, in double theTolerance)
Create non planar face with list of edges and list of vertices.
long GetTopologyIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
Get index of theSubShape in theMainShape, unique among sub-shapes of the same type.
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 GetShapesOnBox(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeEdgeWire(in GEOM_Object theWire, in double theLinearTolerance, in double theAngularTolerance)
Create an edge from specified wire.
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 MakeSolidShells(in ListOfGO theShells)
Create a solid, bounded by the given shells.
ListOfLong GetShapesOnBoxIDs(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
ListOfGO GetGlueEdges(in ListOfGO theShapes, in double theTolerance)
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 MakeFaceWires(in ListOfGO theWires, in boolean isPlanarWanted)
Create a face on the given wires set.
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 MakeEdge(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a linear edge with specified ends.
ListOfLong GetAllSubShapesIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
sequence< ExtractionStat > ExtractionStats
Definition: GEOM_Gen.idl:2864
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 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.
ListOfGO MakeSubShapes(in GEOM_Object theMainShape, in ListOfLong theIndices)
Get a set of sub-shapes defined by their unique IDs inside theMainShape.
ListOfLong GetFreeFacesIDs(in GEOM_Object theShape)
Retrieve all free faces from the given shape.
ListOfLong GetSubShapesIndices(in GEOM_Object theMainShape, in ListOfGO theSubShapes)
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,...
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 ...
ExtractionStatType
This enumeration represents an extraction statistics type.
Definition: GEOM_Gen.idl:2848
@ EST_Modified
Modified sub-shapes.
Definition: GEOM_Gen.idl:2850
@ EST_Removed
Removed sub-shapes.
Definition: GEOM_Gen.idl:2849
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.
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...
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...
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 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 ...
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 GetInPlaceOld(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
GEOM_Object MakeFace(in GEOM_Object theWire, in boolean isPlanarWanted)
Create a face on the given wire.
ListOfLong SubShapeAllIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method. Use GetAllSubShapesIDs() instead.
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.
ListOfGO GetSharedShapesMulti(in ListOfGO theShapes, in long theShapeType, in boolean theMultiShare)
Get sub-shapes, shared by input shapes.
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.
GEOM_Object MakeSolidFromConnectedFaces(in ListOfGO theFacesOrShells, in boolean isIntersect)
Make a solid (or solids) from connected set of faces and/or shells.
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 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 MakeGlueFaces(in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids)
Replace coincident faces in theShapes by one face.
ListOfGO GetGlueFaces(in ListOfGO theShapes, in double theTolerance)
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.
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 MakeShell(in ListOfGO theFacesAndShells)
Create a shell from the set of faces and shells.
string GetShapeTypeString(in GEOM_Object theShape)
Get name of type of theShape.
Interface for testing operations.
Definition: GEOM_Gen.idl:5313
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 OffsetShapeCopy(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Create new object as offset of the given one.
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 TranslateVector(in GEOM_Object theObject, in GEOM_Object theVector)
Translate the given object along the given vector.
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 MirrorPointCopy(in GEOM_Object theObject, in GEOM_Object thePoint)
Create an object, symmetrical to the given one relatively the given point.
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 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 MirrorAxis(in GEOM_Object theObject, in GEOM_Object theAxis)
Replace the given object by an object, symmetrical to it relatively the given axis.
GEOM_Object RotateCopy(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
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 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 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 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 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 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 ProjectShapeCopy(in GEOM_Object theSource, in GEOM_Object theTarget)
Create new object as projection of the given one on a 2D surface.
GEOM_Object PositionShape(in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
Modify the Location of the given object by LCS.
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 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 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 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 OffsetShape(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Replace the given object by its offset.
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 ScaleShape(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
Scale the given object by the factor.
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 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 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 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 MirrorAxisCopy(in GEOM_Object theObject, in GEOM_Object theAxis)
Create an object, symmetrical to the given one relatively the given axis.
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 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 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 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 MirrorPlaneCopy(in GEOM_Object theObject, in GEOM_Object thePlane)
Create an object, symmetrical to the given one relatively the given plane.
GEOM_Object RecomputeObject(in GEOM_Object theObject)
Recompute the shape from its arguments.
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 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...
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
string GetSubShapeName(in long subID)
Returns a name of a sub-shape if the sub-shape is published in the study.
shape_type GetShapeType()
Get a shape_type of the object value.
boolean IsParametrical()
SALOMEDS::TMPFile GetShapeStream()
Get geometric shape of the object as a byte stream in BRep format.
shape_type GetTopologyType()
Get the topology type of the object value.
shape_type GetMaxShapeType()
Get a maximal type of the top-level shapes contained in the object.
long long getShape()
Get the TopoDS_Shape, for colocated case only.
GEOM_Object GetMainShape()
shape_type GetMinShapeType()
Get a minimal type of the top-level shapes contained in the object.
ListOfLong GetSubShapeIndices()
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_PythonDump.cxx:33
filling_oper_method
Kind of method to perform filling operation.
Definition: GEOM_Gen.idl:155
@ FOM_AutoCorrect
Definition: GEOM_Gen.idl:168
@ FOM_UseOri
Definition: GEOM_Gen.idl:163
@ FOM_Default
Definition: GEOM_Gen.idl:157
@ Color
Definition: GEOM_Constants.h:40
sequence< boolean > ListOfBool
Definition: GEOM_Gen.idl:278
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_MultiTransformed
Definition: GEOM_Gen.idl:143
@ FSM_Transformed
Definition: GEOM_Gen.idl:129
@ FSM_GetSame
Definition: GEOM_Gen.idl:132
@ FSM_GetShapesOnShape
Definition: GEOM_Gen.idl:135
@ FSM_GetInPlaceByHistory
Definition: GEOM_Gen.idl:138
@ FSM_GetInPlace
Definition: GEOM_Gen.idl:124
@ FSM_GetInPlace_Old
Definition: GEOM_Gen.idl:146
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
sequence< double > ListOfDouble
Definition: GEOM_Gen.idl:280
sequence< GEOM_BaseObject > ListOfGBO
Definition: GEOM_Gen.idl:291
sequence< SALOMEDS::SObject > object_list
Definition: GEOM_Gen.idl:293
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:288
marker_type
Marker type.
Definition: GEOM_Gen.idl:67
@ MT_RING3
Definition: GEOM_Gen.idl:68
@ MT_O_PLUS
Definition: GEOM_Gen.idl:67
@ MT_O_X
Definition: GEOM_Gen.idl:68
@ MT_BALL
Definition: GEOM_Gen.idl:68
@ MT_STAR
Definition: GEOM_Gen.idl:67
@ MT_O_POINT
Definition: GEOM_Gen.idl:67
@ MT_X
Definition: GEOM_Gen.idl:67
@ MT_POINT
Definition: GEOM_Gen.idl:67
@ MT_O
Definition: GEOM_Gen.idl:67
@ MT_PLUS
Definition: GEOM_Gen.idl:67
@ MT_RING1
Definition: GEOM_Gen.idl:68
@ MT_O_STAR
Definition: GEOM_Gen.idl:68
@ MT_NONE
Definition: GEOM_Gen.idl:67
@ MT_USER
Definition: GEOM_Gen.idl:68
@ MT_RING2
Definition: GEOM_Gen.idl:68
sequence< GEOM_Field > ListOfFields
Definition: GEOM_Gen.idl:292
sequence< CreationInformation > CreationInformationSeq
Definition: GEOM_Gen.idl:263
shape_type
Topological types of shapes (like Open Cascade types)
Definition: GEOM_Gen.idl:41
@ EDGE
Definition: GEOM_Gen.idl:55
@ SHELL
Definition: GEOM_Gen.idl:49
@ VERTEX
Definition: GEOM_Gen.idl:57
@ SHAPE
Definition: GEOM_Gen.idl:59
@ COMPSOLID
Definition: GEOM_Gen.idl:45
@ FLAT
Definition: GEOM_Gen.idl:61
@ SOLID
Definition: GEOM_Gen.idl:47
@ WIRE
Definition: GEOM_Gen.idl:53
@ FACE
Definition: GEOM_Gen.idl:51
@ COMPOUND
Definition: GEOM_Gen.idl:43
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_E_E
Definition: GEOM_Gen.idl:206
@ SI_E_F
Definition: GEOM_Gen.idl:208
@ SI_V_E
Definition: GEOM_Gen.idl:205
@ SI_V_V
Definition: GEOM_Gen.idl:204
@ SI_V_F
Definition: GEOM_Gen.idl:207
sequence< short > short_array
Definition: GEOM_Gen.idl:277
shape_state
State of shape relatively geometrical surface like plane, sphere or cylinder.
Definition: GEOM_Gen.idl:82
@ ST_ON
Definition: GEOM_Gen.idl:84
@ ST_IN
Definition: GEOM_Gen.idl:105
@ ST_ONIN
Definition: GEOM_Gen.idl:111
@ ST_ONOUT
Definition: GEOM_Gen.idl:97
@ ST_OUT
Definition: GEOM_Gen.idl:91
wire_build_mode
Wire construction mode. Regulates the way gaps are closed.
Definition: GEOM_Gen.idl:229
@ WBM_KeepCurveType
Definition: GEOM_Gen.idl:243
@ WBM_FixTolerance
Definition: GEOM_Gen.idl:231
@ WBM_Approximation
Definition: GEOM_Gen.idl:237
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:282
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:279
sequence< Parameter > Parameters
Definition: GEOM_Gen.idl:256
sequence< string > string_array
Definition: GEOM_Gen.idl:276
curve_type
Kind of the curves.
Definition: GEOM_Gen.idl:177
@ Bezier
Definition: GEOM_Gen.idl:182
@ Interpolation
Definition: GEOM_Gen.idl:185
@ Polyline
Definition: GEOM_Gen.idl:179
marker_size
Definition: GEOM_Gen.idl:73
@ MS_35
Definition: GEOM_Gen.idl:73
@ MS_40
Definition: GEOM_Gen.idl:74
@ MS_65
Definition: GEOM_Gen.idl:74
@ MS_55
Definition: GEOM_Gen.idl:74
@ MS_10
Definition: GEOM_Gen.idl:73
@ MS_70
Definition: GEOM_Gen.idl:74
@ MS_25
Definition: GEOM_Gen.idl:73
@ MS_45
Definition: GEOM_Gen.idl:74
@ MS_15
Definition: GEOM_Gen.idl:73
@ MS_30
Definition: GEOM_Gen.idl:73
@ MS_60
Definition: GEOM_Gen.idl:74
@ MS_NONE
Definition: GEOM_Gen.idl:73
@ MS_50
Definition: GEOM_Gen.idl:74
@ MS_20
Definition: GEOM_Gen.idl:73
sequence< ListOfDouble > ListOfListOfDouble
Definition: GEOM_Gen.idl:281
sequence< ModifInfo > ModifStatistics
Definition: GEOM_Gen.idl:273
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_Int
Definition: GEOM_Gen.idl:193
@ FDT_Bool
Definition: GEOM_Gen.idl:192
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:3104
ListOfLong incriminated
Definition: GEOM_Gen.idl:3106
BCErrorType error
Definition: GEOM_Gen.idl:3105
Non-topological information transfer datum.
Definition: GEOM_Gen.idl:4442
long myNumber
Definition: GEOM_Gen.idl:4444
string myName
Definition: GEOM_Gen.idl:4443
long myMaxNumber
Definition: GEOM_Gen.idl:4445
Structure for store result of check store type of check as number and failed shapes.
Definition: GEOM_Gen.idl:5031
PairOfShape failedShapes
Definition: GEOM_Gen.idl:5033
long type
Definition: GEOM_Gen.idl:5032
Methods and structure for implement CheckConformity tool.
Definition: GEOM_Gen.idl:5021
GEOM_Object first
Definition: GEOM_Gen.idl:5022
GEOM_Object second
Definition: GEOM_Gen.idl:5023
Description of a shape defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:4750
ShapeErrorType error
Definition: GEOM_Gen.idl:4751
ListOfLong incriminated
Definition: GEOM_Gen.idl:4752
ListOfLong indices
Shape indices touched by this type of modification.
Definition: GEOM_Gen.idl:2861
ExtractionStatType type
Type of extraction statistics.
Definition: GEOM_Gen.idl:2860
Reporting on shape healing.
Definition: GEOM_Gen.idl:269
string name
Definition: GEOM_Gen.idl:270
long count
Definition: GEOM_Gen.idl:271
Object creation parameters.
Definition: GEOM_Gen.idl:252
string name
Definition: GEOM_Gen.idl:253
string value
Definition: GEOM_Gen.idl:254