Version: 9.16.0
Home
GEOM_Gen.idl
Go to the documentation of this file.
1// Copyright (C) 2007-2026 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
35module GEOM
36{
41 {
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
180
183
186 };
187
196 };
197
203 {
204 SI_V_V, // only V/V interferences
205 SI_V_E, // V/V and V/E interferences
206 SI_E_E, // V/V, V/E and E/E interferences
207 SI_V_F, // V/V, V/E, E/E and V/F interferences
208 SI_E_F, // V/V, V/E, E/E, V/F and E/F interferences
209 SI_ALL // all interferences
210 };
211
216 {
220 CC_LE
221 };
222
229 {
232
238
244 };
245
252 {
253 string name;
254 string value;
255 };
256 typedef sequence<Parameter> Parameters;
257
259 {
262 };
263 typedef sequence<CreationInformation> CreationInformationSeq;
264
269 {
270 string name; // what changed
271 long count; // how many times
272 };
273 typedef sequence<ModifInfo> ModifStatistics;
274
275
276 typedef sequence<string> string_array;
277 typedef sequence<short> short_array;
278 typedef sequence<boolean> ListOfBool;
279 typedef sequence<long> ListOfLong;
280 typedef sequence<double> ListOfDouble;
281 typedef sequence<ListOfDouble> ListOfListOfDouble;
282 typedef sequence<ListOfLong> ListOfListOfLong;
283
284 interface GEOM_Gen;
285 interface GEOM_Object;
286 interface GEOM_BaseObject;
287 interface GEOM_Field;
288 interface GEOM_FieldStep;
289
290 typedef sequence<GEOM_Object> ListOfGO;
291 typedef sequence<GEOM_BaseObject> ListOfGBO;
292 typedef sequence<GEOM_Field> ListOfFields;
293 typedef sequence<SALOMEDS::SObject> object_list;
294
295 //# GEOM_BaseObject
299 interface GEOM_BaseObject : SALOME::GenericObj
300 {
306 void SetName (in string theName);
307
311 string GetName();
312
319 string GetEntry();
320
326 long GetType();
327
331 long GetTick();
332
336 void SetStudyEntry (in string theEntry);
337
342
349
355
356 /*
357 * \brief Return true if geom object representes a shape.
358 *
359 * For example, method return false for GEOM_MARKER
360 */
361 boolean IsShape();
362
363 /*
364 * \brief Return true if passed object is identical to this object
365 *
366 * \param other object being compared with this one
367 */
368 boolean IsSame(in GEOM_BaseObject other);
369
375 void SetParameters (in string theParameters);
376
381
386
391 };
392
393 //# GEOM_Object
398 {
403
413
425
436
447
458 string GetSubShapeName(in long subID);
459
465 void SetColor(in SALOMEDS::Color theColor);
466
470 SALOMEDS::Color GetColor();
471
476 void SetAutoColor(in boolean theAutoColor);
477
481 boolean GetAutoColor();
482
488 void SetMarkerStd(in marker_type theType, in marker_size theSize );
489
496 void SetMarkerTexture(in long theTextureId);
497
503
509
515
519 long long getShape();
520
521 // ######################################################################
522 // # Internal methods (For sub-shape identification)
523 // ######################################################################
528 SALOMEDS::TMPFile GetShapeStream();
529
530 /*
531 * \brief Returns True if this object is not a sub-shape of another object.
532 */
533 boolean IsMainShape();
534
535 /*
536 * \brief Get a list of ID's of sub-shapes in the main shape.
537 * \note Internal method, suppopsed to be used only by GEOM_Client
538 */
540
541 /*
542 * \brief Get a main shape object to which this object is a sub-shape
543 * \note Internal method, suppopsed to be used only by GEOM_Client
544 */
546
547 /*
548 * \brief Returns true if the current object has connection to a parametrical model
549 * which can be modified by parameters change.
550 */
551 boolean IsParametrical();
552
553 };
554
555 //# GEOM_Field
560 {
565
570
576
581
585 //void RemoveComponent(in long number);
586
590 GEOM_FieldStep AddStep(in long stepID, in long stamp);
591
595 void RemoveStep(in long stepID);
596
601
606
610 GEOM_FieldStep GetStep(in long stepID);
611
618 };
619
620 // # GEOM_FieldStep:
625 {
629 void SetStamp(in long stamp);
630
634 long GetStamp();
635
639 long GetID();
640
645 };
646
647 // # GEOM_BoolFieldStep:
652 {
656 boolean SetValues(in short_array boolValues);
657
662 };
663
664 // # GEOM_IntFieldStep:
669 {
673 boolean SetValues(in ListOfLong intValues);
674
679 };
680
681 // # GEOM_DoubleFieldStep:
686 {
690 boolean SetValues(in ListOfDouble doubleValues);
691
696 };
697
698 // # GEOM_StringFieldStep:
703 {
707 boolean SetValues(in string_array strValues);
708
713 };
714
715 // # GEOM_IOperations:
719 interface GEOM_IOperations : SALOME::GenericObj
720 {
724 boolean IsDone();
725
731 void SetErrorCode (in string theErrorID);
732
736 string GetErrorCode();
737
742
747
752 };
753 //# GEOM_IBasicOperations:
760 {
768 GEOM_Object MakePointXYZ (in double theX, in double theY, in double theZ);
769
780 in double theX, in double theY, in double theZ);
781
791 in double theParameter,
792 in boolean takeOrientationIntoAccount);
793
804 in double theLength,
805 in GEOM_Object theStartPoint);
806
816 in double theXParameter,
817 in double theYParameter,
818 in double theZParameter);
819
829 in double theUParameter,
830 in double theVParameter);
831
841 in double theXParameter,
842 in double theYParameter,
843 in double theZParameter);
844
855 in long theNumberOfPnts);
856
863 in GEOM_Object theRefLine2);
864
874 in double theParameter);
875
884 in double theDY,
885 in double theDZ);
886
894
903
911
919
929 in GEOM_Object thePnt2,
930 in GEOM_Object thePnt3,
931 in double theTrimSize);
932
942 in GEOM_Object theVec,
943 in double theTrimSize);
944
952 in double theTrimSize);
953
962 in GEOM_Object theVec2,
963 in double theTrimSize);
964
973 in double theTrimSize,
974 in double theOrientation);
975
983 GEOM_Object MakeMarker (in double theOX , in double theOY , in double theOZ,
984 in double theXDX, in double theXDY, in double theXDZ,
985 in double theYDX, in double theYDY, in double theYDZ);
986
993
1002 in GEOM_Object theXVec, in GEOM_Object theYVec);
1003
1015 in double theParameterU,
1016 in double theParameterV,
1017 in double theTrimSize);
1018 };
1019
1026 {
1035 in GEOM_Object thePoint1,
1036 in GEOM_Object thePoint2);
1037
1047 in GEOM_Object thePoint1,
1048 in GEOM_Object thePoint2);
1049
1057 in double theDX, in double theDY, in double theDZ);
1058
1067 in double theDX, in double theDY, in double theDZ);
1068
1069
1077 in GEOM_Object theVector);
1078
1087 in GEOM_Object theVector);
1088
1099 in GEOM_Object theVector,
1100 in double theDistance,
1101 in boolean theCopy);
1102
1113 in GEOM_Object theVector,
1114 in double theStep,
1115 in long theNbTimes);
1116
1130 in GEOM_Object theVector1,
1131 in double theStep1,
1132 in long theNbTimes1,
1133 in GEOM_Object theVector2,
1134 in double theStep2,
1135 in long theNbTimes2);
1136
1146 in GEOM_Object theCentPoint,
1147 in GEOM_Object thePoint1,
1148 in GEOM_Object thePoint2);
1149
1150
1162 in GEOM_Object theCentPoint,
1163 in GEOM_Object thePoint1,
1164 in GEOM_Object thePoint2);
1165
1174 in GEOM_Object theAxis,
1175 in double theAngle);
1176
1177
1187 in GEOM_Object theAxis,
1188 in double theAngle);
1189
1201 in GEOM_Object theAxis,
1202 in long theNbObjects);
1203
1216 in GEOM_Object theAxis,
1217 in double theAngleStep,
1218 in long theNbSteps);
1219
1236 in GEOM_Object theAxis,
1237 in long theNbObjects,
1238 in double theRadialStep,
1239 in long theNbSteps);
1240
1258 in GEOM_Object theAxis,
1259 in double theAngleStep,
1260 in long theNbSteps1,
1261 in double theRadialStep,
1262 in long theNbSteps2);
1263
1281 in GEOM_Object theAxis,
1282 in double theAngleStep,
1283 in long theNbSteps1,
1284 in double theRadialStep,
1285 in long theNbSteps2);
1286
1293 GEOM_Object MirrorPlane (in GEOM_Object theObject, in GEOM_Object thePlane);
1294
1303
1311 GEOM_Object MirrorAxis (in GEOM_Object theObject, in GEOM_Object theAxis);
1312
1321
1328 GEOM_Object MirrorPoint (in GEOM_Object theObject, in GEOM_Object thePoint);
1329
1337
1346 in double theOffset,
1347 in boolean theJoinByPipes);
1348
1357 in double theOffset,
1358 in boolean theJoinByPipes);
1359
1369 in double theOffset,
1370 in ListOfLong theFacesIDs);
1371
1379
1392 double ProjectPointOnWire (in GEOM_Object thePoint,
1393 in GEOM_Object theWire,
1394 out GEOM_Object thePointOnEdge,
1395 out long theEdgeInWireIndex);
1396
1404 GEOM_Object ScaleShape (in GEOM_Object theObject, in GEOM_Object thePoint,
1405 in double theFactor);
1406
1415 in double theFactor);
1416
1425 in GEOM_Object thePoint,
1426 in double theFactorX,
1427 in double theFactorY,
1428 in double theFactorZ);
1429
1439 in GEOM_Object thePoint,
1440 in double theFactorX,
1441 in double theFactorY,
1442 in double theFactorZ);
1443
1456 in GEOM_Object theStartLCS,
1457 in GEOM_Object theEndLCS);
1458
1472 in GEOM_Object theStartLCS,
1473 in GEOM_Object theEndLCS);
1474
1486 in GEOM_Object thePath,
1487 in double theDistance,
1488 in boolean theCopy,
1489 in boolean theReverse);
1490
1497
1522 in double theRadius,
1523 in double theStartAngle,
1524 in double theAngleLength,
1525 in double theAngleRotation);
1526 };
1527
1535 {
1546 GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ);
1547
1556
1567 GEOM_Object MakeFaceHW (in double theH, in double theW, in short theOrientation);
1576 GEOM_Object MakeFaceObjHW (in GEOM_Object theObj, in double theH, in double theW);
1585 in GEOM_Object theVec,
1586 in double theR);
1593 in GEOM_Object thePnt2,
1594 in GEOM_Object thePnt3);
1595
1604 GEOM_Object MakeDiskR (in double theR, in short theOrientation);
1605
1615 GEOM_Object MakeCylinderRH (in double theR, in double theH);
1616
1627 GEOM_Object MakeCylinderRHA (in double theR, in double theH, in double theA);
1628
1638 in GEOM_Object theAxis,
1639 in double theR,
1640 in double theH);
1651 in GEOM_Object theAxis,
1652 in double theR,
1653 in double theH,
1654 in double theA);
1655
1668 GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH);
1669
1682 in GEOM_Object theAxis,
1683 in double theR1,
1684 in double theR2,
1685 in double theH);
1686
1693 GEOM_Object MakeTorusRR (in double theRMajor,
1694 in double theRMinor);
1695
1705 in GEOM_Object theVec,
1706 in double theRMajor,
1707 in double theRMinor);
1708
1714 GEOM_Object MakeSphereR (in double theR);
1715
1722 GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR);
1723
1735 in GEOM_Object theVec,
1736 in double theH);
1737 /* \brief The Same Prism but in 2 directions (forward&backward) */
1739 in GEOM_Object theVec,
1740 in double theH);
1741 /* \brief The Same as MakePrismVecH but with scaling */
1743 in GEOM_Object theVec,
1744 in double theH,
1745 in double theScaleFactor);
1746
1755 in GEOM_Object thePoint1,
1756 in GEOM_Object thePoint2);
1757 /* \brief The same prism but in two directions forward&backward */
1759 in GEOM_Object thePoint1,
1760 in GEOM_Object thePoint2);
1761 /* \brief The Same as MakePrismTwoPnt but with scaling */
1763 in GEOM_Object thePoint1,
1764 in GEOM_Object thePoint2,
1765 in double theScaleFactor);
1766
1774 in double theDX, in double theDY, in double theDZ);
1775 /* \brief The same prism but in two directions forward&backward */
1777 in double theDX, in double theDY, in double theDZ);
1778 /* \brief The Same as MakePrismDXDYDZ but with scaling */
1780 in double theDX, in double theDY, in double theDZ,
1781 in double theScaleFactor);
1782
1783
1796 in GEOM_Object theBase,
1797 in double theHeight,
1798 in double theAngle,
1799 in boolean theFuse,
1800 in boolean theInvert);
1801
1815 in GEOM_Object thePath,
1816 in boolean IsGenerateGroups);
1817
1830 in GEOM_Object theAxis,
1831 in double theAngle);
1832 /* The Same Revolution but in both ways forward&backward */
1834 in GEOM_Object theAxis,
1835 in double theAngle);
1836
1850 in long theMinDeg, in long theMaxDeg,
1851 in double theTol2D, in double theTol3D,
1852 in long theNbIter,
1853 in filling_oper_method theMethod,
1854 in boolean theApprox);
1855
1865 in boolean theModeSolid,
1866 in double thePreci,
1867 in boolean theRuled);
1868
1896 in ListOfGO theLocations,
1897 in GEOM_Object thePath,
1898 in boolean theWithContact ,
1899 in boolean theWithCorrection,
1900 in boolean IsBySteps,
1901 in boolean IsGenerateGroups);
1902
1927 in ListOfGO theSeqSubBases,
1928 in ListOfGO theLocations,
1929 in GEOM_Object thePath,
1930 in boolean theWithContact,
1931 in boolean theWithCorrection,
1932 in boolean IsGenerateGroups);
1933
1946 in ListOfGO theLocations,
1947 in boolean IsGenerateGroups);
1948
1967 in GEOM_Object thePath,
1968 in GEOM_Object theVec,
1969 in boolean IsGenerateGroups);
1970
1971
1989 in ListOfLong theFacesIDs,
1990 in double theThickness,
1991 in boolean isCopy,
1992 in boolean isInside);
1993
1994
2013 in GEOM_Object theBase1,
2014 in GEOM_Object theBase2);
2015
2034 in ListOfGO theBase1,
2035 in ListOfGO theBase2);
2036 };
2037
2045 {
2053
2065 in double theLength,
2066 in GEOM_Object theStartPoint);
2067
2076 in double theLinearTolerance,
2077 in double theAngularTolerance);
2078
2087 GEOM_Object MakeWire (in ListOfGO theEdgesAndWires,
2088 in double theTolerance,
2089 in wire_build_mode theMode);
2090
2098 GEOM_Object MakeFace (in GEOM_Object theWire, in boolean isPlanarWanted);
2099
2107 GEOM_Object MakeFaceWires (in ListOfGO theWires, in boolean isPlanarWanted);
2108
2116 in GEOM_Object theWire);
2117
2131 in ListOfGO theVertices,
2132 in double theTolerance);
2133
2143
2149 GEOM_Object MakeShell (in ListOfGO theFacesAndShells);
2150
2157
2164
2171
2179 GEOM_Object MakeSolidFromConnectedFaces (in ListOfGO theFacesOrShells, in boolean isIntersect);
2180
2188 GEOM_Object MakeGlueFaces (in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids);
2189
2196 ListOfGO GetGlueFaces (in ListOfGO theShapes, in double theTolerance);
2197
2210 GEOM_Object MakeGlueFacesByList (in ListOfGO theShapes, in double theTolerance,
2211 in ListOfGO theFaces, in boolean doKeepNonSolids,
2212 in boolean doGlueAllEdges);
2213
2220 GEOM_Object MakeGlueEdges (in ListOfGO theShapes, in double theTolerance);
2221
2228 ListOfGO GetGlueEdges (in ListOfGO theShapes, in double theTolerance);
2229
2239 in double theTolerance,
2240 in ListOfGO theEdges);
2241
2251 in boolean theGroupsOnly);
2252
2259 in long theShapeType,
2260 in boolean isSorted);
2261
2273 in long theShapeType,
2274 in boolean isSorted);
2275
2286 in long theShapeType,
2287 in boolean isSorted);
2288
2293 in long theShapeType,
2294 in boolean isSorted);
2295
2308 in long theShapeType,
2309 in boolean isSorted);
2310
2320 in long theID);
2321
2331 in ListOfLong theIndices);
2332
2339 long GetSubShapeIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2340
2347 ListOfLong GetSubShapesIndices (in GEOM_Object theMainShape, in ListOfGO theSubShapes);
2348
2358 long GetTopologyIndex (in GEOM_Object theMainShape, in GEOM_Object theSubShape);
2359
2369 string GetShapeTypeString (in GEOM_Object theShape);
2370
2384 boolean IsSubShapeBelongsTo( in GEOM_Object theSubObject,
2385 in long theSubObjectIndex,
2386 in GEOM_Object theObject,
2387 in long theObjectIndex);
2393 long NumberOfFaces (in GEOM_Object theShape);
2394
2400 long NumberOfEdges (in GEOM_Object theShape);
2401
2409 in long theShapeType);
2410
2417
2426
2435 in GEOM_Object theShape2,
2436 in long theShapeType);
2437
2452 in long theShapeType,
2453 in boolean theMultiShare);
2454
2466 in long theShapeType,
2467 in GEOM_Object theAx1,
2468 in shape_state theState);
2481 in long theShapeType,
2482 in GEOM_Object theAx1,
2483 in GEOM_Object thePnt,
2484 in shape_state theState);
2485
2486
2487
2500 in long theShapeType,
2501 in GEOM_Object theAxis,
2502 in double theRadius,
2503 in shape_state theState);
2504
2518 in long theShapeType,
2519 in GEOM_Object theAxis,
2520 in GEOM_Object thePnt,
2521 in double theRadius,
2522 in shape_state theState);
2523
2535 in long theShapeType,
2536 in GEOM_Object theCenter,
2537 in double theRadius,
2538 in shape_state theState);
2539
2553 in long theShapeType,
2554 in GEOM_Object theTopLeftPoint,
2555 in GEOM_Object theTopRightPoint,
2556 in GEOM_Object theBottomLeftPoint,
2557 in GEOM_Object theBottomRightPoint,
2558 in shape_state theState);
2559
2571 in long theShapeType,
2572 in GEOM_Object theAx1,
2573 in shape_state theState);
2574
2587 in long theShapeType,
2588 in GEOM_Object theAx1,
2589 in GEOM_Object thePnt,
2590 in shape_state theState);
2591
2604 in long theShapeType,
2605 in GEOM_Object theAxis,
2606 in double theRadius,
2607 in shape_state theState);
2608
2622 in long theShapeType,
2623 in GEOM_Object theAxis,
2624 in GEOM_Object thePnt,
2625 in double theRadius,
2626 in shape_state theState);
2627
2639 in long theShapeType,
2640 in GEOM_Object theCenter,
2641 in double theRadius,
2642 in shape_state theState);
2643
2657 in long theShapeType,
2658 in GEOM_Object theTopLeftPoint,
2659 in GEOM_Object theTopRightPoint,
2660 in GEOM_Object theBottomLeftPoint,
2661 in GEOM_Object theBottomRightPoint,
2662 in shape_state theState);
2663
2673 in GEOM_Object theShape,
2674 in long theShapeType,
2675 in shape_state theState);
2676
2686 in GEOM_Object theShape,
2687 in long theShapeType,
2688 in shape_state theState);
2689
2699 in GEOM_Object theShape,
2700 in short theShapeType,
2701 in shape_state theState);
2702
2712 in GEOM_Object theShape,
2713 in short theShapeType,
2714 in shape_state theState);
2715
2725 in GEOM_Object theShape,
2726 in short theShapeType,
2727 in shape_state theState);
2728
2738 in GEOM_Object theShapeWhat);
2739
2744 in GEOM_Object theShapeWhat);
2745
2762 in GEOM_Object theShapeWhat);
2763
2774 in GEOM_Object theShapeWhat);
2775
2784 in GEOM_Object theShapeWhat);
2785
2794 in GEOM_Object theShapeWhat);
2795
2808 in double theMin,
2809 in double theMax);
2810
2827 in double theUMin,
2828 in double theUMax,
2829 in double theVMin,
2830 in double theVMax);
2831
2842
2850 in GEOM_Object theStartPoint);
2851
2868 in short theShapeType,
2869 in comparison_condition theCondition,
2870 in double theTolerance);
2871
2877 {
2880 EST_Added
2882
2888 {
2891 };
2892
2893 typedef sequence<ExtractionStat> ExtractionStats;
2894
2906 in ListOfLong theSubShapeIDs,
2907 out ExtractionStats theStats);
2908
2909 };
2910
2911 // # GEOM_IBlocksOperations:
2918 {
2919
2920 // # Creation of blocks
2921
2929 in GEOM_Object theEdge2,
2930 in GEOM_Object theEdge3,
2931 in GEOM_Object theEdge4);
2932
2941 in GEOM_Object theEdge2);
2942
2951 in GEOM_Object thePnt2,
2952 in GEOM_Object thePnt3,
2953 in GEOM_Object thePnt4);
2954
2964 in GEOM_Object theFace2,
2965 in GEOM_Object theFace3,
2966 in GEOM_Object theFace4,
2967 in GEOM_Object theFace5,
2968 in GEOM_Object theFace6);
2969
2978 in GEOM_Object theFace2);
2979
2980
2981 // # Extract elements of blocks and blocks compounds
2982
2983
2993 in double theX,
2994 in double theY,
2995 in double theZ,
2996 in double theEpsilon);
2997
3005 in GEOM_Object thePoint);
3006
3014 in GEOM_Object thePoint1,
3015 in GEOM_Object thePoint2);
3016
3024 in GEOM_Object thePoint);
3025
3033 in GEOM_Object thePoint1,
3034 in GEOM_Object thePoint2,
3035 in GEOM_Object thePoint3,
3036 in GEOM_Object thePoint4);
3037
3045 in GEOM_Object theEdge1,
3046 in GEOM_Object theEdge2);
3047
3055 in GEOM_Object theFace);
3056
3064 in GEOM_Object thePoint);
3065
3073 in GEOM_Object theVector);
3074
3087 in GEOM_Object thePoint,
3088 in long theShapeType,
3089 in double theTolerance);
3090
3091 // # Extract blocks from blocks compounds
3092
3093
3103 boolean IsCompoundOfBlocks (in GEOM_Object theCompound,
3104 in long theMinNbFaces,
3105 in long theMaxNbFaces,
3106 out long theNbBlocks);
3107
3112 {
3113 /* Each element of the compound should be a Block */
3115
3116 /* An element is a potential block, but has degenerated and/or seam edge(s). */
3118
3119 /* A connection between two Blocks should be an entire face or an entire edge */
3121
3122 /* The compound should be connexe */
3124
3125 /* The glue between two quadrangle faces should be applied */
3126 NOT_GLUED
3128
3132 struct BCError
3133 {
3136 };
3137
3141 typedef sequence<BCError> BCErrors;
3142
3160 boolean CheckCompoundOfBlocks (in GEOM_Object theCompound,
3161 in double theToleranceC1,
3162 out BCErrors theErrors);
3163
3171 string PrintBCErrors (in GEOM_Object theCompound,
3172 in BCErrors theErrors);
3173
3187 in double theToleranceC1,
3188 out GEOM_Object theNonQuads);
3189
3202 in long theOptimumNbFaces);
3203
3212
3222
3233 in long theMinNbFaces,
3234 in long theMaxNbFaces);
3235
3244 in GEOM_Object thePoint);
3245
3253 in ListOfGO theParts);
3254
3262 in ListOfGO theParts);
3263
3264 // # Operations on blocks with gluing of result
3265
3279 in long theDirFace1,
3280 in long theDirFace2,
3281 in long theNbTimes);
3282
3292 in long theDirFace1U,
3293 in long theDirFace2U,
3294 in long theNbTimesU,
3295 in long theDirFace1V,
3296 in long theDirFace2V,
3297 in long theNbTimesV);
3298
3299 // # Special operation - propagation
3300
3301
3312 };
3313
3314 // # GEOM_IBooleanOperations
3319 {
3331 in GEOM_Object theShape2,
3332 in long theOperation,
3333 in boolean IsCheckSelfInte);
3345 in GEOM_Object theShape2,
3346 in boolean IsCheckSelfInte,
3347 in boolean IsRmExtraEdges);
3348
3359 in boolean IsCheckSelfInte,
3360 in boolean IsRmExtraEdges);
3361
3370 in boolean IsCheckSelfInte);
3371
3381 in ListOfGO theShapes,
3382 in boolean IsCheckSelfInte);
3383
3411 in ListOfGO theTools,
3412 in ListOfGO theKeepInside,
3413 in ListOfGO theRemoveInside,
3414 in short theLimit,
3415 in boolean theRemoveWebs,
3416 in ListOfLong theMaterials,
3417 in short theKeepNonlimitShapes);
3418
3437 in ListOfGO theTools,
3438 in ListOfGO theKeepInside,
3439 in ListOfGO theRemoveInside,
3440 in short theLimit,
3441 in boolean theRemoveWebs,
3442 in ListOfLong theMaterials,
3443 in short theKeepNonlimitShapes,
3444 in boolean IsCheckSelfInte);
3445
3464 in GEOM_Object thePlane);
3465
3493 in GEOM_Object theShape2,
3494 in long theOperation,
3495 in boolean IsCheckSelfInte,
3496 in double theFuzzyParam);
3510 in GEOM_Object theShape2,
3511 in boolean IsCheckSelfInte,
3512 in boolean IsRmExtraEdges,
3513 in double theFuzzyParam);
3514
3527 in boolean IsCheckSelfInte,
3528 in boolean IsRmExtraEdges,
3529 in double theFuzzyParam);
3530
3541 in boolean IsCheckSelfInte,
3542 in double theFuzzyParam);
3543
3555 in ListOfGO theShapes,
3556 in boolean IsCheckSelfInte,
3557 in double theFuzzyParam);
3558
3588 in ListOfGO theTools,
3589 in ListOfGO theKeepInside,
3590 in ListOfGO theRemoveInside,
3591 in short theLimit,
3592 in boolean theRemoveWebs,
3593 in ListOfLong theMaterials,
3594 in short theKeepNonlimitShapes,
3595 in double theFuzzyParam);
3596
3617 in ListOfGO theTools,
3618 in ListOfGO theKeepInside,
3619 in ListOfGO theRemoveInside,
3620 in short theLimit,
3621 in boolean theRemoveWebs,
3622 in ListOfLong theMaterials,
3623 in short theKeepNonlimitShapes,
3624 in boolean IsCheckSelfInte,
3625 in double theFuzzyParam);
3626
3647 in GEOM_Object thePlane,
3648 in double theFuzzyParam);
3649 };
3650
3651 // # GEOM_ICurvesOperations:
3658 {
3667 in GEOM_Object theVec,
3668 in double theR);
3675 in GEOM_Object thePnt2,
3676 in GEOM_Object thePnt3);
3684 in GEOM_Object thePnt2,
3685 in GEOM_Object thePnt3);
3695 in GEOM_Object theVec,
3696 in double theRMajor,
3697 in double theRMinor);
3698
3709 in GEOM_Object theVec,
3710 in double theRMajor,
3711 in double theRMinor,
3712 in GEOM_Object theVecMaj);
3713
3722 in GEOM_Object thePnt2,
3723 in GEOM_Object thePnt3);
3724
3734 in GEOM_Object thePnt1,
3735 in GEOM_Object thePnt2,
3736 in boolean theSense);
3737
3747 in GEOM_Object thePnt1,
3748 in GEOM_Object thePnt2);
3749
3750
3758 in boolean theIsClosed);
3759
3767 in boolean theIsClosed);
3768
3778 in boolean theIsClosed,
3779 in boolean theDoReordering);
3780
3789 in GEOM_Object theFirstVec,
3790 in GEOM_Object theLastVec);
3791
3804 in string theyExpr,
3805 in string thezExpr,
3806 in double theParamMin,
3807 in double theParamMax,
3808 in double theParamStep,
3809 in curve_type theCurveType);
3810
3823 in string theyExpr,
3824 in string thezExpr,
3825 in double theParamMin,
3826 in double theParamMax,
3827 in long theParamNbStep,
3828 in curve_type theCurveType);
3829
3841 in boolean IsUIsoline,
3842 in double theParameter);
3843
3879 GEOM_Object MakeSketcher (in string theCommand, in ListOfDouble theWorkingPlane);
3880
3892 GEOM_Object MakeSketcherOnPlane (in string theCommand, in GEOM_Object theWorkingPlane);
3893
3918 GEOM_Object Make3DSketcherCommand (in string theCommand);
3919
3931
3960 in string_array theNamesList,
3961 in short_array theTypesList,
3962 in ListOfBool theClosedList,
3963 in ListOfDouble theWorkingPlane);
3964
3992 in string_array theNamesList,
3993 in short_array theTypesList,
3994 in ListOfBool theClosedList,
3995 in GEOM_Object theWorkingPlane);
3996
3997 };
3998
3999 // # GEOM_ILocalOperations:
4004 {
4012 in double theR);
4013
4024 in double theR,
4025 in ListOfLong theEdges);
4027 in double theR1,
4028 in double theR2,
4029 in ListOfLong theEdges);
4030
4041 in double theR,
4042 in ListOfLong theFaces);
4043
4045 in double theR1,
4046 in double theR2,
4047 in ListOfLong theFaces);
4048
4059 in double theR,
4060 in ListOfLong theVertexes);
4061
4080 in double theR,
4081 in ListOfLong theVertexes,
4082 in boolean doIgnoreSecantVertices);
4083
4091 in double theD);
4092
4105 in double theD1, in double theD2,
4106 in long theFace1, in long theFace2);
4112 in double theD, in double theAngle,
4113 in long theFace1, in long theFace2);
4114
4129 in double theD1, in double theD2,
4130 in ListOfLong theFaces);
4136 in double theD, in double theAngle,
4137 in ListOfLong theFaces);
4138
4148 in double theD1, in double theD2,
4149 in ListOfLong theEdges);
4155 in double theD, in double theAngle,
4156 in ListOfLong theEdges);
4157
4169 in double theWeight,
4170 in double theWaterDensity,
4171 in double theMeshDeflection);
4172
4178 long GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape);
4179 };
4180
4181 // # GEOM_IHealingOperations:
4188 {
4200 in string_array theOperators,
4201 in string_array theParameters,
4202 in string_array theValues);
4203
4216 out string_array theParameters,
4217 out string_array theValues);
4228 void GetOperatorParameters (in string theOperator,
4229 out string_array theParameters,
4230 out string_array theValues);
4231
4240
4251 in boolean isCommonVertex);
4252
4261
4269 GEOM_Object FillHoles (in GEOM_Object theObject, in short_array theWires);
4270
4277 GEOM_Object Sew (in ListOfGO theObjects, in double theTolerance);
4278
4285 GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance);
4286
4294
4306 GEOM_Object DivideEdge (in GEOM_Object theObject, in short theEdgeIndex,
4307 in double theValue, in boolean isByParameter);
4308
4319 in short theEdgeIndex,
4320 in ListOfGO thePoints);
4321
4330 in ListOfGO theVertices);
4331
4340 boolean GetFreeBoundary (in ListOfGO theObjects,
4341 out ListOfGO theClosedWires,
4342 out ListOfGO theOpenWires);
4343
4351
4362 in double theTolerance,
4363 in boolean theExactAdjust);
4364
4373 void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args);
4374
4375
4381 };
4382
4383 // # GEOM_IInsertOperations:
4389 {
4394
4404 void Export (in GEOM_Object theObject, in string theFileName, in string theFormatName);
4405
4419 ListOfGBO ImportFile (in string theFileName, in string theFormatName);
4420
4431 string ReadValue (in string theFileName, in string theFormatName, in string theParameterName);
4432
4439 GEOM_Object RestoreShape (in SALOMEDS::TMPFile theStream);
4440
4446 long LoadTexture(in string theTextureFile);
4447
4455 long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture);
4456
4464 SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight);
4465
4471
4476 {
4477 string myName;
4480 };
4481
4485 typedef sequence<TransferDatum> ListOfTransferDatum;
4486
4501 boolean TransferData(in GEOM_Object theObjectFrom,
4502 in GEOM_Object theObjectTo,
4503 in find_shape_method theFindMethod,
4504 out ListOfTransferDatum theResult);
4505
4506 };
4507
4508 // # GEOM_IKindOfShape:
4513 {
4516 //COMPOSITEs
4521 // SOLIDs
4538 // FACEs
4559 // EDGEs
4582 // VERTEX
4584 // ADVANCED shapes
4587 ADVANCED
4589 };
4590
4591 // # GEOM_IMeasureOperations:
4598 {
4609 //short KindOfShape (in GEOM_Object theShape,
4611 out ListOfLong theIntegers,
4612 out ListOfDouble theDoubles);
4613
4625 void GetPosition (in GEOM_Object theShape,
4626 out double Ox, out double Oy, out double Oz,
4627 out double Zx, out double Zy, out double Zz,
4628 out double Xx, out double Xy, out double Xz);
4629
4641 in double theTolerance,
4642 out double theLength,
4643 out double theSurfArea,
4644 out double theVolume);
4645
4652
4653 /*
4654 * Get the vertex by index for 1D objects
4655 * \param theShape Shape (wire or edge) to find the vertex on it
4656 * \param theIndex Index of vertex sub-shape
4657 * \param theUseOri To consider edge/wire orientation or not
4658 * \return New GEOM_Object, vertex.
4659 */
4660 GEOM_Object GetVertexByIndex( in GEOM_Object theShape, in long theIndex, in boolean theUseOri );
4661
4671 in GEOM_Object theOptionalPoint);
4672
4680 void GetInertia (in GEOM_Object theShape,
4681 out double I11, out double I12, out double I13,
4682 out double I21, out double I22, out double I23,
4683 out double I31, out double I32, out double I33,
4684 out double Ix , out double Iy , out double Iz);
4685
4695 void GetBoundingBox (in GEOM_Object theShape,
4696 in boolean precise,
4697 out double Xmin, out double Xmax,
4698 out double Ymin, out double Ymax,
4699 out double Zmin, out double Zmax);
4700
4708 in boolean precise);
4709
4718 void GetTolerance (in GEOM_Object theShape,
4719 out double FaceMin, out double FaceMax,
4720 out double EdgeMin, out double EdgeMax,
4721 out double VertMin, out double VertMax);
4722
4727 {
4728 /* for vertices */
4732
4733 /* for edges */
4743
4747
4748 /* for wires */
4751 SelfIntersectingWire, /* on a face */
4752
4753 /* for faces */
4759
4760 /* for shells */
4763
4764 /* for shapes */
4768
4770
4773
4775
4776 /* for exception */
4777 CheckFail
4779
4784 {
4787 };
4788
4792 typedef sequence<ShapeError> ShapeErrors;
4793
4800 boolean CheckShape (in GEOM_Object theShape,
4801 out ShapeErrors theErrors);
4802
4810 out ShapeErrors theErrors);
4811
4820 boolean CheckShapeOpts (in GEOM_Object theShape,
4821 in boolean theWithGeometry,
4822 in boolean theExact,
4823 out ShapeErrors theErrors);
4824
4832 string PrintShapeErrors (in GEOM_Object theShape,
4833 in ShapeErrors theErrors);
4834
4835 // /*!
4836 // * \brief Extract and identify any problem in the source shapes used in a Boolean Operation.
4837 // * \param theShapes Shapes being used in the Boolean Operation
4838 // * \param theUseTimer Whether to chronometrize computation time
4839 // * \param theTopoOnly Whether to check topology only
4840 // * \param theRunParallel Whether to run the computations in parallel
4841 // * \param theDoExact Whether to perform exact checking
4842 // * \param theResultShape Output parameter. The result of BOP General Fuse. Indices of its sub-shapes are reported in theErrors structure.
4843 // * \param theErrors Output parameter. Structure, containing discovered errors and incriminated sub-shapes.
4844 // * \return TRUE, if the input shapes "seem to be valid" for BOP.
4845 // */
4846 boolean ExtractBOPFailure (in ListOfGO theShapes,
4847 in boolean theUseTimer,
4848 in boolean theTopoOnly,
4849 in boolean theRunParallel,
4850 in boolean theDoExact,
4851 out GEOM_Object theResultShape,
4852 out ShapeErrors theErrors);
4853
4862 in long theCheckLevel,
4863 out ListOfLong theIntersections);
4864
4876 in float theDeflection,
4877 in double theTolerance,
4878 out ListOfLong theIntersections);
4879
4886 boolean CheckBOPArguments (in GEOM_Object theShape);
4887
4901 boolean FastIntersect (in GEOM_Object theShape1,
4902 in GEOM_Object theShape2,
4903 in double theTolerance,
4904 in float theDeflection,
4905 out ListOfLong theIntersections1,
4906 out ListOfLong theIntersections2);
4907
4913 string IsGoodForSolid (in GEOM_Object theShape);
4914
4920 string WhatIs (in GEOM_Object theShape);
4921
4930 ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance);
4931
4939 double GetMinDistance (in GEOM_Object theShape1, in GEOM_Object theShape2,
4940 out double X1, out double Y1, out double Z1,
4941 out double X2, out double Y2, out double Z2);
4942
4949 long ClosestPoints (in GEOM_Object theShape1,
4950 in GEOM_Object theShape2,
4951 out ListOfDouble theCoords);
4952
4958 double GetAngle (in GEOM_Object theShape1, in GEOM_Object theShape2);
4959
4965 double GetAngleBtwVectors (in GEOM_Object theShape1, in GEOM_Object theShape2);
4966
4976
4980 void PointCoordinates (in GEOM_Object theShape, out double X, out double Y, out double Z);
4981
4988 double CurveCurvatureByParam (in GEOM_Object theShape, in double theParam);
4989
4996 double CurveCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
4997
5005 double MaxSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
5006 in double theVParam);
5007
5014 double MaxSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
5015
5023 double MinSurfaceCurvatureByParam (in GEOM_Object theShape, in double theUParam,
5024 in double theVParam);
5025
5032 double MinSurfaceCurvatureByPoint (in GEOM_Object theShape, in GEOM_Object thePoint);
5033
5049 in GEOM_Object thePoint,
5050 in GEOM_Object theDirection);
5051
5063 in ListOfDouble theXYZlist,
5064 in boolean theIsNormalized);
5065
5077 in ListOfDouble theUVlist,
5078 in boolean theIsNormalized);
5079
5081
5087 {
5090 };
5091
5097 {
5098 long type;
5100 };
5101
5102 typedef sequence<PairOfShape> SequenceOfPairOfShape;
5103 typedef sequence<CheckResult> CheckResults;
5104
5111
5118
5134 in long theShapeType1,
5135 in long theShapeType2);
5136
5143
5157 in long theShapeType,
5158 in long theSubShapeType,
5159 in double theTolerance);
5160
5167 double UpdateTolerance(in GEOM_Object theShape);
5168
5175
5182 void SetShapeSampling(in GEOM_Object theCalculator,
5183 in GEOM_Object theShape,
5184 in long theNbSamples);
5185
5191 double GetCoarseProximity(in GEOM_Object theCalculator);
5192
5198 double GetPreciseProximity(in GEOM_Object theCalculator);
5199
5200 };
5201
5202 // # GEOM_IGroupOperations:
5207 {
5214 GEOM_Object CreateGroup (in GEOM_Object theMainShape, in long theShapeType);
5215
5222 void AddObject (in GEOM_Object theGroup, in long theSubShapeId);
5223
5230 void RemoveObject (in GEOM_Object theGroup, in long theSubShapeId);
5231
5237 void UnionList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5238
5244 void DifferenceList (in GEOM_Object theGroup, in ListOfGO theSubShapes);
5245
5251 void UnionIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5252
5258 void DifferenceIDs (in GEOM_Object theGroup, in ListOfLong theSubShapes);
5259
5268 GEOM_Object UnionGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5269
5278
5287 GEOM_Object CutGroups (in GEOM_Object theGroup1, in GEOM_Object theGroup2);
5288
5297
5306
5317 in ListOfGO theGList2);
5318
5323 long GetType (in GEOM_Object theGroup);
5324
5331
5337 };
5338
5339 // # GEOM_IFieldOperations:
5344 {
5349 in string name,
5350 in field_data_type type,
5351 in short dimension,
5352 in string_array componentNames);
5356 long CountFields(in GEOM_Object shape);
5357
5362
5366 GEOM_Field GetField(in GEOM_Object shape, in string name);
5367
5371 long GetNbSubShapes(in GEOM_Object shape, in short fieldDim);
5372 };
5373
5374 // # GEOM_ITestOperations:
5379 {
5388 boolean Tesselate(in GEOM_Object shape, in double linearDeflection,
5389 in boolean isRelative, in double angularDeflection);
5390 };
5391
5392 // # GEOM_ICanonicalRecognition:
5397 {
5401 boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin);
5402
5406 boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius);
5407
5411 boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle);
5412
5416 boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius);
5417
5421 boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin);
5422
5426 boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius);
5427
5431 boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius);
5432 };
5433
5434 // # GEOM_Gen:
5440 interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
5441 {
5446 void Undo ();
5447
5448 void Redo ();
5449
5457 SALOMEDS::SObject AddInStudy (in GEOM_BaseObject theObject,
5458 in string theName,
5459 in GEOM_BaseObject theFather);
5460
5484 in ListOfGO theArgs,
5485 in find_shape_method theFindMethod,
5486 in boolean theInheritFirstArg,
5487 in boolean theAddPrefix);
5488
5512 in ListOfGO theArgs,
5513 in find_shape_method theFindMethod,
5514 in boolean theInheritFirstArg,
5515 in boolean theAddPrefix);
5516
5539 ListOfGO RestoreSubShapesSO (in SALOMEDS::SObject theSObject,
5540 in ListOfGO theArgs,
5541 in find_shape_method theFindMethod,
5542 in boolean theInheritFirstArg,
5543 in boolean theAddPrefix);
5544
5545 // # Methods to access interfaces for objects creation and transformation
5546
5547 GEOM_IBasicOperations GetIBasicOperations () raises (SALOME::SALOME_Exception);
5548 GEOM_ITransformOperations GetITransformOperations () raises (SALOME::SALOME_Exception);
5549 GEOM_I3DPrimOperations GetI3DPrimOperations () raises (SALOME::SALOME_Exception);
5550 GEOM_IShapesOperations GetIShapesOperations () raises (SALOME::SALOME_Exception);
5551 GEOM_IBooleanOperations GetIBooleanOperations () raises (SALOME::SALOME_Exception);
5552 GEOM_ICurvesOperations GetICurvesOperations () raises (SALOME::SALOME_Exception);
5553 GEOM_ILocalOperations GetILocalOperations () raises (SALOME::SALOME_Exception);
5554 GEOM_IHealingOperations GetIHealingOperations () raises (SALOME::SALOME_Exception);
5555 GEOM_IInsertOperations GetIInsertOperations () raises (SALOME::SALOME_Exception);
5556 GEOM_IMeasureOperations GetIMeasureOperations () raises (SALOME::SALOME_Exception);
5557 GEOM_IBlocksOperations GetIBlocksOperations () raises (SALOME::SALOME_Exception);
5558 GEOM_IGroupOperations GetIGroupOperations () raises (SALOME::SALOME_Exception);
5559 GEOM_IFieldOperations GetIFieldOperations () raises (SALOME::SALOME_Exception);
5560 GEOM_ITestOperations GetITestOperations () raises (SALOME::SALOME_Exception);
5561 GEOM_ICanonicalRecognition GetICanonicalRecognition() raises (SALOME::SALOME_Exception);
5562
5563 GEOM_IOperations GetPluginOperations (in string theLibName) raises (SALOME::SALOME_Exception);
5564
5565 // # Objects Management
5566
5567
5572 void RemoveObject (in GEOM_BaseObject theObject);
5573
5579 GEOM_BaseObject GetObject (in string theEntry);
5580
5588 GEOM_Object AddSubShape (in GEOM_Object theMainShape, in ListOfLong theIndices);
5589
5590 // # GEOM_Objects IOR Management
5591
5596 GEOM_Object GetIORFromString (in string theIOR);
5597
5602 string GetStringFromIOR (in GEOM_Object theObject);
5603
5608 string GetDumpName (in string theStudyEntry);
5609
5614 string_array GetAllDumpNames();
5615
5620 ListOfGO PublishNamedShapesInStudy(//in SObject theSObject,
5621 in Object theObject);
5622
5635 SALOMEDS::SObject CreateFolder (in string theName,
5636 in SALOMEDS::SObject theFather);
5637
5645 void MoveToFolder (in GEOM_Object theObject,
5646 in SALOMEDS::SObject theFolder);
5647
5655 void MoveListToFolder (in ListOfGO theListOfGO,
5656 in SALOMEDS::SObject theFolder);
5657
5667 void Move( in object_list what,
5668 in SALOMEDS::SObject where,
5669 in long row );
5670
5677 SALOMEDS::TMPFile GetDependencyTree(in string_array theListOfEntries);
5678
5690 void GetEntriesToReduceStudy(inout string_array theSelectedEntries,
5691 inout string_array theParentEntries,
5692 inout string_array theSubEntries,
5693 inout string_array theOtherEntries);
5694
5695
5696 /*
5697 * \brief Breaks links to parametrical mode for parametrical shape
5698 */
5699 void BreakLink(in string theEntry);
5700 };
5701};
5702
5703#endif
A common root of objects in GEOM module.
Definition: GEOM_Gen.idl:300
string GetEntry()
Get internal (unique) entry of the object in the GEOM component's data tree.
string GetParameters()
Return list of notebook variables used for object creation separated by ":" symbol.
CreationInformationSeq GetCreationInformation()
Return name of operation and values of parameters used for object creation.
boolean IsSame(in GEOM_BaseObject other)
long GetType()
Get internal type of operation created this object (POINT, BOX, CYLINDER, EXTRUSION....
long GetTick()
Get value of a modification counter of the object.
GEOM_Gen GetGen()
Return the engine creating this object.
void SetName(in string theName)
Set name of the object.
ListOfGBO GetLastDependency()
Get a list of GEOM_Object on which the last function that created or modified the object depends.
void SetStudyEntry(in string theEntry)
Set a Study entry where this object was published.
ListOfGBO GetDependency()
Get a list of all GEOM_Object on which were the arguments when this object was constructed and modifi...
string GetStudyEntry()
Get a Study entry where this object was published.
string GetName()
Get name of the object associated with this object.
void SetParameters(in string theParameters)
Interface of the boolean field time step.
Definition: GEOM_Gen.idl:652
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:686
ListOfDouble GetValues()
Returns values of the field step.
boolean SetValues(in ListOfDouble doubleValues)
Changes values of the field step. Returns false if number of values is wrong.
Interface of the field time step.
Definition: GEOM_Gen.idl:625
long GetStamp()
Returns the time of the field step.
void SetStamp(in long stamp)
Changes the time of the field step.
GEOM_Field GetField()
Returns the field the step belongs to.
long GetID()
Returns the number of the field step.
Interface of the field.
Definition: GEOM_Gen.idl:560
GEOM_FieldStep GetStep(in long stepID)
Returns a time step by its ID.
GEOM_Object GetShape()
Returns the shape the field lies on.
ListOfLong GetSteps()
Returns a list of time step IDs in the field.
void RemoveStep(in long stepID)
Remove a time step from the field.
string_array GetComponents()
Returns names of components.
long GetArraySize()
Returns a size of data array that is to be passed to GEOM_FieldStep.SetValues( dataArray )....
short GetDimension()
Returns dimension of the shape the field lies on 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID,...
field_data_type GetDataType()
Returns type of field data.
GEOM_FieldStep AddStep(in long stepID, in long stamp)
Removes a component. Component number counts from one.
long CountSteps()
Returns number of time steps in the field.
Interface to access other GEOM interfaces.
Definition: GEOM_Gen.idl:5441
SALOMEDS::SObject AddInStudy(in GEOM_BaseObject theObject, in string theName, in GEOM_BaseObject theFather)
Publishing management.
void Undo()
Undo/Redo Management.
GEOM_IBasicOperations GetIBasicOperations()
ListOfGO RestoreSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreGivenSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreSubShapesSO(in SALOMEDS::SObject theSObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
Interface for 3D primitives creation.
Definition: GEOM_Gen.idl:1535
GEOM_Object MakeBoxDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coor...
GEOM_Object MakePrismTwoPntWithScaling(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in double theScaleFactor)
GEOM_Object MakePrismVecH2Ways(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
GEOM_Object MakeDiskR(in double theR, in short theOrientation)
Create a disk specified dimensions along OX-OY coordinate axes.
GEOM_Object MakePrismDXDYDZ2Ways(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
ListOfGO MakePipe(in GEOM_Object theBase, in GEOM_Object thePath, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape. The path shape can be a wire or a...
GEOM_Object MakeTorusPntVecRR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create a torus with given center, normal vector and radiuses.
GEOM_Object MakeCylinderRH(in double theR, in double theH)
Create a cylinder with given radius and height at the origin of coordinate system.
GEOM_Object MakeCylinderPntVecRHA(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH, in double theA)
Create a portion of cylinder with given base point, axis, radius, height and angle.
GEOM_Object MakeFaceObjHW(in GEOM_Object theObj, in double theH, in double theW)
Create a face by normale vector or edge and two specified sizes, vertical (H) and horisontal (W).
GEOM_Object MakeTorusRR(in double theRMajor, in double theRMinor)
Create a torus with given radiuses at the origin of coordinate system.
ListOfGO MakePipeBiNormalAlongVector(in GEOM_Object theBase, in GEOM_Object thePath, in GEOM_Object theVec, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction ...
GEOM_Object MakeRevolutionAxisAngle(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
Create a shape by revolution of the base shape around the axis on the given angle.
GEOM_Object MakeFilling(in ListOfGO theContours, in long theMinDeg, in long theMaxDeg, in double theTol2D, in double theTol3D, in long theNbIter, in filling_oper_method theMethod, in boolean theApprox)
Create a face from a given set of contours.
GEOM_Object MakeSphereR(in double theR)
Create a sphere with given radius at the origin of coordinate system.
GEOM_Object MakeRevolutionAxisAngle2Ways(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
GEOM_Object MakeCylinderRHA(in double theR, in double theH, in double theA)
Create a portion of cylinder with given radius, height and angle at the origin of coordinate system.
ListOfGO MakePipeShellsWithoutPath(in ListOfGO theSeqBases, in ListOfGO theLocations, in boolean IsGenerateGroups)
Create solids between given sections.
GEOM_Object MakeFaceHW(in double theH, in double theW, in short theOrientation)
Create a face specified dimensions along OX-OY coordinate axes, with edges parallel to the coordinate...
GEOM_Object MakePrismTwoPnt(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Create a shape by extrusion of the base shape along a vector, defined by two points.
GEOM_Object MakeDiskThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a disk (circular face), passing through three given points.
GEOM_Object MakeSpherePntR(in GEOM_Object thePnt, in double theR)
Create a sphere with given center and radius.
GEOM_Object RestorePath(in GEOM_Object theShape, in GEOM_Object theBase1, in GEOM_Object theBase2)
Build a middle path of a pipe-like shape.
GEOM_Object MakeThickening(in GEOM_Object theObject, in ListOfLong theFacesIDs, in double theThickness, in boolean isCopy, in boolean isInside)
Make a thick solid from a shape.
ListOfGO MakePipeWithShellSections(in ListOfGO theSeqBases, in ListOfGO theSeqSubBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakePrismTwoPnt2Ways(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object MakeDraftPrism(in GEOM_Object theInitShape, in GEOM_Object theBase, in double theHeight, in double theAngle, in boolean theFuse, in boolean theInvert)
Add / Remove material to / from a solid by extrusion of the base shape on the given distance.
GEOM_Object MakeThruSections(in ListOfGO theSeqSections, in boolean theModeSolid, in double thePreci, in boolean theRuled)
Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices.
GEOM_Object MakeCylinderPntVecRH(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH)
Create a cylinder with given base point, axis, radius and height.
GEOM_Object MakeBoxTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes.
ListOfGO MakePipeWithDifferentSections(in ListOfGO theSeqBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsBySteps, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakeConeR1R2H(in double theR1, in double theR2, in double theH)
Create a cone with given height and radiuses at the origin of coordinate system.
GEOM_Object MakePrismVecHWithScaling(in GEOM_Object theBase, in GEOM_Object theVec, in double theH, in double theScaleFactor)
GEOM_Object MakePrismDXDYDZ(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
Create a shape by extrusion of the base shape along a vector, defined by DX DY DZ.
GEOM_Object MakeDiskPntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a Disk (circular face) with given center, normal vector and radius.
GEOM_Object MakeConePntVecR1R2H(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR1, in double theR2, in double theH)
Create a cone with given base point, axis, height and radiuses.
GEOM_Object MakePrismVecH(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
Create a shape by extrusion of the base shape along the vector.
GEOM_Object MakePrismDXDYDZWithScaling(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ, in double theScaleFactor)
GEOM_Object RestorePathEdges(in GEOM_Object theShape, in ListOfGO theBase1, in ListOfGO theBase2)
Build a middle path of a pipe-like shape.
Interface for basic geometry creation.
Definition: GEOM_Gen.idl:760
GEOM_Object MakePointWithReference(in GEOM_Object theReference, in double theX, in double theY, in double theZ)
Create a point, distant from the referenced point on the given distances along the coordinate axes.
GEOM_Object MakePlaneThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in double theTrimSize)
Create a plane, passing through the three given points.
GEOM_Object MakeLineTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a line, passing through the given points.
GEOM_Object MakeMarker(in double theOX, in double theOY, in double theOZ, in double theXDX, in double theXDY, in double theXDZ, in double theYDX, in double theYDY, in double theYDZ)
Create a local coordinate system.
GEOM_Object MakePointXYZ(in double theX, in double theY, in double theZ)
Create point by three coordinates.
GEOM_Object MakePlanePntVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theTrimSize)
Create a plane, passing through the given point and normal to the given vector.
GEOM_Object MakePointOnSurface(in GEOM_Object theRefSurf, in double theUParameter, in double theVParameter)
Create a point, corresponding to the given parameters on the given surface.
GEOM_Object MakeVectorTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a vector between two points.
GEOM_Object MakeLine(in GEOM_Object thePnt, in GEOM_Object theDir)
Create a line, passing through the given point and parallel to the given direction.
GEOM_Object MakePointOnFace(in GEOM_Object theFace, in long theNumberOfPnts)
Create a point, which lays on the given face. The point will lay in arbitrary place of the face....
GEOM_Object MakeVectorDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a vector with the given components.
GEOM_Object MakePlaneFace(in GEOM_Object theFace, in double theTrimSize)
Create a plane, similar to the existing one, but with another size of representing face.
GEOM_Object MakePointOnCurve(in GEOM_Object theRefCurve, in double theParameter, in boolean takeOrientationIntoAccount)
GEOM_Object MakePointOnLinesIntersection(in GEOM_Object theRefLine1, in GEOM_Object theRefLine2)
Create a point, on two lines intersection.
GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace, in double theParameterU, in double theParameterV, in double theTrimSize)
Create a tangent plane to specified face in the point with specified parameters.
GEOM_Object MakePointOnSurfaceByCoord(in GEOM_Object theRefSurf, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given surface, projecting given point.
GEOM_Object MakeTangentOnCurve(in GEOM_Object theRefCurve, in double theParameter)
Create a vector, corresponding to tangent to the given parameter on the given curve.
GEOM_Object MakeMarkerPntTwoVec(in GEOM_Object theOrigin, in GEOM_Object theXVec, in GEOM_Object theYVec)
Create a local coordinate system from point and two vectors (DX, DY).
GEOM_Object MakeLineTwoFaces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a line, given by two faces intersection.
GEOM_Object MakePointOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create a point, corresponding to the given length on the given curve.
GEOM_Object MakePlaneLCS(in GEOM_Object theLCS, in double theTrimSize, in double theOrientation)
Create a plane, defined by local coordinate system.
GEOM_Object MakePointOnCurveByCoord(in GEOM_Object theRefCurve, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given curve, projecting given point.
GEOM_Object MakeMarkerFromShape(in GEOM_Object theShape)
Create a local coordinate system from shape.
GEOM_Object MakePlane2Vec(in GEOM_Object theVec1, in GEOM_Object theVec2, in double theTrimSize)
Create a plane, by two vectors.
Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translati...
Definition: GEOM_Gen.idl:2918
GEOM_Object MakeQuad(in GEOM_Object theEdge1, in GEOM_Object theEdge2, in GEOM_Object theEdge3, in GEOM_Object theEdge4)
Create a quadrangle face from four edges. Order of Edges is not important. It is not necessary that e...
ListOfGO Propagate(in GEOM_Object theShape)
Build all possible propagation groups.
GEOM_Object GetFaceByEdges(in GEOM_Object theShape, in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Get a face of block, found in the given shape by two given edges.
GEOM_Object GetFaceByPoints(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in GEOM_Object thePoint3, in GEOM_Object thePoint4)
Returns a face, found in the given shape by four given corner vertices.
GEOM_Object MakeHexa2Faces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a hexahedral solid between two given faces.
GEOM_Object GetEdge(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Get an edge, found in the given shape by two given vertices.
GEOM_Object GetNonBlocks(in GEOM_Object theShape, in double theToleranceC1, out GEOM_Object theNonQuads)
Retrieve all non blocks solids and faces from a shape.
GEOM_Object GetPoint(in GEOM_Object theShape, in double theX, in double theY, in double theZ, in double theEpsilon)
Get a vertex, found in the given shape by its coordinates.
GEOM_Object MakeMultiTransformation2D(in GEOM_Object theBlock, in long theDirFace1U, in long theDirFace2U, in long theNbTimesU, in long theDirFace1V, in long theDirFace2V, in long theNbTimesV)
Multi-transformate block and glue the result.
string PrintBCErrors(in GEOM_Object theCompound, in BCErrors theErrors)
Convert sequence of Blocks Compound errors, returned by CheckCompoundOfBlocks(), into string.
ListOfGO GetBlocksByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Return all blocks, containing all the elements, passed as the parts.
GEOM_Object GetEdgeNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find an edge of the given shape, which has minimal distance to the given point.
GEOM_Object MakeQuad4Vertices(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in GEOM_Object thePnt4)
Create a quadrangle face with specified corners.
GEOM_Object MakeHexa(in GEOM_Object theFace1, in GEOM_Object theFace2, in GEOM_Object theFace3, in GEOM_Object theFace4, in GEOM_Object theFace5, in GEOM_Object theFace6)
Create a hexahedral solid, bounded by the six given faces. Order of faces is not important.
GEOM_Object GetFaceNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a face of the given shape, which has minimal distance to the given point.
GEOM_Object CheckAndImprove(in GEOM_Object theCompound)
Check, if the given shape is a blocks compound.
GEOM_Object UnionFaces(in GEOM_Object theShape)
Performs union faces of theShape.
GEOM_Object GetShapesNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint, in long theShapeType, in double theTolerance)
Find all sub-shapes of type theShapeType of the given shape, which have minimal distance to the given...
BCErrorType
Enumeration of Blocks Compound defects.
Definition: GEOM_Gen.idl:3112
@ EXTRA_EDGE
Definition: GEOM_Gen.idl:3117
@ NOT_BLOCK
Definition: GEOM_Gen.idl:3114
@ INVALID_CONNECTION
Definition: GEOM_Gen.idl:3120
@ NOT_CONNECTED
Definition: GEOM_Gen.idl:3123
ListOfGO ExplodeCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces)
Get all the blocks, contained in the given compound.
GEOM_Object GetBlockByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Find block, containing all the elements, passed as the parts, or maximum quantity of them.
boolean IsCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces, out long theNbBlocks)
Check, if the compound contains only specified blocks.
GEOM_Object MakeQuad2Edges(in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Create a quadrangle face on two edges.
GEOM_Object RemoveExtraEdges(in GEOM_Object theShape, in long theOptimumNbFaces)
Remove all seam and degenerated edges from theShape.
GEOM_Object GetVertexNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a vertex of the given shape, which has minimal distance to the given point.
GEOM_Object GetOppositeFace(in GEOM_Object theBlock, in GEOM_Object theFace)
Find a face, opposite to the given one in the given block.
sequence< BCError > BCErrors
Sequence of all Blocks Compound defects.
Definition: GEOM_Gen.idl:3141
GEOM_Object GetBlockNearPoint(in GEOM_Object theCompound, in GEOM_Object thePoint)
Find block, containing the given point inside its volume or on boundary.
GEOM_Object MakeMultiTransformation1D(in GEOM_Object theBlock, in long theDirFace1, in long theDirFace2, in long theNbTimes)
Multi-transformate block and glue the result.
GEOM_Object GetFaceByNormale(in GEOM_Object theBlock, in GEOM_Object theVector)
Find a face of block, whose outside normale has minimal angle with the given vector.
boolean CheckCompoundOfBlocks(in GEOM_Object theCompound, in double theToleranceC1, out BCErrors theErrors)
Check, if the compound of blocks is given.
Interface for boolean operations (Cut, Fuse, Common)
Definition: GEOM_Gen.idl:3319
GEOM_Object MakeFuse(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakeBoolean(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeBooleanWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeCommonListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform common boolean operation on list of objects.
GEOM_Object MakePartition(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes)
Perform partition operation.
GEOM_Object MakeFuseWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakePartitionWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in double theFuzzyParam)
Perform partition operation.
GEOM_Object MakeCommonList(in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform common boolean operation on list of objects.
GEOM_Object MakeHalfPartition(in GEOM_Object theShape, in GEOM_Object thePlane)
Perform partition of the Shape with the Plane.
GEOM_Object MakeFuseList(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeHalfPartitionWithFuzzy(in GEOM_Object theShape, in GEOM_Object thePlane, in double theFuzzyParam)
Perform partition of the Shape with the Plane.
GEOM_Object MakePartitionNonSelfIntersectedShape(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte)
Perform partition operation.
GEOM_Object MakeFuseListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeCutListWithFuzzy(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakeCutList(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakePartitionNonSelfIntersectedShapeWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform partition operation.
Interface for canonical recognition operations.
Definition: GEOM_Gen.idl:5397
boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius)
boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius)
boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin)
boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle)
boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin)
boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius)
boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius)
Interface for curves creation.
Definition: GEOM_Gen.idl:3658
GEOM_Object MakeSplineBezier(in ListOfGO thePoints, in boolean theIsClosed)
Create bezier curve on the set of points.
GEOM_Object MakeArc(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create an arc of circle, passing through three given points.
GEOM_Object MakeSketcherOnPlane(in string theCommand, in GEOM_Object theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakeEllipse(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create an ellipse with given center, normal vector and radiuses.
GEOM_Object MakeArcCenter(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2, in boolean theSense)
Create an arc of circle of center C from one point to another.
GEOM_Object MakeCircleCenter2Pnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle with given center, with a radius equals the distance from center to Point1 and on a p...
GEOM_Object MakeEllipseVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor, in GEOM_Object theVecMaj)
Create an ellipse with given center, normal vector, main axis vector and radiuses.
GEOM_Object MakeSplineInterpolation(in ListOfGO thePoints, in boolean theIsClosed, in boolean theDoReordering)
Create B-Spline curve on the set of points.
GEOM_Object Make3DSketcherCommand(in string theCommand)
Create a 3D sketcher, following the textual description, passed through theCommand argument.
GEOM_Object MakeCirclePntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a circle with given center, normal vector and radius.
GEOM_Object MakeIsoline(in GEOM_Object theFace, in boolean IsUIsoline, in double theParameter)
Creates an isoline curve on a face.
GEOM_Object MakePolyline(in ListOfGO thePoints, in boolean theIsClosed)
Create a polyline on the set of points.
GEOM_Object MakeCircleThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle, passing through three given points.
GEOM_Object MakeCurveParametric(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in double theParamStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeCurveParametricNew(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in long theParamNbStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeArcOfEllipse(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create an arc of ellipse of center C and two points P1 P2.
GEOM_Object MakePolyline2DOnPlane(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in GEOM_Object theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object MakeSplineInterpolWithTangents(in ListOfGO thePoints, in GEOM_Object theFirstVec, in GEOM_Object theLastVec)
Create B-Spline curve on the set of points.
GEOM_Object MakeSketcher(in string theCommand, in ListOfDouble theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakePolyline2D(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in ListOfDouble theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object Make3DSketcher(in ListOfDouble theCoordinates)
Create a 3D sketcher, made of a straight segments, joining points with coordinates passed through the...
Interface for field operation.
Definition: GEOM_Gen.idl:5344
long GetNbSubShapes(in GEOM_Object shape, in short fieldDim)
Returns number of sub-shapes of given dimension.
GEOM_Field CreateField(in GEOM_Object shape, in string name, in field_data_type type, in short dimension, in string_array componentNames)
Creates a field.
long CountFields(in GEOM_Object shape)
Returns number of fields on a shape.
ListOfFields GetFields(in GEOM_Object shape)
Returns all fields on a shape.
GEOM_Field GetField(in GEOM_Object shape, in string name)
Returns a field on a shape by its name.
Interface for groups creation.
Definition: GEOM_Gen.idl:5207
GEOM_Object CutGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Cut of two groups. New group is created. It will contain entities which are present in group theGroup...
GEOM_Object CreateGroup(in GEOM_Object theMainShape, in long theShapeType)
Creates a new group which will store sub-shapes of theMainShape.
GEOM_Object IntersectListOfGroups(in ListOfGO theGList)
Intersection of list of groups. New group is created. It will contain only entities which are simulta...
void RemoveObject(in GEOM_Object theGroup, in long theSubShapeId)
Removes a sub-object with ID theSubShapeId from the group.
GEOM_Object UnionGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Union of two groups. New group is created. It will contain all entities which are present in groups t...
long GetType(in GEOM_Object theGroup)
Returns a type of sub-objects stored in the group.
void UnionIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
void UnionList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
GEOM_Object GetMainShape(in GEOM_Object theGroup)
Returns a main shape associated with the group.
GEOM_Object UnionListOfGroups(in ListOfGO theGList)
Union of list of groups. New group is created. It will contain all entities that are present in group...
GEOM_Object IntersectGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Intersection of two groups. New group is created. It will contain only those entities which are prese...
ListOfLong GetObjects(in GEOM_Object theGroup)
Returns a list of sub-objects ID stored in the group.
GEOM_Object CutListOfGroups(in ListOfGO theGList1, in ListOfGO theGList2)
Cut of lists of groups. New group is created. It will contain only entities which are present in grou...
void DifferenceIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
void AddObject(in GEOM_Object theGroup, in long theSubShapeId)
Adds a sub-object with ID theSubShapeId to the group.
void DifferenceList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
Interface for shape healing operations.
Definition: GEOM_Gen.idl:4188
GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance)
GEOM_Object RemoveIntWires(in GEOM_Object theObject, in short_array theWires)
Remove internal wires and edges from the given object (face).
ModifStatistics GetStatistics()
Return information on what has been done by the last called healing method.
GEOM_Object DivideEdge(in GEOM_Object theObject, in short theEdgeIndex, in double theValue, in boolean isByParameter)
Addition of a point to a given edge of theObject.
GEOM_Object SuppressFaces(in GEOM_Object theObject, in short_array theFaces)
Remove faces from the given object (shape).
GEOM_Object ProcessShape(in GEOM_Object theShapes, in string_array theOperators, in string_array theParameters, in string_array theValues)
Apply a sequence of Shape Healing operators to the given object.
void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args)
Provides Python dump functionality for algorithms entirely implemented in Python.
GEOM_Object ChangeOrientationCopy(in GEOM_Object theObject)
void GetShapeProcessParameters(out string_array theOperators, out string_array theParameters, out string_array theValues)
Get default sequence of operators, their parameters and parameters' values of Shape Process operation...
GEOM_Object ChangeOrientation(in GEOM_Object theObject)
Change orientation of the given object.
boolean GetFreeBoundary(in ListOfGO theObjects, out ListOfGO theClosedWires, out ListOfGO theOpenWires)
Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shapes.
GEOM_Object CloseContour(in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex)
Close an open wire.
GEOM_Object FuseCollinearEdgesWithinWire(in GEOM_Object theWire, in ListOfGO theVertices)
Suppress the vertices in the wire in case if adjacent edges are C1 continuous.
GEOM_Object LimitTolerance(in GEOM_Object theObject, in double theTolerance, in boolean theExactAdjust)
Try to limit tolerance of the given object by value theTolerance.
GEOM_Object FillHoles(in GEOM_Object theObject, in short_array theWires)
Remove internal closed contours (holes) from the given object.
void GetOperatorParameters(in string theOperator, out string_array theParameters, out string_array theValues)
Get parameters and parameters' values for the given Shape Process operation.
GEOM_Object DivideEdgeByPoint(in GEOM_Object theObject, in short theEdgeIndex, in ListOfGO thePoints)
Addition of points to a given edge of theObject by projecting other points to the given edge.
GEOM_Object RemoveInternalFaces(in ListOfGO theSolids)
GEOM_Object Sew(in ListOfGO theObjects, in double theTolerance)
Interface for shape insert operations (like copy, import).
Definition: GEOM_Gen.idl:4389
string ReadValue(in string theFileName, in string theFormatName, in string theParameterName)
Deprecated method. Use ReadValue (from the corresponding plugin) instead.
sequence< TransferDatum > ListOfTransferDatum
Sequence of non-topological information transfer data.
Definition: GEOM_Gen.idl:4485
GEOM_Object MakeCopy(in GEOM_Object theOriginal)
Create a copy of the given object.
long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture)
Add texture to the study.
ListOfGBO ImportFile(in string theFileName, in string theFormatName)
Deprecated method. Use Import<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
void Export(in GEOM_Object theObject, in string theFileName, in string theFormatName)
Deprecated method. Use Export<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
long LoadTexture(in string theTextureFile)
Load texture from file.
SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight)
Get previously loaded texture data.
ListOfLong GetAllTextures()
Get list of all available texture IDs.
GEOM_Object RestoreShape(in SALOMEDS::TMPFile theStream)
Read a shape from the binary stream, containing its bounding representation (BRep).
boolean TransferData(in GEOM_Object theObjectFrom, in GEOM_Object theObjectTo, in find_shape_method theFindMethod, out ListOfTransferDatum theResult)
Transfer non-topological data from one object to another.
Interface for shape_kind enumeration.
Definition: GEOM_Gen.idl:4513
shape_kind
Definition: GEOM_Gen.idl:4514
@ CRV_BSPLINE
Definition: GEOM_Gen.idl:4573
@ TORUS
Definition: GEOM_Gen.idl:4531
@ COMPSOLID
Definition: GEOM_Gen.idl:4518
@ SOLID
Definition: GEOM_Gen.idl:4537
@ WIRE
Definition: GEOM_Gen.idl:4520
@ SEGMENT
Definition: GEOM_Gen.idl:4571
@ VERTEX
Definition: GEOM_Gen.idl:4583
@ BOX
Definition: GEOM_Gen.idl:4527
@ NO_SHAPE
Definition: GEOM_Gen.idl:4515
@ PLANAR
Definition: GEOM_Gen.idl:4556
@ ELLIPSE
Definition: GEOM_Gen.idl:4565
@ FACE
Definition: GEOM_Gen.idl:4558
@ ARC_ELLIPSE
Definition: GEOM_Gen.idl:4567
@ PLANE
Definition: GEOM_Gen.idl:4554
@ COMPOUND
Definition: GEOM_Gen.idl:4517
@ ARC_CIRCLE
Definition: GEOM_Gen.idl:4563
@ POLYHEDRON
Definition: GEOM_Gen.idl:4535
@ ROTATED_BOX
Definition: GEOM_Gen.idl:4529
@ CYLINDER
Definition: GEOM_Gen.idl:4525
@ HYPERBOLA
Definition: GEOM_Gen.idl:4577
@ DISK_ELLIPSE
Definition: GEOM_Gen.idl:4550
@ CYLINDER2D
Definition: GEOM_Gen.idl:4542
@ LCS
Definition: GEOM_Gen.idl:4585
@ PARABOLA
Definition: GEOM_Gen.idl:4579
@ CONE
Definition: GEOM_Gen.idl:4533
@ EDGE
Definition: GEOM_Gen.idl:4581
@ CIRCLE
Definition: GEOM_Gen.idl:4561
@ SHELL
Definition: GEOM_Gen.idl:4519
@ SPHERE
Definition: GEOM_Gen.idl:4523
@ LINE
Definition: GEOM_Gen.idl:4569
@ SPHERE2D
Definition: GEOM_Gen.idl:4540
@ CONE2D
Definition: GEOM_Gen.idl:4546
@ POLYGON
Definition: GEOM_Gen.idl:4552
@ CRV_BEZIER
Definition: GEOM_Gen.idl:4575
@ DISK_CIRCLE
Definition: GEOM_Gen.idl:4548
@ TORUS2D
Definition: GEOM_Gen.idl:4544
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:4004
GEOM_Object MakeFilletEdges(in GEOM_Object theShape, in double theR, in ListOfLong theEdges)
Perform a fillet on the specified edges of the given shape.
GEOM_Object MakeChamferEdgeAD(in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2)
The Same but with params theD = Chamfer Length and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferFacesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
GEOM_Object MakeFilletAll(in GEOM_Object theShape, in double theR)
Perform a fillet on all edges of the given shape.
GEOM_Object MakeArchimede(in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection)
Perform an Archimde operation on the given shape with given parameters. The object presenting the res...
GEOM_Object MakeFillet2D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
Perform a fillet on a face or a shell at the specified vertexes.
GEOM_Object MakeFilletEdgesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theEdges)
GEOM_Object MakeChamferEdge(in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2)
Perform a chamfer on edges, common to the specified faces. with distance D1 on the Face1.
GEOM_Object MakeChamferEdges(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges)
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
GEOM_Object MakeChamferFaces(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
Perform a chamfer on all edges of the specified faces. with distance D1 on the first specified face (...
GEOM_Object MakeChamferEdgesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
GEOM_Object MakeFillet1D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes, in boolean doIgnoreSecantVertices)
Perform a fillet on edges of the specified vertexes of the given wire.
GEOM_Object MakeChamferAll(in GEOM_Object theShape, in double theD)
Perform a symmetric chamfer on all edges of the given shape.
long GetSubShapeIndex(in GEOM_Object theShape, in GEOM_Object theSubShape)
Duplicates GEOM_IShapesOperations.GetSubShapeIndex().
GEOM_Object MakeFilletFaces(in GEOM_Object theShape, in double theR, in ListOfLong theFaces)
Perform a fillet on all edges of the specified faces of the given shape.
GEOM_Object MakeFilletFacesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces)
Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass,...
Definition: GEOM_Gen.idl:4598
SequenceOfPairOfShape DistantShapes(in CheckResults theResults, in long theShapeType, in long theSubShapeType, in double theTolerance)
find remote objects (sub-shape on a shape). Avaliable types:
ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance)
Check if points defined by coords = [x1, y1, z1, x2, y2, z2, ...] are inside or on the shape theShape...
double MaxSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get max radius of curvature of surface in the given point.
double GetAngleBtwVectors(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given vectors.
ListOfDouble UVtoXYZ(in GEOM_Object theSurf, in ListOfDouble theUVlist, in boolean theIsNormalized)
Convert UV parameters on the given surface to 3D points coordinates.
string PrintShapeErrors(in GEOM_Object theShape, in ShapeErrors theErrors)
Convert sequence of shape errors, returned by CheckShape() or CheckShapeWithGeometry(),...
double MinSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get min radius of curvature of surface in the point determinated by params.
SequenceOfPairOfShape InterferingSubshapes(in CheckResults theResults, in long theShapeType1, in long theShapeType2)
Find pairs of interfering sub-shapes, by default all pairs of interfering shapes are returned....
double CurveCurvatureByParam(in GEOM_Object theShape, in double theParam)
Get radius of curvature of curve in the point determinated by param.
boolean CheckSelfIntersections(in GEOM_Object theShape, in long theCheckLevel, out ListOfLong theIntersections)
Check a topology of the given shape on self-intersections presence.
ShapeErrorType
Enumeration of Shape defects coming from CheckShape algorithms.
Definition: GEOM_Gen.idl:4727
@ InvalidWire
Definition: GEOM_Gen.idl:4755
@ InvalidSameRangeFlag
Definition: GEOM_Gen.idl:4740
@ EmptyShell
Definition: GEOM_Gen.idl:4761
@ InvalidImbricationOfWires
Definition: GEOM_Gen.idl:4758
@ InvalidDegeneratedFlag
Definition: GEOM_Gen.idl:4742
@ InvalidRange
Definition: GEOM_Gen.idl:4746
@ RedundantWire
Definition: GEOM_Gen.idl:4756
@ InvalidCurveOnClosedSurface
Definition: GEOM_Gen.idl:4739
@ InvalidPointOnCurveOnSurface
Definition: GEOM_Gen.idl:4730
@ IntersectingWires
Definition: GEOM_Gen.idl:4757
@ BadOrientationOfSubshape
Definition: GEOM_Gen.idl:4772
@ EmptyWire
Definition: GEOM_Gen.idl:4749
@ NoCurveOnSurface
Definition: GEOM_Gen.idl:4737
@ SubshapeNotInShape
Definition: GEOM_Gen.idl:4769
@ BadOrientation
Definition: GEOM_Gen.idl:4771
@ SelfIntersectingWire
Definition: GEOM_Gen.idl:4751
@ InvalidCurveOnSurface
Definition: GEOM_Gen.idl:4738
@ Invalid3DCurve
Definition: GEOM_Gen.idl:4736
@ InvalidPointOnSurface
Definition: GEOM_Gen.idl:4731
@ InvalidPointOnCurve
Definition: GEOM_Gen.idl:4729
@ InvalidToleranceValue
Definition: GEOM_Gen.idl:4774
@ InvalidMultiConnexity
Definition: GEOM_Gen.idl:4745
@ FreeEdge
Definition: GEOM_Gen.idl:4744
@ RedundantFace
Definition: GEOM_Gen.idl:4762
@ RedundantEdge
Definition: GEOM_Gen.idl:4750
@ NotClosed
Definition: GEOM_Gen.idl:4766
@ InvalidSameParameterFlag
Definition: GEOM_Gen.idl:4741
@ UnorientableShape
Definition: GEOM_Gen.idl:4765
@ Multiple3DCurve
Definition: GEOM_Gen.idl:4735
@ No3DCurve
Definition: GEOM_Gen.idl:4734
@ NotConnected
Definition: GEOM_Gen.idl:4767
@ NoSurface
Definition: GEOM_Gen.idl:4754
double GetMinDistance(in GEOM_Object theShape1, in GEOM_Object theShape2, out double X1, out double Y1, out double Z1, out double X2, out double Y2, out double Z2)
Get minimal distance between the given shapes.
void GetPosition(in GEOM_Object theShape, out double Ox, out double Oy, out double Oz, out double Zx, out double Zy, out double Zz, out double Xx, out double Xy, out double Xz)
Get position (LCS) of theShape.
double GetCoarseProximity(in GEOM_Object theCalculator)
Compute coarse value of the proximity basing on the polygonal representation of shapes.
sequence< PairOfShape > SequenceOfPairOfShape
Definition: GEOM_Gen.idl:5102
sequence< ShapeError > ShapeErrors
Sequence of all shape defects.
Definition: GEOM_Gen.idl:4792
GEOM_IKindOfShape::shape_kind KindOfShape(in GEOM_Object theShape, out ListOfLong theIntegers, out ListOfDouble theDoubles)
Get kind of theShape.
ListOfGO SmallEdges(in CheckResults theResults)
Find edges, which are fully covered by tolerances of vertices.
ListOfDouble XYZtoUV(in GEOM_Object theSurf, in ListOfDouble theXYZlist, in boolean theIsNormalized)
Convert X,Y,Z points coordinates to UV parameters on the given surface.
void SetShapeSampling(in GEOM_Object theCalculator, in GEOM_Object theShape, in long theNbSamples)
Set number sample points to compute the coarse proximity.
double MinSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get min radius of curvature of surface in the given point.
void PointCoordinates(in GEOM_Object theShape, out double X, out double Y, out double Z)
Get point coordinates.
CheckResults CheckConformityShape(in GEOM_Object theShape)
Perform analyse of shape and return all failed checks.
SequenceOfPairOfShape SelfIntersected2D(in CheckResults theResults)
Find all self-intersected 2D curves.
void GetBasicProperties(in GEOM_Object theShape, in double theTolerance, out double theLength, out double theSurfArea, out double theVolume)
Get summarized length of all wires, area of surface and volume of the given shape.
void GetInertia(in GEOM_Object theShape, out double I11, out double I12, out double I13, out double I21, out double I22, out double I23, out double I31, out double I32, out double I33, out double Ix, out double Iy, out double Iz)
Get inertia matrix and moments of inertia of theShape.
boolean CheckSelfIntersectionsFast(in GEOM_Object theShape, in float theDeflection, in double theTolerance, out ListOfLong theIntersections)
Detect self-intersections of the given shape with algorithm based on mesh intersections.
boolean CheckShape(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology of the given shape.
GEOM_Object SurfaceCurvatureByPointAndDirection(in GEOM_Object theShape, in GEOM_Object thePoint, in GEOM_Object theDirection)
Get vector of curvature of surface in the given point along the given direction.
GEOM_Object GetNormal(in GEOM_Object theFace, in GEOM_Object theOptionalPoint)
Get a vector, representing the normal of theFace. If the face is not planar, theOptionalPoint is obli...
double CurveCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get radius of curvature of curve in the given point.
GEOM_Object GetVertexByIndex(in GEOM_Object theShape, in long theIndex, in boolean theUseOri)
boolean CheckShapeOpts(in GEOM_Object theShape, in boolean theWithGeometry, in boolean theExact, out ShapeErrors theErrors)
Check a topology and a geometry of the given shape.
sequence< CheckResult > CheckResults
Definition: GEOM_Gen.idl:5103
double MaxSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get max radius of curvature of surface in the point determinated by params.
boolean FastIntersect(in GEOM_Object theShape1, in GEOM_Object theShape2, in double theTolerance, in float theDeflection, out ListOfLong theIntersections1, out ListOfLong theIntersections2)
Detect intersections of the given shapes with algorithm based on mesh intersections.
double UpdateTolerance(in GEOM_Object theShape)
Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-sha...
GEOM_Object GetCentreOfMass(in GEOM_Object theShape)
Get a point, situated at the centre of mass of theShape.
double GetPreciseProximity(in GEOM_Object theCalculator)
Compute precise value of the proximity basing on the exact shapes.
double GetAngle(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given lines or linear edges.
ListOfGO PatchFace(in GEOM_Object theShape)
The function takes a single face with holes and returns a list of faces, first of them is the origina...
GEOM_Object ShapeProximityCalculator(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get the calculator for the proximity value between the given shapes.
void GetTolerance(in GEOM_Object theShape, out double FaceMin, out double FaceMax, out double EdgeMin, out double EdgeMax, out double VertMin, out double VertMax)
Get min and max tolerances of sub-shapes of theShape.
boolean CheckShapeWithGeometry(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology and a geometry of the given shape.
long ClosestPoints(in GEOM_Object theShape1, in GEOM_Object theShape2, out ListOfDouble theCoords)
Get closest points of the given shapes.
GEOM_Object MakeBoundingBox(in GEOM_Object theShape, in boolean precise)
Get bounding box of the given shape.
string IsGoodForSolid(in GEOM_Object theShape)
Check if the given shape can be an argument for MakeSolid operation.
boolean CheckBOPArguments(in GEOM_Object theShape)
Check boolean and partition operations arguments.
string WhatIs(in GEOM_Object theShape)
btain description of the given shape
void GetBoundingBox(in GEOM_Object theShape, in boolean precise, out double Xmin, out double Xmax, out double Ymin, out double Ymax, out double Zmin, out double Zmax)
Get parameters of bounding box of the given shape.
Basic methods of all geometric operations.
Definition: GEOM_Gen.idl:720
void AbortOperation()
Aborts the previously opened transaction.
void StartOperation()
Opens a new transaction.
void SetErrorCode(in string theErrorID)
Set the operation error code.
string GetErrorCode()
Get the operation error code.
boolean IsDone()
To know, if the operation was successfully performed.
void FinishOperation()
Closes the previously opened transaction.
Interface for Shapes creation:
Definition: GEOM_Gen.idl:2045
ListOfGO MakeAllSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfGO GetExistingSubObjects(in GEOM_Object theShape, in boolean theGroupsOnly)
Get all sub-shapes and groups of theShape, that were created already by any other methods.
GEOM_Object GetSubShape(in GEOM_Object theMainShape, in long theID)
Get a sub-shape defined by its unique ID inside theMainShape.
GEOM_Object GetInPlace(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfGO GetShapesOnPlaneWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfLong GetShapesOnQuadrangleIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
GEOM_Object ChangeOrientation(in GEOM_Object theShape)
GEOM_Object ExtendEdge(in GEOM_Object theEdge, in double theMin, in double theMax)
Resize the input edge with the new Min and Max parameters. The input edge parameters range is [0,...
GEOM_Object GetShapesOnShapeAsCompound(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object ExtendFace(in GEOM_Object theFace, in double theUMin, in double theUMax, in double theVMin, in double theVMax)
Resize the input face with the new UMin, UMax, VMin and VMax parameters. The input face U and V param...
ListOfGO GetShapesOnCylinder(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object GetSame(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO MakeSubShapes(in GEOM_Object theMainShape, in ListOfLong theIndices)
Get a set of sub-shapes defined by their unique IDs inside theMainShape.
ListOfGO GetShapesOnQuadrangle(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
ListOfLong GetSubShapesIndices(in GEOM_Object theMainShape, in ListOfGO theSubShapes)
long GetSubShapeIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
sequence< ExtractionStat > ExtractionStats
Definition: GEOM_Gen.idl:2893
GEOM_Object MakeEdge(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a linear edge with specified ends.
ListOfGO ExtractSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Extract all sub-shapes of the given type from the given shape, excluding the shape itself.
GEOM_Object MakeWire(in ListOfGO theEdgesAndWires, in double theTolerance, in wire_build_mode theMode)
Create a wire from the set of edges and wires.
GEOM_Object MakeWrappedFace(in ListOfGO theEdges, in ListOfGO theVertices, in double theTolerance)
Create a bounded face with list of edges and list of vertices.
GEOM_Object MakeGlueFaces(in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids)
Replace coincident faces in theShapes by one face.
long NumberOfSubShapes(in GEOM_Object theShape, in long theShapeType)
Count number of sub-shapes of type theShapeType in the given shape.
string GetShapeTypeString(in GEOM_Object theShape)
Get name of type of theShape.
ListOfGO GetShapesOnCylinderWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfLong GetShapesOnCylinderIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfGO GetShapesOnSphere(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
ListOfGO GetGlueEdges(in ListOfGO theShapes, in double theTolerance)
GEOM_Object MakeSurfaceFromFace(in GEOM_Object theFace)
Make a surface from a face. This function takes some face as input parameter and creates new GEOM_Obj...
ExtractionStatType
This enumeration represents an extraction statistics type.
Definition: GEOM_Gen.idl:2877
@ EST_Modified
Modified sub-shapes.
Definition: GEOM_Gen.idl:2879
@ EST_Removed
Removed sub-shapes.
Definition: GEOM_Gen.idl:2878
long NumberOfEdges(in GEOM_Object theShape)
Count number of edges in the given shape.
ListOfGO GetSubShapeEdgeSorted(in GEOM_Object theShape, in GEOM_Object theStartPoint)
Explode a shape into edges sorted in a row from a starting point.
GEOM_Object MakeGlueEdges(in ListOfGO theShapes, in double theTolerance)
Replace coincident edges in theShapes by one edge.
GEOM_Object MakeCompound(in ListOfGO theShapes)
Create a compound of the given shapes.
ListOfLong GetFreeFacesIDs(in GEOM_Object theShape)
Retrieve all free faces from the given shape.
ListOfGO MakeExplode(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method.
ListOfLong GetShapesOnPlaneWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeEdgeOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create an edge on another edge, corresponding to the given length on the given edge.
ListOfGO GetShapesOnBox(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
long GetTopologyIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
Get index of theSubShape in theMainShape, unique among sub-shapes of the same type.
ListOfLong GetShapesOnPlaneIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeSolidShells(in ListOfGO theShells)
Create a solid, bounded by the given shells.
GEOM_Object MakeGlueFacesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theFaces, in boolean doKeepNonSolids, in boolean doGlueAllEdges)
Replace coincident faces in theShapes by one face in compliance with given list of faces.
boolean IsSubShapeBelongsTo(in GEOM_Object theSubObject, in long theSubObjectIndex, in GEOM_Object theObject, in long theObjectIndex)
Check if the object is a sub-object of another GEOM object.
ListOfGO GetShapesOnPlane(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfGO GetSharedShapesMulti(in ListOfGO theShapes, in long theShapeType, in boolean theMultiShare)
Get sub-shapes, shared by input shapes.
ListOfLong GetShapesOnShapeIDs(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeSolidFromConnectedFaces(in ListOfGO theFacesOrShells, in boolean isIntersect)
Make a solid (or solids) from connected set of faces and/or shells.
ListOfListOfLong GetInPlaceMap(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
A sort of GetInPlace functionality, returning for each sub-shape ID of theShapeWhat a list of corresp...
GEOM_Object MakeFaceWithConstraints(in ListOfGO theConstraints)
Create a face from a set of edges with the given constraints.
GEOM_Object MakeFace(in GEOM_Object theWire, in boolean isPlanarWanted)
Create a face on the given wire.
ListOfGO GetSubShapesWithTolerance(in GEOM_Object theShape, in short theShapeType, in comparison_condition theCondition, in double theTolerance)
Return the list of subshapes that satisfies a certain tolerance criterion. The user defines the type ...
GEOM_Object MakeEdgeWire(in GEOM_Object theWire, in double theLinearTolerance, in double theAngularTolerance)
Create an edge from specified wire.
GEOM_Object MakeSolidShell(in GEOM_Object theShell)
Create a solid, bounded by the given shell.
ListOfLong GetShapesOnBoxIDs(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeFaceWires(in ListOfGO theWires, in boolean isPlanarWanted)
Create a face on the given wires set.
long NumberOfFaces(in GEOM_Object theShape)
Count number of faces in the given shape.
GEOM_Object MakeShell(in ListOfGO theFacesAndShells)
Create a shell from the set of faces and shells.
ListOfGO GetSharedShapes(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theShapeType)
Get all sub-shapes of theShape1 of the given type, shared with theShape2.
GEOM_Object GetInPlaceByHistory(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfLong GetAllSubShapesIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfLong GetShapesOnCylinderWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object MakeExtraction(in GEOM_Object theShape, in ListOfLong theSubShapeIDs, out ExtractionStats theStats)
Return the shape that is constructed from theShape without extracted sub-shapes from the input list.
ListOfLong GetSameIDs(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape Ids of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO GetGlueFaces(in ListOfGO theShapes, in double theTolerance)
ListOfGO GetShapesOnShape(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object GetInPlaceOld(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
GEOM_Object MakeGlueEdgesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theEdges)
Replace coincident edges in theShapes by one edge in compliance with given list of edges.
GEOM_Object MakeFaceFromSurface(in GEOM_Object theFace, in GEOM_Object theWire)
Create a face based on surface of theFace limited by theWire.
ListOfLong SubShapeAllIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method. Use GetAllSubShapesIDs() instead.
ListOfLong GetShapesOnSphereIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
Interface for testing operations.
Definition: GEOM_Gen.idl:5379
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:1026
GEOM_Object TranslateDXDYDZCopy(in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
Translate the given object along the vector, specified by its components, creating its copy before th...
GEOM_Object OffsetShapeCopy(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Create new object as offset of the given one.
GEOM_Object OffsetShapePartialCopy(in GEOM_Object theObject, in double theOffset, in ListOfLong theFacesIDs)
Create new object as offset of the given one. Only indexed faces are offset, others keep they origina...
GEOM_Object MultiRotate1D(in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbObjects)
Rotate the given object around the given axis a given number times.
GEOM_Object MirrorPointCopy(in GEOM_Object theObject, in GEOM_Object thePoint)
Create an object, symmetrical to the given one relatively the given point.
double ProjectPointOnWire(in GEOM_Object thePoint, in GEOM_Object theWire, out GEOM_Object thePointOnEdge, out long theEdgeInWireIndex)
Create a projection projection of the given point on a wire or an edge.
GEOM_Object MultiRotate1DByStep(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps)
Rotate the given object around the given axis a given number times on the given angle.
GEOM_Object RotateThreePointsCopy(in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Rotate given object around vector perpendicular to plane containing three points.
GEOM_Object RotateCopy(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
GEOM_Object ScaleShapeAlongAxes(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ)
Scale the given object by different factors along coordinate axes.
GEOM_Object MirrorPlaneCopy(in GEOM_Object theObject, in GEOM_Object thePlane)
Create an object, symmetrical to the given one relatively the given plane.
GEOM_Object MirrorPlane(in GEOM_Object theObject, in GEOM_Object thePlane)
Replace the given object by an object, symmetrical to it relatively the given plane.
GEOM_Object OffsetShape(in GEOM_Object theObject, in double theOffset, in boolean theJoinByPipes)
Replace the given object by its offset.
GEOM_Object TranslateVectorDistance(in GEOM_Object theObject, in GEOM_Object theVector, in double theDistance, in boolean theCopy)
Translate the given object along the given vector on given distance, creating its copy before the tra...
GEOM_Object RotateThreePoints(in GEOM_Object theObject, in GEOM_Object theCentPoint, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Rotate given object around vector perpendicular to plane containing three points.
GEOM_Object RecomputeObject(in GEOM_Object theObject)
Recompute the shape from its arguments.
GEOM_Object MirrorAxisCopy(in GEOM_Object theObject, in GEOM_Object theAxis)
Create an object, symmetrical to the given one relatively the given axis.
GEOM_Object ScaleShape(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
Scale the given object by the factor.
GEOM_Object ScaleShapeAlongAxesCopy(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactorX, in double theFactorY, in double theFactorZ)
Scale the given object by different factors along coordinate axes, creating its copy before the scali...
GEOM_Object TranslateTwoPointsCopy(in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Translate the given object along the vector, specified by its end points, creating its copy before th...
GEOM_Object ScaleShapeCopy(in GEOM_Object theObject, in GEOM_Object thePoint, in double theFactor)
Scale the given object by the factor, creating its copy before the scaling.
GEOM_Object PositionAlongPath(in GEOM_Object theObject, in GEOM_Object thePath, in double theDistance, in boolean theCopy, in boolean theReverse)
Modify the Location of the given object by Path,.
GEOM_Object MakeProjectionOnCylinder(in GEOM_Object theObject, in double theRadius, in double theStartAngle, in double theAngleLength, in double theAngleRotation)
Compute the projection of a wire or a face on a cylinder.
GEOM_Object ProjectShapeCopy(in GEOM_Object theSource, in GEOM_Object theTarget)
Create new object as projection of the given one on a 2D surface.
GEOM_Object PositionShapeCopy(in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
Modify the Location of the given object by LCS, creating its copy before the setting.
GEOM_Object MultiRotate2D(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps1, in double theRadialStep, in long theNbSteps2)
Rotate the given object around the given axis on the given angle a given number times and multi-trans...
GEOM_Object TranslateVectorCopy(in GEOM_Object theObject, in GEOM_Object theVector)
Translate the given object along the given vector, creating its copy before the translation.
GEOM_Object MultiRotate2DNbTimes(in GEOM_Object theObject, in GEOM_Object theAxis, in long theNbObjects, in double theRadialStep, in long theNbSteps)
Rotate the given object around the given axis a given number times and multi-translate each rotation ...
GEOM_Object MirrorPoint(in GEOM_Object theObject, in GEOM_Object thePoint)
Replace the given object by an object, symmetrical to it relatively the given point.
GEOM_Object PositionShape(in GEOM_Object theObject, in GEOM_Object theStartLCS, in GEOM_Object theEndLCS)
Modify the Location of the given object by LCS.
GEOM_Object TranslateVector(in GEOM_Object theObject, in GEOM_Object theVector)
Translate the given object along the given vector.
GEOM_Object MultiRotate2DByStep(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngleStep, in long theNbSteps1, in double theRadialStep, in long theNbSteps2)
Rotate the given object around the given axis on the given angle a given number times and multi-trans...
GEOM_Object TranslateTwoPoints(in GEOM_Object theObject, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Translate the given object along the vector, specified by its end points.
GEOM_Object Rotate(in GEOM_Object theObject, in GEOM_Object theAxis, in double theAngle)
Rotate the given object around the given axis on the given angle.
GEOM_Object MultiTranslate2D(in GEOM_Object theObject, in GEOM_Object theVector1, in double theStep1, in long theNbTimes1, in GEOM_Object theVector2, in double theStep2, in long theNbTimes2)
Conseqently apply two specified translations to theObject specified number of times.
GEOM_Object MultiTranslate1D(in GEOM_Object theObject, in GEOM_Object theVector, in double theStep, in long theNbTimes)
Translate the given object along the given vector a given number times.
GEOM_Object TranslateDXDYDZ(in GEOM_Object theObject, in double theDX, in double theDY, in double theDZ)
Translate the given object along the vector, specified by its components.
GEOM_Object MirrorAxis(in GEOM_Object theObject, in GEOM_Object theAxis)
Replace the given object by an object, symmetrical to it relatively the given axis.
Interface of the integer field time step.
Definition: GEOM_Gen.idl:669
boolean SetValues(in ListOfLong intValues)
Changes values of the field step. Returns false if number of values is wrong.
ListOfLong GetValues()
Returns values of the field step.
Interface of geometric object.
Definition: GEOM_Gen.idl:398
GEOM_Object GetMainShape()
long long getShape()
Get the TopoDS_Shape, for colocated case only.
boolean GetAutoColor()
Get flag of object's auto color mode.
SALOMEDS::Color GetColor()
void SetMarkerStd(in marker_type theType, in marker_size theSize)
Set standard point marker for the object.
void SetAutoColor(in boolean theAutoColor)
void SetMarkerTexture(in long theTextureId)
Set custom point marker for the object.
long GetMarkerTexture()
Get texture idenifier of the point marker assigned to the object.
shape_type GetMaxShapeType()
Get a maximal type of the top-level shapes contained in the object.
shape_type GetTopologyType()
Get the topology type of the object value.
marker_size GetMarkerSize()
Get size of the point marker assigned to the object.
boolean IsMainShape()
shape_type GetCommonShapeType()
Get the common shape type of the top-level shapes contained in the object.
shape_type GetMinShapeType()
Get a minimal type of the top-level shapes contained in the object.
marker_type GetMarkerType()
Get type of the point marker assigned to the object.
ListOfLong GetSubShapeIndices()
SALOMEDS::TMPFile GetShapeStream()
Get geometric shape of the object as a byte stream in BRep format.
void SetColor(in SALOMEDS::Color theColor)
Set color of the object.
shape_type GetShapeType()
Get a shape_type of the object value.
string GetSubShapeName(in long subID)
Returns a name of a sub-shape if the sub-shape is published in the study.
boolean IsParametrical()
Interface of the string field time step.
Definition: GEOM_Gen.idl:703
boolean SetValues(in string_array strValues)
Changes values of the field step. Returns false if number of values is wrong.
string_array GetValues()
Returns values of the field step.
Definition: GEOM_Gen.idl:36
marker_type
Marker type.
Definition: GEOM_Gen.idl:67
@ MT_RING1
Definition: GEOM_Gen.idl:68
@ MT_USER
Definition: GEOM_Gen.idl:68
@ MT_PLUS
Definition: GEOM_Gen.idl:67
@ MT_X
Definition: GEOM_Gen.idl:67
@ MT_STAR
Definition: GEOM_Gen.idl:67
@ MT_O_X
Definition: GEOM_Gen.idl:68
@ MT_O_PLUS
Definition: GEOM_Gen.idl:67
@ MT_O_POINT
Definition: GEOM_Gen.idl:67
@ MT_O_STAR
Definition: GEOM_Gen.idl:68
@ MT_RING3
Definition: GEOM_Gen.idl:68
@ MT_BALL
Definition: GEOM_Gen.idl:68
@ MT_O
Definition: GEOM_Gen.idl:67
@ MT_RING2
Definition: GEOM_Gen.idl:68
@ MT_POINT
Definition: GEOM_Gen.idl:67
@ MT_NONE
Definition: GEOM_Gen.idl:67
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:279
sequence< boolean > ListOfBool
Definition: GEOM_Gen.idl:278
sequence< CreationInformation > CreationInformationSeq
Definition: GEOM_Gen.idl:263
sequence< string > string_array
Definition: GEOM_Gen.idl:276
sequence< short > short_array
Definition: GEOM_Gen.idl:277
sequence< Parameter > Parameters
Definition: GEOM_Gen.idl:256
find_shape_method
Kind of method to find inside one main shape some sub-shapes, corresponding to other given shape (its...
Definition: GEOM_Gen.idl:122
@ FSM_GetInPlace_Old
Definition: GEOM_Gen.idl:146
@ FSM_Transformed
Definition: GEOM_Gen.idl:129
@ FSM_GetInPlaceByHistory
Definition: GEOM_Gen.idl:138
@ FSM_GetSame
Definition: GEOM_Gen.idl:132
@ FSM_GetInPlace
Definition: GEOM_Gen.idl:124
@ FSM_GetShapesOnShape
Definition: GEOM_Gen.idl:135
@ FSM_MultiTransformed
Definition: GEOM_Gen.idl:143
comparison_condition
This enumeration represents comparison conditions.
Definition: GEOM_Gen.idl:216
@ CC_LT
Less then.
Definition: GEOM_Gen.idl:219
@ CC_LE
Less then or equal to.
Definition: GEOM_Gen.idl:220
@ CC_GT
Greater then.
Definition: GEOM_Gen.idl:217
@ CC_GE
Greater then or equal to.
Definition: GEOM_Gen.idl:218
field_data_type
Type of field data.
Definition: GEOM_Gen.idl:191
@ FDT_String
Definition: GEOM_Gen.idl:195
@ FDT_Double
Definition: GEOM_Gen.idl:194
@ FDT_Bool
Definition: GEOM_Gen.idl:192
@ FDT_Int
Definition: GEOM_Gen.idl:193
si_check_level
This enumeration represents the level of checking shape on self-interference.
Definition: GEOM_Gen.idl:203
@ SI_ALL
Definition: GEOM_Gen.idl:209
@ SI_V_E
Definition: GEOM_Gen.idl:205
@ SI_V_V
Definition: GEOM_Gen.idl:204
@ SI_E_E
Definition: GEOM_Gen.idl:206
@ SI_E_F
Definition: GEOM_Gen.idl:208
@ SI_V_F
Definition: GEOM_Gen.idl:207
sequence< ListOfDouble > ListOfListOfDouble
Definition: GEOM_Gen.idl:281
marker_size
Definition: GEOM_Gen.idl:73
@ MS_30
Definition: GEOM_Gen.idl:73
@ MS_70
Definition: GEOM_Gen.idl:74
@ MS_25
Definition: GEOM_Gen.idl:73
@ MS_50
Definition: GEOM_Gen.idl:74
@ MS_35
Definition: GEOM_Gen.idl:73
@ MS_55
Definition: GEOM_Gen.idl:74
@ MS_NONE
Definition: GEOM_Gen.idl:73
@ MS_45
Definition: GEOM_Gen.idl:74
@ MS_40
Definition: GEOM_Gen.idl:74
@ MS_60
Definition: GEOM_Gen.idl:74
@ MS_20
Definition: GEOM_Gen.idl:73
@ MS_10
Definition: GEOM_Gen.idl:73
@ MS_65
Definition: GEOM_Gen.idl:74
@ MS_15
Definition: GEOM_Gen.idl:73
shape_type
Topological types of shapes (like Open Cascade types)
Definition: GEOM_Gen.idl:41
@ FLAT
Definition: GEOM_Gen.idl:61
@ COMPSOLID
Definition: GEOM_Gen.idl:45
@ SOLID
Definition: GEOM_Gen.idl:47
@ WIRE
Definition: GEOM_Gen.idl:53
@ SHAPE
Definition: GEOM_Gen.idl:59
@ VERTEX
Definition: GEOM_Gen.idl:57
@ FACE
Definition: GEOM_Gen.idl:51
@ COMPOUND
Definition: GEOM_Gen.idl:43
@ EDGE
Definition: GEOM_Gen.idl:55
@ SHELL
Definition: GEOM_Gen.idl:49
sequence< GEOM_Field > ListOfFields
Definition: GEOM_Gen.idl:292
sequence< GEOM_BaseObject > ListOfGBO
Definition: GEOM_Gen.idl:291
curve_type
Kind of the curves.
Definition: GEOM_Gen.idl:177
@ Bezier
Definition: GEOM_Gen.idl:182
@ Polyline
Definition: GEOM_Gen.idl:179
@ Interpolation
Definition: GEOM_Gen.idl:185
sequence< double > ListOfDouble
Definition: GEOM_Gen.idl:280
sequence< ModifInfo > ModifStatistics
Definition: GEOM_Gen.idl:273
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:290
sequence< SALOMEDS::SObject > object_list
Definition: GEOM_Gen.idl:293
shape_state
State of shape relatively geometrical surface like plane, sphere or cylinder.
Definition: GEOM_Gen.idl:82
@ ST_ONIN
Definition: GEOM_Gen.idl:111
@ ST_OUT
Definition: GEOM_Gen.idl:91
@ ST_ON
Definition: GEOM_Gen.idl:84
@ ST_ONOUT
Definition: GEOM_Gen.idl:97
@ ST_IN
Definition: GEOM_Gen.idl:105
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:282
wire_build_mode
Wire construction mode. Regulates the way gaps are closed.
Definition: GEOM_Gen.idl:229
@ WBM_FixTolerance
Definition: GEOM_Gen.idl:231
@ WBM_Approximation
Definition: GEOM_Gen.idl:237
@ WBM_KeepCurveType
Definition: GEOM_Gen.idl:243
filling_oper_method
Kind of method to perform filling operation.
Definition: GEOM_Gen.idl:155
@ FOM_UseOri
Definition: GEOM_Gen.idl:163
@ FOM_AutoCorrect
Definition: GEOM_Gen.idl:168
@ FOM_Default
Definition: GEOM_Gen.idl:157
Definition: GEOM_Gen.idl:259
string operationName
Definition: GEOM_Gen.idl:260
Parameters params
Definition: GEOM_Gen.idl:261
Description of Blocks Compound defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:3133
BCErrorType error
Definition: GEOM_Gen.idl:3134
ListOfLong incriminated
Definition: GEOM_Gen.idl:3135
Non-topological information transfer datum.
Definition: GEOM_Gen.idl:4476
string myName
Definition: GEOM_Gen.idl:4477
long myMaxNumber
Definition: GEOM_Gen.idl:4479
long myNumber
Definition: GEOM_Gen.idl:4478
Structure for store result of check store type of check as number and failed shapes.
Definition: GEOM_Gen.idl:5097
long type
Definition: GEOM_Gen.idl:5098
PairOfShape failedShapes
Definition: GEOM_Gen.idl:5099
Methods and structure for implement CheckConformity tool.
Definition: GEOM_Gen.idl:5087
GEOM_Object second
Definition: GEOM_Gen.idl:5089
GEOM_Object first
Definition: GEOM_Gen.idl:5088
Description of a shape defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:4784
ListOfLong incriminated
Definition: GEOM_Gen.idl:4786
ShapeErrorType error
Definition: GEOM_Gen.idl:4785
ExtractionStatType type
Type of extraction statistics.
Definition: GEOM_Gen.idl:2889
ListOfLong indices
Shape indices touched by this type of modification.
Definition: GEOM_Gen.idl:2890
Reporting on shape healing.
Definition: GEOM_Gen.idl:269
long count
Definition: GEOM_Gen.idl:271
string name
Definition: GEOM_Gen.idl:270
Object creation parameters.
Definition: GEOM_Gen.idl:252
string name
Definition: GEOM_Gen.idl:253
string value
Definition: GEOM_Gen.idl:254