Version: 9.12.0
GEOM_Gen.idl
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 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 
228  struct Parameter
229  {
230  string name;
231  string value;
232  };
233  typedef sequence<Parameter> Parameters;
234 
236  {
239  };
240  typedef sequence<CreationInformation> CreationInformationSeq;
241 
245  struct ModifInfo
246  {
247  string name; // what changed
248  long count; // how many times
249  };
250  typedef sequence<ModifInfo> ModifStatistics;
251 
252 
253  typedef sequence<string> string_array;
254  typedef sequence<short> short_array;
255  typedef sequence<boolean> ListOfBool;
256  typedef sequence<long> ListOfLong;
257  typedef sequence<double> ListOfDouble;
258  typedef sequence<ListOfDouble> ListOfListOfDouble;
259  typedef sequence<ListOfLong> ListOfListOfLong;
260 
261  interface GEOM_Gen;
262  interface GEOM_Object;
263  interface GEOM_BaseObject;
264  interface GEOM_Field;
265  interface GEOM_FieldStep;
266 
267  typedef sequence<GEOM_Object> ListOfGO;
268  typedef sequence<GEOM_BaseObject> ListOfGBO;
269  typedef sequence<GEOM_Field> ListOfFields;
270  typedef sequence<SALOMEDS::SObject> object_list;
271 
272  //# GEOM_BaseObject
276  interface GEOM_BaseObject : SALOME::GenericObj
277  {
283  void SetName (in string theName);
284 
288  string GetName();
289 
296  string GetEntry();
297 
303  long GetType();
304 
308  long GetTick();
309 
313  void SetStudyEntry (in string theEntry);
314 
318  string GetStudyEntry();
319 
326 
332 
333  /*
334  * \brief Return true if geom object representes a shape.
335  *
336  * For example, method return false for GEOM_MARKER
337  */
338  boolean IsShape();
339 
340  /*
341  * \brief Return true if passed object is identical to this object
342  *
343  * \param other object being compared with this one
344  */
345  boolean IsSame(in GEOM_BaseObject other);
346 
352  void SetParameters (in string theParameters);
353 
357  string GetParameters();
358 
363 
368  };
369 
370  //# GEOM_Object
375  {
380 
390 
401 
412 
423  string GetSubShapeName(in long subID);
424 
430  void SetColor(in SALOMEDS::Color theColor);
431 
435  SALOMEDS::Color GetColor();
436 
441  void SetAutoColor(in boolean theAutoColor);
442 
446  boolean GetAutoColor();
447 
453  void SetMarkerStd(in marker_type theType, in marker_size theSize );
454 
461  void SetMarkerTexture(in long theTextureId);
462 
467  marker_type GetMarkerType();
468 
473  marker_size GetMarkerSize();
474 
479  long GetMarkerTexture();
480 
484  long long getShape();
485 
486  // ######################################################################
487  // # Internal methods (For sub-shape identification)
488  // ######################################################################
493  SALOMEDS::TMPFile GetShapeStream();
494 
495  /*
496  * \brief Returns True if this object is not a sub-shape of another object.
497  */
498  boolean IsMainShape();
499 
500  /*
501  * \brief Get a list of ID's of sub-shapes in the main shape.
502  * \note Internal method, suppopsed to be used only by GEOM_Client
503  */
505 
506  /*
507  * \brief Get a main shape object to which this object is a sub-shape
508  * \note Internal method, suppopsed to be used only by GEOM_Client
509  */
511 
512  /*
513  * \brief Returns true if the current object has connection to a parametrical model
514  * which can be modified by parameters change.
515  */
516  boolean IsParametrical();
517 
518  };
519 
520  //# GEOM_Field
525  {
530 
535 
540  short GetDimension();
541 
546 
550  //void RemoveComponent(in long number);
551 
555  GEOM_FieldStep AddStep(in long stepID, in long stamp);
556 
560  void RemoveStep(in long stepID);
561 
565  long CountSteps();
566 
571 
575  GEOM_FieldStep GetStep(in long stepID);
576 
582  long GetArraySize();
583  };
584 
585  // # GEOM_FieldStep:
590  {
594  void SetStamp(in long stamp);
595 
599  long GetStamp();
600 
604  long GetID();
605 
610  };
611 
612  // # GEOM_BoolFieldStep:
617  {
621  boolean SetValues(in short_array boolValues);
622 
627  };
628 
629  // # GEOM_IntFieldStep:
634  {
638  boolean SetValues(in ListOfLong intValues);
639 
644  };
645 
646  // # GEOM_DoubleFieldStep:
651  {
655  boolean SetValues(in ListOfDouble doubleValues);
656 
661  };
662 
663  // # GEOM_StringFieldStep:
668  {
672  boolean SetValues(in string_array strValues);
673 
678  };
679 
680  // # GEOM_IOperations:
684  interface GEOM_IOperations : SALOME::GenericObj
685  {
689  boolean IsDone();
690 
696  void SetErrorCode (in string theErrorID);
697 
701  string GetErrorCode();
702 
707 
712 
717  };
718  //# GEOM_IBasicOperations:
725  {
733  GEOM_Object MakePointXYZ (in double theX, in double theY, in double theZ);
734 
745  in double theX, in double theY, in double theZ);
746 
756  in double theParameter,
757  in boolean takeOrientationIntoAccount);
758 
769  in double theLength,
770  in GEOM_Object theStartPoint);
771 
781  in double theXParameter,
782  in double theYParameter,
783  in double theZParameter);
784 
794  in double theUParameter,
795  in double theVParameter);
796 
806  in double theXParameter,
807  in double theYParameter,
808  in double theZParameter);
809 
820  in long theNumberOfPnts);
821 
828  in GEOM_Object theRefLine2);
829 
839  in double theParameter);
840 
848  GEOM_Object MakeVectorDXDYDZ (in double theDX,
849  in double theDY,
850  in double theDZ);
851 
859 
867  GEOM_Object MakeLine (in GEOM_Object thePnt, in GEOM_Object theDir);
868 
876 
884 
894  in GEOM_Object thePnt2,
895  in GEOM_Object thePnt3,
896  in double theTrimSize);
897 
907  in GEOM_Object theVec,
908  in double theTrimSize);
909 
917  in double theTrimSize);
918 
927  in GEOM_Object theVec2,
928  in double theTrimSize);
929 
938  in double theTrimSize,
939  in double theOrientation);
940 
948  GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
949  in double theXDX, in double theXDY, in double theXDZ,
950  in double theYDX, in double theYDY, in double theYDZ);
951 
958 
967  in GEOM_Object theXVec, in GEOM_Object theYVec);
968 
980  in double theParameterU,
981  in double theParameterV,
982  in double theTrimSize);
983  };
984 
991  {
1000  in GEOM_Object thePoint1,
1001  in GEOM_Object thePoint2);
1002 
1012  in GEOM_Object thePoint1,
1013  in GEOM_Object thePoint2);
1014 
1022  in double theDX, in double theDY, in double theDZ);
1023 
1032  in double theDX, in double theDY, in double theDZ);
1033 
1034 
1042  in GEOM_Object theVector);
1043 
1052  in GEOM_Object theVector);
1053 
1064  in GEOM_Object theVector,
1065  in double theDistance,
1066  in boolean theCopy);
1067 
1078  in GEOM_Object theVector,
1079  in double theStep,
1080  in long theNbTimes);
1081 
1095  in GEOM_Object theVector1,
1096  in double theStep1,
1097  in long theNbTimes1,
1098  in GEOM_Object theVector2,
1099  in double theStep2,
1100  in long theNbTimes2);
1101 
1111  in GEOM_Object theCentPoint,
1112  in GEOM_Object thePoint1,
1113  in GEOM_Object thePoint2);
1114 
1115 
1127  in GEOM_Object theCentPoint,
1128  in GEOM_Object thePoint1,
1129  in GEOM_Object thePoint2);
1130 
1139  in GEOM_Object theAxis,
1140  in double theAngle);
1141 
1142 
1152  in GEOM_Object theAxis,
1153  in double theAngle);
1154 
1166  in GEOM_Object theAxis,
1167  in long theNbObjects);
1168 
1181  in GEOM_Object theAxis,
1182  in double theAngleStep,
1183  in long theNbSteps);
1184 
1201  in GEOM_Object theAxis,
1202  in long theNbObjects,
1203  in double theRadialStep,
1204  in long theNbSteps);
1205 
1223  in GEOM_Object theAxis,
1224  in double theAngleStep,
1225  in long theNbSteps1,
1226  in double theRadialStep,
1227  in long theNbSteps2);
1228 
1246  in GEOM_Object theAxis,
1247  in double theAngleStep,
1248  in long theNbSteps1,
1249  in double theRadialStep,
1250  in long theNbSteps2);
1251 
1258  GEOM_Object MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane);
1259 
1268 
1276  GEOM_Object MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis);
1277 
1286 
1293  GEOM_Object MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint);
1294 
1302 
1311  in double theOffset,
1312  in boolean theJoinByPipes);
1313 
1322  in double theOffset,
1323  in boolean theJoinByPipes);
1324 
1331  GEOM_Object ProjectShapeCopy (in GEOM_Object theSource, in GEOM_Object theTarget);
1332 
1345  double ProjectPointOnWire (in GEOM_Object thePoint,
1346  in GEOM_Object theWire,
1347  out GEOM_Object thePointOnEdge,
1348  out long theEdgeInWireIndex);
1349 
1357  GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
1358  in double theFactor);
1359 
1368  in double theFactor);
1369 
1378  in GEOM_Object thePoint,
1379  in double theFactorX,
1380  in double theFactorY,
1381  in double theFactorZ);
1382 
1392  in GEOM_Object thePoint,
1393  in double theFactorX,
1394  in double theFactorY,
1395  in double theFactorZ);
1396 
1409  in GEOM_Object theStartLCS,
1410  in GEOM_Object theEndLCS);
1411 
1425  in GEOM_Object theStartLCS,
1426  in GEOM_Object theEndLCS);
1427 
1439  in GEOM_Object thePath,
1440  in double theDistance,
1441  in boolean theCopy,
1442  in boolean theReverse);
1443 
1450 
1475  in double theRadius,
1476  in double theStartAngle,
1477  in double theAngleLength,
1478  in double theAngleRotation);
1479  };
1480 
1488  {
1499  GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ);
1500 
1509 
1520  GEOM_Object MakeFaceHW (in double theH, in double theW, in short theOrientation);
1529  GEOM_Object MakeFaceObjHW (in GEOM_Object theObj, in double theH, in double theW);
1538  in GEOM_Object theVec,
1539  in double theR);
1546  in GEOM_Object thePnt2,
1547  in GEOM_Object thePnt3);
1548 
1557  GEOM_Object MakeDiskR (in double theR, in short theOrientation);
1558 
1568  GEOM_Object MakeCylinderRH (in double theR, in double theH);
1569 
1580  GEOM_Object MakeCylinderRHA (in double theR, in double theH, in double theA);
1581 
1591  in GEOM_Object theAxis,
1592  in double theR,
1593  in double theH);
1604  in GEOM_Object theAxis,
1605  in double theR,
1606  in double theH,
1607  in double theA);
1608 
1621  GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH);
1622 
1635  in GEOM_Object theAxis,
1636  in double theR1,
1637  in double theR2,
1638  in double theH);
1639 
1646  GEOM_Object MakeTorusRR (in double theRMajor,
1647  in double theRMinor);
1648 
1658  in GEOM_Object theVec,
1659  in double theRMajor,
1660  in double theRMinor);
1661 
1667  GEOM_Object MakeSphereR (in double theR);
1668 
1675  GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR);
1676 
1688  in GEOM_Object theVec,
1689  in double theH);
1690  /* \brief The Same Prism but in 2 directions (forward&backward) */
1692  in GEOM_Object theVec,
1693  in double theH);
1694  /* \brief The Same as MakePrismVecH but with scaling */
1696  in GEOM_Object theVec,
1697  in double theH,
1698  in double theScaleFactor);
1699 
1708  in GEOM_Object thePoint1,
1709  in GEOM_Object thePoint2);
1710  /* \brief The same prism but in two directions forward&backward */
1712  in GEOM_Object thePoint1,
1713  in GEOM_Object thePoint2);
1714  /* \brief The Same as MakePrismTwoPnt but with scaling */
1716  in GEOM_Object thePoint1,
1717  in GEOM_Object thePoint2,
1718  in double theScaleFactor);
1719 
1727  in double theDX, in double theDY, in double theDZ);
1728  /* \brief The same prism but in two directions forward&backward */
1730  in double theDX, in double theDY, in double theDZ);
1731  /* \brief The Same as MakePrismDXDYDZ but with scaling */
1733  in double theDX, in double theDY, in double theDZ,
1734  in double theScaleFactor);
1735 
1736 
1749  in GEOM_Object theBase,
1750  in double theHeight,
1751  in double theAngle,
1752  in boolean theFuse,
1753  in boolean theInvert);
1754 
1768  in GEOM_Object thePath,
1769  in boolean IsGenerateGroups);
1770 
1783  in GEOM_Object theAxis,
1784  in double theAngle);
1785  /* The Same Revolution but in both ways forward&backward */
1787  in GEOM_Object theAxis,
1788  in double theAngle);
1789 
1803  in long theMinDeg, in long theMaxDeg,
1804  in double theTol2D, in double theTol3D,
1805  in long theNbIter,
1806  in filling_oper_method theMethod,
1807  in boolean theApprox);
1808 
1818  in boolean theModeSolid,
1819  in double thePreci,
1820  in boolean theRuled);
1821 
1849  in ListOfGO theLocations,
1850  in GEOM_Object thePath,
1851  in boolean theWithContact ,
1852  in boolean theWithCorrection,
1853  in boolean IsBySteps,
1854  in boolean IsGenerateGroups);
1855 
1880  in ListOfGO theSeqSubBases,
1881  in ListOfGO theLocations,
1882  in GEOM_Object thePath,
1883  in boolean theWithContact,
1884  in boolean theWithCorrection,
1885  in boolean IsGenerateGroups);
1886 
1899  in ListOfGO theLocations,
1900  in boolean IsGenerateGroups);
1901 
1920  in GEOM_Object thePath,
1921  in GEOM_Object theVec,
1922  in boolean IsGenerateGroups);
1923 
1924 
1942  in ListOfLong theFacesIDs,
1943  in double theThickness,
1944  in boolean isCopy,
1945  in boolean isInside);
1946 
1947 
1966  in GEOM_Object theBase1,
1967  in GEOM_Object theBase2);
1968 
1987  in ListOfGO theBase1,
1988  in ListOfGO theBase2);
1989  };
1990 
1998  {
2005  GEOM_Object MakeEdge (in GEOM_Object thePnt1, in GEOM_Object thePnt2);
2006 
2018  in double theLength,
2019  in GEOM_Object theStartPoint);
2020 
2029  in double theLinearTolerance,
2030  in double theAngularTolerance);
2031 
2039  GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
2040  in double theTolerance);
2041 
2049  GEOM_Object MakeFace (in GEOM_Object theWire, in boolean isPlanarWanted);
2050 
2058  GEOM_Object MakeFaceWires (in ListOfGO theWires, in boolean isPlanarWanted);
2059 
2067  in GEOM_Object theWire);
2068 
2078 
2084  GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
2085 
2092 
2099 
2106 
2114  GEOM_Object MakeSolidFromConnectedFaces (in ListOfGO theFacesOrShells, in boolean isIntersect);
2115 
2123  GEOM_Object MakeGlueFaces (in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids);
2124 
2131  ListOfGO GetGlueFaces (in ListOfGO theShapes, in double theTolerance);
2132 
2145  GEOM_Object MakeGlueFacesByList (in ListOfGO theShapes, in double theTolerance,
2146  in ListOfGO theFaces, in boolean doKeepNonSolids,
2147  in boolean doGlueAllEdges);
2148 
2155  GEOM_Object MakeGlueEdges (in ListOfGO theShapes, in double theTolerance);
2156 
2163  ListOfGO GetGlueEdges (in ListOfGO theShapes, in double theTolerance);
2164 
2174  in double theTolerance,
2175  in ListOfGO theEdges);
2176 
2186  in boolean theGroupsOnly);
2187 
2194  in long theShapeType,
2195  in boolean isSorted);
2196 
2208  in long theShapeType,
2209  in boolean isSorted);
2210 
2221  in long theShapeType,
2222  in boolean isSorted);
2223 
2228  in long theShapeType,
2229  in boolean isSorted);
2230 
2243  in long theShapeType,
2244  in boolean isSorted);
2245 
2255  in long theID);
2256 
2266  in ListOfLong theIndices);
2267 
2274  long GetSubShapeIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2275 
2282  ListOfLong GetSubShapesIndices (in GEOM_Object theMainShape, in ListOfGO theSubShapes);
2283 
2293  long GetTopologyIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2294 
2304  string GetShapeTypeString (in GEOM_Object theShape);
2305 
2319  boolean IsSubShapeBelongsTo( in GEOM_Object theSubObject,
2320  in long theSubObjectIndex,
2321  in GEOM_Object theObject,
2322  in long theObjectIndex);
2328  long NumberOfFaces (in GEOM_Object theShape);
2329 
2335  long NumberOfEdges (in GEOM_Object theShape);
2336 
2343  long NumberOfSubShapes (in GEOM_Object theShape,
2344  in long theShapeType);
2345 
2352 
2361 
2370  in GEOM_Object theShape2,
2371  in long theShapeType);
2372 
2387  in long theShapeType,
2388  in boolean theMultiShare);
2389 
2401  in long theShapeType,
2402  in GEOM_Object theAx1,
2403  in shape_state theState);
2416  in long theShapeType,
2417  in GEOM_Object theAx1,
2418  in GEOM_Object thePnt,
2419  in shape_state theState);
2420 
2421 
2422 
2435  in long theShapeType,
2436  in GEOM_Object theAxis,
2437  in double theRadius,
2438  in shape_state theState);
2439 
2453  in long theShapeType,
2454  in GEOM_Object theAxis,
2455  in GEOM_Object thePnt,
2456  in double theRadius,
2457  in shape_state theState);
2458 
2470  in long theShapeType,
2471  in GEOM_Object theCenter,
2472  in double theRadius,
2473  in shape_state theState);
2474 
2488  in long theShapeType,
2489  in GEOM_Object theTopLeftPoint,
2490  in GEOM_Object theTopRightPoint,
2491  in GEOM_Object theBottomLeftPoint,
2492  in GEOM_Object theBottomRightPoint,
2493  in shape_state theState);
2494 
2506  in long theShapeType,
2507  in GEOM_Object theAx1,
2508  in shape_state theState);
2509 
2522  in long theShapeType,
2523  in GEOM_Object theAx1,
2524  in GEOM_Object thePnt,
2525  in shape_state theState);
2526 
2539  in long theShapeType,
2540  in GEOM_Object theAxis,
2541  in double theRadius,
2542  in shape_state theState);
2543 
2557  in long theShapeType,
2558  in GEOM_Object theAxis,
2559  in GEOM_Object thePnt,
2560  in double theRadius,
2561  in shape_state theState);
2562 
2574  in long theShapeType,
2575  in GEOM_Object theCenter,
2576  in double theRadius,
2577  in shape_state theState);
2578 
2592  in long theShapeType,
2593  in GEOM_Object theTopLeftPoint,
2594  in GEOM_Object theTopRightPoint,
2595  in GEOM_Object theBottomLeftPoint,
2596  in GEOM_Object theBottomRightPoint,
2597  in shape_state theState);
2598 
2608  in GEOM_Object theShape,
2609  in long theShapeType,
2610  in shape_state theState);
2611 
2621  in GEOM_Object theShape,
2622  in long theShapeType,
2623  in shape_state theState);
2624 
2634  in GEOM_Object theShape,
2635  in short theShapeType,
2636  in shape_state theState);
2637 
2647  in GEOM_Object theShape,
2648  in short theShapeType,
2649  in shape_state theState);
2650 
2660  in GEOM_Object theShape,
2661  in short theShapeType,
2662  in shape_state theState);
2663 
2673  in GEOM_Object theShapeWhat);
2674 
2679  in GEOM_Object theShapeWhat);
2680 
2697  in GEOM_Object theShapeWhat);
2698 
2709  in GEOM_Object theShapeWhat);
2710 
2718  GEOM_Object GetSame (in GEOM_Object theShapeWhere,
2719  in GEOM_Object theShapeWhat);
2720 
2728  ListOfLong GetSameIDs (in GEOM_Object theShapeWhere,
2729  in GEOM_Object theShapeWhat);
2730 
2743  in double theMin,
2744  in double theMax);
2745 
2762  in double theUMin,
2763  in double theUMax,
2764  in double theVMin,
2765  in double theVMax);
2766 
2777 
2785  in GEOM_Object theStartPoint);
2786 
2803  in short theShapeType,
2804  in comparison_condition theCondition,
2805  in double theTolerance);
2806 
2812  {
2815  EST_Added
2816  };
2817 
2823  {
2826  };
2827 
2828  typedef sequence<ExtractionStat> ExtractionStats;
2829 
2841  in ListOfLong theSubShapeIDs,
2842  out ExtractionStats theStats);
2843 
2844  };
2845 
2846  // # GEOM_IBlocksOperations:
2853  {
2854 
2855  // # Creation of blocks
2856 
2864  in GEOM_Object theEdge2,
2865  in GEOM_Object theEdge3,
2866  in GEOM_Object theEdge4);
2867 
2876  in GEOM_Object theEdge2);
2877 
2886  in GEOM_Object thePnt2,
2887  in GEOM_Object thePnt3,
2888  in GEOM_Object thePnt4);
2889 
2899  in GEOM_Object theFace2,
2900  in GEOM_Object theFace3,
2901  in GEOM_Object theFace4,
2902  in GEOM_Object theFace5,
2903  in GEOM_Object theFace6);
2904 
2913  in GEOM_Object theFace2);
2914 
2915 
2916  // # Extract elements of blocks and blocks compounds
2917 
2918 
2928  in double theX,
2929  in double theY,
2930  in double theZ,
2931  in double theEpsilon);
2932 
2940  in GEOM_Object thePoint);
2941 
2949  in GEOM_Object thePoint1,
2950  in GEOM_Object thePoint2);
2951 
2959  in GEOM_Object thePoint);
2960 
2968  in GEOM_Object thePoint1,
2969  in GEOM_Object thePoint2,
2970  in GEOM_Object thePoint3,
2971  in GEOM_Object thePoint4);
2972 
2980  in GEOM_Object theEdge1,
2981  in GEOM_Object theEdge2);
2982 
2990  in GEOM_Object theFace);
2991 
2999  in GEOM_Object thePoint);
3000 
3008  in GEOM_Object theVector);
3009 
3022  in GEOM_Object thePoint,
3023  in long theShapeType,
3024  in double theTolerance);
3025 
3026  // # Extract blocks from blocks compounds
3027 
3028 
3038  boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
3039  in long theMinNbFaces,
3040  in long theMaxNbFaces,
3041  out long theNbBlocks);
3042 
3047  {
3048  /* Each element of the compound should be a Block */
3050 
3051  /* An element is a potential block, but has degenerated and/or seam edge(s). */
3053 
3054  /* A connection between two Blocks should be an entire face or an entire edge */
3056 
3057  /* The compound should be connexe */
3059 
3060  /* The glue between two quadrangle faces should be applied */
3061  NOT_GLUED
3062  };
3063 
3067  struct BCError
3068  {
3071  };
3072 
3076  typedef sequence<BCError> BCErrors;
3077 
3095  boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
3096  in double theToleranceC1,
3097  out BCErrors theErrors);
3098 
3106  string PrintBCErrors (in GEOM_Object theCompound,
3107  in BCErrors theErrors);
3108 
3122  in double theToleranceC1,
3123  out GEOM_Object theNonQuads);
3124 
3137  in long theOptimumNbFaces);
3138 
3147 
3157 
3168  in long theMinNbFaces,
3169  in long theMaxNbFaces);
3170 
3179  in GEOM_Object thePoint);
3180 
3188  in ListOfGO theParts);
3189 
3197  in ListOfGO theParts);
3198 
3199  // # Operations on blocks with gluing of result
3200 
3214  in long theDirFace1,
3215  in long theDirFace2,
3216  in long theNbTimes);
3217 
3227  in long theDirFace1U,
3228  in long theDirFace2U,
3229  in long theNbTimesU,
3230  in long theDirFace1V,
3231  in long theDirFace2V,
3232  in long theNbTimesV);
3233 
3234  // # Special operation - propagation
3235 
3236 
3247  };
3248 
3249  // # GEOM_IBooleanOperations
3254  {
3266  in GEOM_Object theShape2,
3267  in long theOperation,
3268  in boolean IsCheckSelfInte);
3280  in GEOM_Object theShape2,
3281  in boolean IsCheckSelfInte,
3282  in boolean IsRmExtraEdges);
3283 
3294  in boolean IsCheckSelfInte,
3295  in boolean IsRmExtraEdges);
3296 
3305  in boolean IsCheckSelfInte);
3306 
3316  in ListOfGO theShapes,
3317  in boolean IsCheckSelfInte);
3318 
3346  in ListOfGO theTools,
3347  in ListOfGO theKeepInside,
3348  in ListOfGO theRemoveInside,
3349  in short theLimit,
3350  in boolean theRemoveWebs,
3351  in ListOfLong theMaterials,
3352  in short theKeepNonlimitShapes);
3353 
3372  in ListOfGO theTools,
3373  in ListOfGO theKeepInside,
3374  in ListOfGO theRemoveInside,
3375  in short theLimit,
3376  in boolean theRemoveWebs,
3377  in ListOfLong theMaterials,
3378  in short theKeepNonlimitShapes,
3379  in boolean IsCheckSelfInte);
3380 
3399  in GEOM_Object thePlane);
3400  };
3401 
3402  // # GEOM_ICurvesOperations:
3409  {
3418  in GEOM_Object theVec,
3419  in double theR);
3426  in GEOM_Object thePnt2,
3427  in GEOM_Object thePnt3);
3435  in GEOM_Object thePnt2,
3436  in GEOM_Object thePnt3);
3446  in GEOM_Object theVec,
3447  in double theRMajor,
3448  in double theRMinor);
3449 
3460  in GEOM_Object theVec,
3461  in double theRMajor,
3462  in double theRMinor,
3463  in GEOM_Object theVecMaj);
3464 
3473  in GEOM_Object thePnt2,
3474  in GEOM_Object thePnt3);
3475 
3485  in GEOM_Object thePnt1,
3486  in GEOM_Object thePnt2,
3487  in boolean theSense);
3488 
3498  in GEOM_Object thePnt1,
3499  in GEOM_Object thePnt2);
3500 
3501 
3509  in boolean theIsClosed);
3510 
3518  in boolean theIsClosed);
3519 
3529  in boolean theIsClosed,
3530  in boolean theDoReordering);
3531 
3540  in GEOM_Object theFirstVec,
3541  in GEOM_Object theLastVec);
3542 
3554  GEOM_Object MakeCurveParametric(in string thexExpr,
3555  in string theyExpr,
3556  in string thezExpr,
3557  in double theParamMin,
3558  in double theParamMax,
3559  in double theParamStep,
3560  in curve_type theCurveType);
3561 
3574  in string theyExpr,
3575  in string thezExpr,
3576  in double theParamMin,
3577  in double theParamMax,
3578  in long theParamNbStep,
3579  in curve_type theCurveType);
3580 
3592  in boolean IsUIsoline,
3593  in double theParameter);
3594 
3630  GEOM_Object MakeSketcher (in string theCommand, in ListOfDouble theWorkingPlane);
3631 
3643  GEOM_Object MakeSketcherOnPlane (in string theCommand, in GEOM_Object theWorkingPlane);
3644 
3669  GEOM_Object Make3DSketcherCommand (in string theCommand);
3670 
3682 
3711  in string_array theNamesList,
3712  in short_array theTypesList,
3713  in ListOfBool theClosedList,
3714  in ListOfDouble theWorkingPlane);
3715 
3743  in string_array theNamesList,
3744  in short_array theTypesList,
3745  in ListOfBool theClosedList,
3746  in GEOM_Object theWorkingPlane);
3747 
3748  };
3749 
3750  // # GEOM_ILocalOperations:
3755  {
3763  in double theR);
3764 
3775  in double theR,
3776  in ListOfLong theEdges);
3778  in double theR1,
3779  in double theR2,
3780  in ListOfLong theEdges);
3781 
3792  in double theR,
3793  in ListOfLong theFaces);
3794 
3796  in double theR1,
3797  in double theR2,
3798  in ListOfLong theFaces);
3799 
3810  in double theR,
3811  in ListOfLong theVertexes);
3812 
3831  in double theR,
3832  in ListOfLong theVertexes,
3833  in boolean doIgnoreSecantVertices);
3834 
3842  in double theD);
3843 
3856  in double theD1, in double theD2,
3857  in long theFace1, in long theFace2);
3863  in double theD, in double theAngle,
3864  in long theFace1, in long theFace2);
3865 
3880  in double theD1, in double theD2,
3881  in ListOfLong theFaces);
3887  in double theD, in double theAngle,
3888  in ListOfLong theFaces);
3889 
3899  in double theD1, in double theD2,
3900  in ListOfLong theEdges);
3906  in double theD, in double theAngle,
3907  in ListOfLong theEdges);
3908 
3920  in double theWeight,
3921  in double theWaterDensity,
3922  in double theMeshDeflection);
3923 
3929  long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape);
3930  };
3931 
3932  // # GEOM_IHealingOperations:
3939  {
3951  in string_array theOperators,
3952  in string_array theParameters,
3953  in string_array theValues);
3954 
3966  void GetShapeProcessParameters (out string_array theOperators,
3967  out string_array theParameters,
3968  out string_array theValues);
3979  void GetOperatorParameters (in string theOperator,
3980  out string_array theParameters,
3981  out string_array theValues);
3982 
3990  GEOM_Object SuppressFaces (in GEOM_Object theObject, in short_array theFaces);
3991 
4001  GEOM_Object CloseContour (in GEOM_Object theObject, in short_array theWires,
4002  in boolean isCommonVertex);
4003 
4011  GEOM_Object RemoveIntWires (in GEOM_Object theObject, in short_array theWires);
4012 
4020  GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires);
4021 
4028  GEOM_Object Sew (in ListOfGO theObjects, in double theTolerance);
4029 
4036  GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance);
4037 
4045 
4057  GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex,
4058  in double theValue, in boolean isByParameter);
4059 
4070  in short theEdgeIndex,
4071  in ListOfGO thePoints);
4072 
4081  in ListOfGO theVertices);
4082 
4091  boolean GetFreeBoundary (in ListOfGO theObjects,
4092  out ListOfGO theClosedWires,
4093  out ListOfGO theOpenWires);
4094 
4102 
4109  GEOM_Object LimitTolerance (in GEOM_Object theObject, in double theTolerance);
4110 
4111 
4117  };
4118 
4119  // # GEOM_IInsertOperations:
4125  {
4130 
4140  void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName);
4141 
4155  ListOfGBO ImportFile (in string theFileName, in string theFormatName);
4156 
4167  string ReadValue (in string theFileName, in string theFormatName, in string theParameterName);
4168 
4175  GEOM_Object RestoreShape (in SALOMEDS::TMPFile theStream);
4176 
4182  long LoadTexture(in string theTextureFile);
4183 
4191  long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture);
4192 
4200  SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight);
4201 
4207 
4212  {
4213  string myName;
4214  long myNumber;
4216  };
4217 
4221  typedef sequence<TransferDatum> ListOfTransferDatum;
4222 
4237  boolean TransferData(in GEOM_Object theObjectFrom,
4238  in GEOM_Object theObjectTo,
4239  in find_shape_method theFindMethod,
4240  out ListOfTransferDatum theResult);
4241 
4242  };
4243 
4244  // # GEOM_IKindOfShape:
4249  {
4250  enum shape_kind {
4252  //COMPOSITEs
4257  // SOLIDs
4274  // FACEs
4295  // EDGEs
4318  // VERTEX
4320  // ADVANCED shapes
4323  ADVANCED
4324  };
4325  };
4326 
4327  // # GEOM_IMeasureOperations:
4334  {
4345  //short KindOfShape (in GEOM_Object theShape,
4347  out ListOfLong theIntegers,
4348  out ListOfDouble theDoubles);
4349 
4361  void GetPosition (in GEOM_Object theShape,
4362  out double Ox, out double Oy, out double Oz,
4363  out double Zx, out double Zy, out double Zz,
4364  out double Xx, out double Xy, out double Xz);
4365 
4376  void GetBasicProperties (in GEOM_Object theShape,
4377  in double theTolerance,
4378  out double theLength,
4379  out double theSurfArea,
4380  out double theVolume);
4381 
4388 
4389  /*
4390  * Get the vertex by index for 1D objects
4391  * \param theShape Shape (wire or edge) to find the vertex on it
4392  * \param theIndex Index of vertex sub-shape
4393  * \param theUseOri To consider edge/wire orientation or not
4394  * \return New GEOM_Object, vertex.
4395  */
4396  GEOM_Object GetVertexByIndex( in GEOM_Object theShape, in long theIndex, in boolean theUseOri );
4397 
4407  in GEOM_Object theOptionalPoint);
4408 
4416  void GetInertia (in GEOM_Object theShape,
4417  out double I11, out double I12, out double I13,
4418  out double I21, out double I22, out double I23,
4419  out double I31, out double I32, out double I33,
4420  out double Ix , out double Iy , out double Iz);
4421 
4431  void GetBoundingBox (in GEOM_Object theShape,
4432  in boolean precise,
4433  out double Xmin, out double Xmax,
4434  out double Ymin, out double Ymax,
4435  out double Zmin, out double Zmax);
4436 
4444  in boolean precise);
4445 
4454  void GetTolerance (in GEOM_Object theShape,
4455  out double FaceMin, out double FaceMax,
4456  out double EdgeMin, out double EdgeMax,
4457  out double VertMin, out double VertMax);
4458 
4463  {
4464  /* for vertices */
4468 
4469  /* for edges */
4479 
4483 
4484  /* for wires */
4487  SelfIntersectingWire, /* on a face */
4488 
4489  /* for faces */
4495 
4496  /* for shells */
4499 
4500  /* for shapes */
4504 
4506 
4509 
4511 
4512  /* for exception */
4513  CheckFail
4514  };
4515 
4519  struct ShapeError
4520  {
4523  };
4524 
4528  typedef sequence<ShapeError> ShapeErrors;
4529 
4536  boolean CheckShape (in GEOM_Object theShape,
4537  out ShapeErrors theErrors);
4538 
4545  boolean CheckShapeWithGeometry (in GEOM_Object theShape,
4546  out ShapeErrors theErrors);
4547 
4555  string PrintShapeErrors (in GEOM_Object theShape,
4556  in ShapeErrors theErrors);
4557 
4565  boolean CheckSelfIntersections (in GEOM_Object theShape,
4566  in long theCheckLevel,
4567  out ListOfLong theIntersections);
4568 
4580  in float theDeflection,
4581  in double theTolerance,
4582  out ListOfLong theIntersections);
4583 
4590  boolean CheckBOPArguments (in GEOM_Object theShape);
4591 
4605  boolean FastIntersect (in GEOM_Object theShape1,
4606  in GEOM_Object theShape2,
4607  in double theTolerance,
4608  in float theDeflection,
4609  out ListOfLong theIntersections1,
4610  out ListOfLong theIntersections2);
4611 
4617  string IsGoodForSolid (in GEOM_Object theShape);
4618 
4624  string WhatIs (in GEOM_Object theShape);
4625 
4634  ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance);
4635 
4643  double GetMinDistance (in GEOM_Object theShape1, in GEOM_Object theShape2,
4644  out double X1, out double Y1, out double Z1,
4645  out double X2, out double Y2, out double Z2);
4646 
4653  long ClosestPoints (in GEOM_Object theShape1,
4654  in GEOM_Object theShape2,
4655  out ListOfDouble theCoords);
4656 
4662  double GetAngle (in GEOM_Object theShape1, in GEOM_Object theShape2);
4663 
4669  double GetAngleBtwVectors (in GEOM_Object theShape1, in GEOM_Object theShape2);
4670 
4680 
4684  void PointCoordinates (in GEOM_Object theShape, out double X, out double Y, out double Z);
4685 
4692  double CurveCurvatureByParam (in GEOM_Object theShape, in double theParam);
4693 
4700  double CurveCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4701 
4709  double MaxSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4710  in double theVParam);
4711 
4718  double MaxSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4719 
4727  double MinSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
4728  in double theVParam);
4729 
4736  double MinSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4737 
4753  in GEOM_Object thePoint,
4754  in GEOM_Object theDirection);
4755 
4767  in ListOfDouble theXYZlist,
4768  in boolean theIsNormalized);
4769 
4781  in ListOfDouble theUVlist,
4782  in boolean theIsNormalized);
4783 
4785 
4791  {
4794  };
4795 
4801  {
4802  long type;
4804  };
4805 
4806  typedef sequence<PairOfShape> SequenceOfPairOfShape;
4807  typedef sequence<CheckResult> CheckResults;
4808 
4815 
4822 
4838  in long theShapeType1,
4839  in long theShapeType2);
4840 
4847 
4861  in long theShapeType,
4862  in long theSubShapeType,
4863  in double theTolerance);
4864 
4871  double UpdateTolerance(in GEOM_Object theShape);
4872 
4879 
4886  void SetShapeSampling(in GEOM_Object theCalculator,
4887  in GEOM_Object theShape,
4888  in long theNbSamples);
4889 
4895  double GetCoarseProximity(in GEOM_Object theCalculator);
4896 
4902  double GetPreciseProximity(in GEOM_Object theCalculator);
4903 
4904  };
4905 
4906  // # GEOM_IGroupOperations:
4911  {
4918  GEOM_Object CreateGroup (in GEOM_Object theMainShape, in long theShapeType);
4919 
4926  void AddObject (in GEOM_Object theGroup, in long theSubShapeId);
4927 
4934  void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
4935 
4941  void UnionList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
4942 
4948  void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
4949 
4955  void UnionIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
4956 
4962  void DifferenceIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
4963 
4972  GEOM_Object UnionGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
4973 
4981  GEOM_Object IntersectGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
4982 
4991  GEOM_Object CutGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
4992 
5001 
5010 
5021  in ListOfGO theGList2);
5022 
5027  long GetType (in GEOM_Object theGroup);
5028 
5035 
5041  };
5042 
5043  // # GEOM_IFieldOperations:
5048  {
5053  in string name,
5054  in field_data_type type,
5055  in short dimension,
5056  in string_array componentNames);
5060  long CountFields(in GEOM_Object shape);
5061 
5066 
5070  GEOM_Field GetField(in GEOM_Object shape, in string name);
5071 
5075  long GetNbSubShapes(in GEOM_Object shape, in short fieldDim);
5076  };
5077 
5078  // # GEOM_ITestOperations:
5083  {
5092  boolean Tesselate(in GEOM_Object shape, in double linearDeflection,
5093  in boolean isRelative, in double angularDeflection);
5094  };
5095 
5096  // # GEOM_ICanonicalRecognition:
5101  {
5105  boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin);
5106 
5110  boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius);
5111 
5115  boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle);
5116 
5120  boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius);
5121 
5125  boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin);
5126 
5130  boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius);
5131 
5135  boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius);
5136  };
5137 
5138  // # GEOM_Gen:
5144  interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
5145  {
5150  void Undo ();
5151 
5152  void Redo ();
5153 
5161  SALOMEDS::SObject AddInStudy (in GEOM_BaseObject theObject,
5162  in string theName,
5163  in GEOM_BaseObject theFather);
5164 
5188  in ListOfGO theArgs,
5189  in find_shape_method theFindMethod,
5190  in boolean theInheritFirstArg,
5191  in boolean theAddPrefix);
5192 
5216  in ListOfGO theArgs,
5217  in find_shape_method theFindMethod,
5218  in boolean theInheritFirstArg,
5219  in boolean theAddPrefix);
5220 
5243  ListOfGO RestoreSubShapesSO (in SALOMEDS::SObject theSObject,
5244  in ListOfGO theArgs,
5245  in find_shape_method theFindMethod,
5246  in boolean theInheritFirstArg,
5247  in boolean theAddPrefix);
5248 
5249  // # Methods to access interfaces for objects creation and transformation
5250 
5251  GEOM_IBasicOperations GetIBasicOperations () raises (SALOME::SALOME_Exception);
5252  GEOM_ITransformOperations GetITransformOperations () raises (SALOME::SALOME_Exception);
5253  GEOM_I3DPrimOperations GetI3DPrimOperations () raises (SALOME::SALOME_Exception);
5254  GEOM_IShapesOperations GetIShapesOperations () raises (SALOME::SALOME_Exception);
5255  GEOM_IBooleanOperations GetIBooleanOperations () raises (SALOME::SALOME_Exception);
5256  GEOM_ICurvesOperations GetICurvesOperations () raises (SALOME::SALOME_Exception);
5257  GEOM_ILocalOperations GetILocalOperations () raises (SALOME::SALOME_Exception);
5258  GEOM_IHealingOperations GetIHealingOperations () raises (SALOME::SALOME_Exception);
5259  GEOM_IInsertOperations GetIInsertOperations () raises (SALOME::SALOME_Exception);
5260  GEOM_IMeasureOperations GetIMeasureOperations () raises (SALOME::SALOME_Exception);
5261  GEOM_IBlocksOperations GetIBlocksOperations () raises (SALOME::SALOME_Exception);
5262  GEOM_IGroupOperations GetIGroupOperations () raises (SALOME::SALOME_Exception);
5263  GEOM_IFieldOperations GetIFieldOperations () raises (SALOME::SALOME_Exception);
5264  GEOM_ITestOperations GetITestOperations () raises (SALOME::SALOME_Exception);
5265  GEOM_ICanonicalRecognition GetICanonicalRecognition() raises (SALOME::SALOME_Exception);
5266 
5267  GEOM_IOperations GetPluginOperations (in string theLibName) raises (SALOME::SALOME_Exception);
5268 
5269  // # Objects Management
5270 
5271 
5276  void RemoveObject (in GEOM_BaseObject theObject);
5277 
5283  GEOM_BaseObject GetObject (in string theEntry);
5284 
5292  GEOM_Object AddSubShape (in GEOM_Object theMainShape, in ListOfLong theIndices);
5293 
5294  // # GEOM_Objects IOR Management
5295 
5300  GEOM_Object GetIORFromString (in string theIOR);
5301 
5306  string GetStringFromIOR (in GEOM_Object theObject);
5307 
5312  string GetDumpName (in string theStudyEntry);
5313 
5318  string_array GetAllDumpNames();
5319 
5324  ListOfGO PublishNamedShapesInStudy(//in SObject theSObject,
5325  in Object theObject);
5326 
5339  SALOMEDS::SObject CreateFolder (in string theName,
5340  in SALOMEDS::SObject theFather);
5341 
5349  void MoveToFolder (in GEOM_Object theObject,
5350  in SALOMEDS::SObject theFolder);
5351 
5359  void MoveListToFolder (in ListOfGO theListOfGO,
5360  in SALOMEDS::SObject theFolder);
5361 
5371  void Move( in object_list what,
5372  in SALOMEDS::SObject where,
5373  in long row );
5374 
5381  SALOMEDS::TMPFile GetDependencyTree(in string_array theListOfEntries);
5382 
5394  void GetEntriesToReduceStudy(inout string_array theSelectedEntries,
5395  inout string_array theParentEntries,
5396  inout string_array theSubEntries,
5397  inout string_array theOtherEntries);
5398 
5399 
5400  /*
5401  * \brief Breaks links to parametrical mode for parametrical shape
5402  */
5403  void BreakLink(in string theEntry);
5404  };
5405 };
5406 
5407 #endif
static const TopTools_IndexedMapOfShape & theIndices
Definition: GEOMImpl_ShapeDriver.cxx:126
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:277
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:617
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:651
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:590
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:525
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:5145
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:1488
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:725
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:2853
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:3047
@ EXTRA_EDGE
Definition: GEOM_Gen.idl:3052
@ NOT_BLOCK
Definition: GEOM_Gen.idl:3049
@ NOT_CONNECTED
Definition: GEOM_Gen.idl:3058
@ INVALID_CONNECTION
Definition: GEOM_Gen.idl:3055
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:3076
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:3254
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 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 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 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.
Interface for canonical recognition operations.
Definition: GEOM_Gen.idl:5101
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:3409
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:5048
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:4911
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:3939
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.
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:4125
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:4221
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:4249
shape_kind
Definition: GEOM_Gen.idl:4250
@ CRV_BSPLINE
Definition: GEOM_Gen.idl:4309
@ DISK_CIRCLE
Definition: GEOM_Gen.idl:4284
@ PLANE
Definition: GEOM_Gen.idl:4290
@ PLANAR
Definition: GEOM_Gen.idl:4292
@ ARC_ELLIPSE
Definition: GEOM_Gen.idl:4303
@ POLYHEDRON
Definition: GEOM_Gen.idl:4271
@ COMPSOLID
Definition: GEOM_Gen.idl:4254
@ CIRCLE
Definition: GEOM_Gen.idl:4297
@ NO_SHAPE
Definition: GEOM_Gen.idl:4251
@ ELLIPSE
Definition: GEOM_Gen.idl:4301
@ LINE
Definition: GEOM_Gen.idl:4305
@ CYLINDER
Definition: GEOM_Gen.idl:4261
@ SHELL
Definition: GEOM_Gen.idl:4255
@ TORUS
Definition: GEOM_Gen.idl:4267
@ POLYGON
Definition: GEOM_Gen.idl:4288
@ FACE
Definition: GEOM_Gen.idl:4294
@ COMPOUND
Definition: GEOM_Gen.idl:4253
@ ARC_CIRCLE
Definition: GEOM_Gen.idl:4299
@ VERTEX
Definition: GEOM_Gen.idl:4319
@ CONE
Definition: GEOM_Gen.idl:4269
@ DISK_ELLIPSE
Definition: GEOM_Gen.idl:4286
@ SOLID
Definition: GEOM_Gen.idl:4273
@ TORUS2D
Definition: GEOM_Gen.idl:4280
@ ROTATED_BOX
Definition: GEOM_Gen.idl:4265
@ EDGE
Definition: GEOM_Gen.idl:4317
@ WIRE
Definition: GEOM_Gen.idl:4256
@ BOX
Definition: GEOM_Gen.idl:4263
@ CRV_BEZIER
Definition: GEOM_Gen.idl:4311
@ SEGMENT
Definition: GEOM_Gen.idl:4307
@ SPHERE
Definition: GEOM_Gen.idl:4259
@ HYPERBOLA
Definition: GEOM_Gen.idl:4313
@ LCS
Definition: GEOM_Gen.idl:4321
@ PARABOLA
Definition: GEOM_Gen.idl:4315
@ CYLINDER2D
Definition: GEOM_Gen.idl:4278
@ SPHERE2D
Definition: GEOM_Gen.idl:4276
@ CONE2D
Definition: GEOM_Gen.idl:4282
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:3755
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:4334
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:4807
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:4528
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:4806
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:4463
@ NoSurface
Definition: GEOM_Gen.idl:4490
@ NoCurveOnSurface
Definition: GEOM_Gen.idl:4473
@ EmptyWire
Definition: GEOM_Gen.idl:4485
@ InvalidPointOnCurveOnSurface
Definition: GEOM_Gen.idl:4466
@ InvalidPointOnCurve
Definition: GEOM_Gen.idl:4465
@ InvalidSameRangeFlag
Definition: GEOM_Gen.idl:4476
@ SelfIntersectingWire
Definition: GEOM_Gen.idl:4487
@ InvalidSameParameterFlag
Definition: GEOM_Gen.idl:4477
@ InvalidToleranceValue
Definition: GEOM_Gen.idl:4510
@ InvalidWire
Definition: GEOM_Gen.idl:4491
@ IntersectingWires
Definition: GEOM_Gen.idl:4493
@ InvalidImbricationOfWires
Definition: GEOM_Gen.idl:4494
@ FreeEdge
Definition: GEOM_Gen.idl:4480
@ InvalidCurveOnSurface
Definition: GEOM_Gen.idl:4474
@ SubshapeNotInShape
Definition: GEOM_Gen.idl:4505
@ InvalidCurveOnClosedSurface
Definition: GEOM_Gen.idl:4475
@ BadOrientation
Definition: GEOM_Gen.idl:4507
@ InvalidDegeneratedFlag
Definition: GEOM_Gen.idl:4478
@ InvalidRange
Definition: GEOM_Gen.idl:4482
@ RedundantEdge
Definition: GEOM_Gen.idl:4486
@ NotClosed
Definition: GEOM_Gen.idl:4502
@ RedundantWire
Definition: GEOM_Gen.idl:4492
@ InvalidMultiConnexity
Definition: GEOM_Gen.idl:4481
@ Multiple3DCurve
Definition: GEOM_Gen.idl:4471
@ InvalidPointOnSurface
Definition: GEOM_Gen.idl:4467
@ NotConnected
Definition: GEOM_Gen.idl:4503
@ Invalid3DCurve
Definition: GEOM_Gen.idl:4472
@ RedundantFace
Definition: GEOM_Gen.idl:4498
@ BadOrientationOfSubshape
Definition: GEOM_Gen.idl:4508
@ EmptyShell
Definition: GEOM_Gen.idl:4497
@ No3DCurve
Definition: GEOM_Gen.idl:4470
@ UnorientableShape
Definition: GEOM_Gen.idl:4501
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:685
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:1998
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 MakeWire(in ListOfGO theEdgesAndWires, in double theTolerance)
Create a wire from the set of edges and wires.
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.
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 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:2828
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:2812
@ EST_Modified
Modified sub-shapes.
Definition: GEOM_Gen.idl:2814
@ EST_Removed
Removed sub-shapes.
Definition: GEOM_Gen.idl:2813
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:5083
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:991
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:634
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:375
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:668
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:255
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:257
sequence< GEOM_BaseObject > ListOfGBO
Definition: GEOM_Gen.idl:268
sequence< SALOMEDS::SObject > object_list
Definition: GEOM_Gen.idl:270
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:265
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:269
sequence< CreationInformation > CreationInformationSeq
Definition: GEOM_Gen.idl:240
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:254
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
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:259
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:256
sequence< Parameter > Parameters
Definition: GEOM_Gen.idl:233
sequence< string > string_array
Definition: GEOM_Gen.idl:253
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:258
sequence< ModifInfo > ModifStatistics
Definition: GEOM_Gen.idl:250
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:236
string operationName
Definition: GEOM_Gen.idl:237
Parameters params
Definition: GEOM_Gen.idl:238
Description of Blocks Compound defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:3068
ListOfLong incriminated
Definition: GEOM_Gen.idl:3070
BCErrorType error
Definition: GEOM_Gen.idl:3069
Non-topological information transfer datum.
Definition: GEOM_Gen.idl:4212
long myNumber
Definition: GEOM_Gen.idl:4214
string myName
Definition: GEOM_Gen.idl:4213
long myMaxNumber
Definition: GEOM_Gen.idl:4215
Structure for store result of check store type of check as number and failed shapes.
Definition: GEOM_Gen.idl:4801
PairOfShape failedShapes
Definition: GEOM_Gen.idl:4803
long type
Definition: GEOM_Gen.idl:4802
Methods and structure for implement CheckConformity tool.
Definition: GEOM_Gen.idl:4791
GEOM_Object first
Definition: GEOM_Gen.idl:4792
GEOM_Object second
Definition: GEOM_Gen.idl:4793
Description of a shape defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:4520
ShapeErrorType error
Definition: GEOM_Gen.idl:4521
ListOfLong incriminated
Definition: GEOM_Gen.idl:4522
ListOfLong indices
Shape indices touched by this type of modification.
Definition: GEOM_Gen.idl:2825
ExtractionStatType type
Type of extraction statistics.
Definition: GEOM_Gen.idl:2824
Reporting on shape healing.
Definition: GEOM_Gen.idl:246
string name
Definition: GEOM_Gen.idl:247
long count
Definition: GEOM_Gen.idl:248
Object creation parameters.
Definition: GEOM_Gen.idl:229
string name
Definition: GEOM_Gen.idl:230
string value
Definition: GEOM_Gen.idl:231