28 #include "SALOME_Exception.idl"
29 #include "SALOME_Component.idl"
30 #include "SALOMEDS.idl"
31 #include "SALOMEDS_Attributes.idl"
33 #include "SALOME_GenericObj.idl"
768 in
double theX, in
double theY, in
double theZ);
779 in
double theParameter,
780 in
boolean takeOrientationIntoAccount);
804 in
double theXParameter,
805 in
double theYParameter,
806 in
double theZParameter);
817 in
double theUParameter,
818 in
double theVParameter);
829 in
double theXParameter,
830 in
double theYParameter,
831 in
double theZParameter);
843 in
long theNumberOfPnts);
862 in
double theParameter);
919 in
double theTrimSize);
931 in
double theTrimSize);
940 in
double theTrimSize);
951 in
double theTrimSize);
961 in
double theTrimSize,
962 in
double theOrientation);
972 in
double theXDX, in
double theXDY, in
double theXDZ,
973 in
double theYDX, in
double theYDY, in
double theYDZ);
1003 in
double theParameterU,
1004 in
double theParameterV,
1005 in
double theTrimSize);
1045 in
double theDX, in
double theDY, in
double theDZ);
1055 in
double theDX, in
double theDY, in
double theDZ);
1088 in
double theDistance,
1089 in
boolean theCopy);
1103 in
long theNbTimes);
1120 in
long theNbTimes1,
1123 in
long theNbTimes2);
1163 in
double theAngle);
1176 in
double theAngle);
1190 in
long theNbObjects);
1205 in
double theAngleStep,
1206 in
long theNbSteps);
1225 in
long theNbObjects,
1226 in
double theRadialStep,
1227 in
long theNbSteps);
1247 in
double theAngleStep,
1248 in
long theNbSteps1,
1249 in
double theRadialStep,
1250 in
long theNbSteps2);
1270 in
double theAngleStep,
1271 in
long theNbSteps1,
1272 in
double theRadialStep,
1273 in
long theNbSteps2);
1334 in
double theOffset,
1335 in
boolean theJoinByPipes);
1345 in
double theOffset,
1346 in
boolean theJoinByPipes);
1357 in
double theOffset,
1383 out
long theEdgeInWireIndex);
1393 in
double theFactor);
1403 in
double theFactor);
1414 in
double theFactorX,
1415 in
double theFactorY,
1416 in
double theFactorZ);
1428 in
double theFactorX,
1429 in
double theFactorY,
1430 in
double theFactorZ);
1475 in
double theDistance,
1477 in
boolean theReverse);
1510 in
double theRadius,
1511 in
double theStartAngle,
1512 in
double theAngleLength,
1513 in
double theAngleRotation);
1682 in
double theRMinor);
1694 in
double theRMajor,
1695 in
double theRMinor);
1733 in
double theScaleFactor);
1753 in
double theScaleFactor);
1762 in
double theDX, in
double theDY, in
double theDZ);
1765 in
double theDX, in
double theDY, in
double theDZ);
1768 in
double theDX, in
double theDY, in
double theDZ,
1769 in
double theScaleFactor);
1785 in
double theHeight,
1788 in
boolean theInvert);
1804 in
boolean IsGenerateGroups);
1819 in
double theAngle);
1823 in
double theAngle);
1838 in
long theMinDeg, in
long theMaxDeg,
1839 in
double theTol2D, in
double theTol3D,
1842 in
boolean theApprox);
1853 in
boolean theModeSolid,
1855 in
boolean theRuled);
1886 in
boolean theWithContact ,
1887 in
boolean theWithCorrection,
1888 in
boolean IsBySteps,
1889 in
boolean IsGenerateGroups);
1918 in
boolean theWithContact,
1919 in
boolean theWithCorrection,
1920 in
boolean IsGenerateGroups);
1935 in
boolean IsGenerateGroups);
1957 in
boolean IsGenerateGroups);
1978 in
double theThickness,
1980 in
boolean isInside);
2053 in
double theLength,
2064 in
double theLinearTolerance,
2065 in
double theAngularTolerance);
2076 in
double theTolerance,
2115 in
double theTolerance);
2194 in
ListOfGO theFaces, in
boolean doKeepNonSolids,
2195 in
boolean doGlueAllEdges);
2222 in
double theTolerance,
2234 in
boolean theGroupsOnly);
2242 in
long theShapeType,
2243 in
boolean isSorted);
2256 in
long theShapeType,
2257 in
boolean isSorted);
2269 in
long theShapeType,
2270 in
boolean isSorted);
2276 in
long theShapeType,
2277 in
boolean isSorted);
2291 in
long theShapeType,
2292 in
boolean isSorted);
2368 in
long theSubObjectIndex,
2370 in
long theObjectIndex);
2392 in
long theShapeType);
2419 in
long theShapeType);
2435 in
long theShapeType,
2436 in
boolean theMultiShare);
2449 in
long theShapeType,
2464 in
long theShapeType,
2483 in
long theShapeType,
2485 in
double theRadius,
2501 in
long theShapeType,
2504 in
double theRadius,
2518 in
long theShapeType,
2520 in
double theRadius,
2536 in
long theShapeType,
2554 in
long theShapeType,
2570 in
long theShapeType,
2587 in
long theShapeType,
2589 in
double theRadius,
2605 in
long theShapeType,
2608 in
double theRadius,
2622 in
long theShapeType,
2624 in
double theRadius,
2640 in
long theShapeType,
2657 in
long theShapeType,
2670 in
long theShapeType,
2683 in
short theShapeType,
2696 in
short theShapeType,
2709 in
short theShapeType,
2851 in
short theShapeType,
2853 in
double theTolerance);
2979 in
double theEpsilon);
3071 in
long theShapeType,
3072 in
double theTolerance);
3087 in
long theMinNbFaces,
3088 in
long theMaxNbFaces,
3089 out
long theNbBlocks);
3144 in
double theToleranceC1,
3170 in
double theToleranceC1,
3185 in
long theOptimumNbFaces);
3216 in
long theMinNbFaces,
3217 in
long theMaxNbFaces);
3262 in
long theDirFace1,
3263 in
long theDirFace2,
3264 in
long theNbTimes);
3275 in
long theDirFace1U,
3276 in
long theDirFace2U,
3277 in
long theNbTimesU,
3278 in
long theDirFace1V,
3279 in
long theDirFace2V,
3280 in
long theNbTimesV);
3315 in
long theOperation,
3316 in
boolean IsCheckSelfInte);
3329 in
boolean IsCheckSelfInte,
3330 in
boolean IsRmExtraEdges);
3342 in
boolean IsCheckSelfInte,
3343 in
boolean IsRmExtraEdges);
3353 in
boolean IsCheckSelfInte);
3365 in
boolean IsCheckSelfInte);
3398 in
boolean theRemoveWebs,
3400 in
short theKeepNonlimitShapes);
3424 in
boolean theRemoveWebs,
3426 in
short theKeepNonlimitShapes,
3427 in
boolean IsCheckSelfInte);
3477 in
long theOperation,
3478 in
boolean IsCheckSelfInte,
3479 in
double theFuzzyParam);
3494 in
boolean IsCheckSelfInte,
3495 in
boolean IsRmExtraEdges,
3496 in
double theFuzzyParam);
3510 in
boolean IsCheckSelfInte,
3511 in
boolean IsRmExtraEdges,
3512 in
double theFuzzyParam);
3524 in
boolean IsCheckSelfInte,
3525 in
double theFuzzyParam);
3539 in
boolean IsCheckSelfInte,
3540 in
double theFuzzyParam);
3575 in
boolean theRemoveWebs,
3577 in
short theKeepNonlimitShapes,
3578 in
double theFuzzyParam);
3604 in
boolean theRemoveWebs,
3606 in
short theKeepNonlimitShapes,
3607 in
boolean IsCheckSelfInte,
3608 in
double theFuzzyParam);
3631 in
double theFuzzyParam);
3679 in
double theRMajor,
3680 in
double theRMinor);
3693 in
double theRMajor,
3694 in
double theRMinor,
3719 in
boolean theSense);
3741 in
boolean theIsClosed);
3750 in
boolean theIsClosed);
3761 in
boolean theIsClosed,
3762 in
boolean theDoReordering);
3789 in
double theParamMin,
3790 in
double theParamMax,
3791 in
double theParamStep,
3808 in
double theParamMin,
3809 in
double theParamMax,
3810 in
long theParamNbStep,
3824 in
boolean IsUIsoline,
3825 in
double theParameter);
4065 in
boolean doIgnoreSecantVertices);
4088 in
double theD1, in
double theD2,
4089 in
long theFace1, in
long theFace2);
4095 in
double theD, in
double theAngle,
4096 in
long theFace1, in
long theFace2);
4112 in
double theD1, in
double theD2,
4119 in
double theD, in
double theAngle,
4131 in
double theD1, in
double theD2,
4138 in
double theD, in
double theAngle,
4152 in
double theWeight,
4153 in
double theWaterDensity,
4154 in
double theMeshDeflection);
4234 in
boolean isCommonVertex);
4290 in
double theValue, in
boolean isByParameter);
4302 in
short theEdgeIndex,
4409 string ReadValue (in
string theFileName, in
string theFormatName, in
string theParameterName);
4433 long AddTexture(in
long theWidth, in
long theHeight, in SALOMEDS::TMPFile theTexture);
4442 SALOMEDS::TMPFile
GetTexture(in
long theID, out
long theWidth, out
long theHeight);
4604 out
double Ox, out
double Oy, out
double Oz,
4605 out
double Zx, out
double Zy, out
double Zz,
4606 out
double Xx, out
double Xy, out
double Xz);
4619 in
double theTolerance,
4620 out
double theLength,
4621 out
double theSurfArea,
4622 out
double theVolume);
4659 out
double I11, out
double I12, out
double I13,
4660 out
double I21, out
double I22, out
double I23,
4661 out
double I31, out
double I32, out
double I33,
4662 out
double Ix , out
double Iy , out
double Iz);
4675 out
double Xmin, out
double Xmax,
4676 out
double Ymin, out
double Ymax,
4677 out
double Zmin, out
double Zmax);
4686 in
boolean precise);
4697 out
double FaceMin, out
double FaceMax,
4698 out
double EdgeMin, out
double EdgeMax,
4699 out
double VertMin, out
double VertMax);
4811 boolean ExtractBOPFailure (in
ListOfGO theShapes,
4812 in
boolean theUseTimer,
4813 in
boolean theTopoOnly,
4814 in
boolean theRunParallel,
4815 in
boolean theDoExact,
4827 in
long theCheckLevel,
4841 in
float theDeflection,
4842 in
double theTolerance,
4868 in
double theTolerance,
4869 in
float theDeflection,
4905 out
double X1, out
double Y1, out
double Z1,
4906 out
double X2, out
double Y2, out
double Z2);
4971 in
double theVParam);
4989 in
double theVParam);
5029 in
boolean theIsNormalized);
5043 in
boolean theIsNormalized);
5099 in
long theShapeType1,
5100 in
long theShapeType2);
5122 in
long theShapeType,
5123 in
long theSubShapeType,
5124 in
double theTolerance);
5149 in
long theNbSamples);
5354 in
boolean isRelative, in
double angularDeflection);
5405 interface GEOM_Gen : Engines::EngineComponent,SALOMEDS::Driver
5451 in
boolean theInheritFirstArg,
5452 in
boolean theAddPrefix);
5479 in
boolean theInheritFirstArg,
5480 in
boolean theAddPrefix);
5507 in
boolean theInheritFirstArg,
5508 in
boolean theAddPrefix);
5573 string GetDumpName (in
string theStudyEntry);
5586 in Object theObject);
5600 SALOMEDS::SObject CreateFolder (in
string theName,
5601 in SALOMEDS::SObject theFather);
5611 in SALOMEDS::SObject theFolder);
5621 in SALOMEDS::SObject theFolder);
5633 in SALOMEDS::SObject where,
5664 void BreakLink(in
string theEntry);
A common root of objects in GEOM module.
Definition: GEOM_Gen.idl:300
string GetEntry()
Get internal (unique) entry of the object in the GEOM component's data tree.
string GetParameters()
Return list of notebook variables used for object creation separated by ":" symbol.
CreationInformationSeq GetCreationInformation()
Return name of operation and values of parameters used for object creation.
boolean IsSame(in GEOM_BaseObject other)
long GetType()
Get internal type of operation created this object (POINT, BOX, CYLINDER, EXTRUSION....
long GetTick()
Get value of a modification counter of the object.
GEOM_Gen GetGen()
Return the engine creating this object.
void SetName(in string theName)
Set name of the object.
ListOfGBO GetLastDependency()
Get a list of GEOM_Object on which the last function that created or modified the object depends.
void SetStudyEntry(in string theEntry)
Set a Study entry where this object was published.
ListOfGBO GetDependency()
Get a list of all GEOM_Object on which were the arguments when this object was constructed and modifi...
string GetStudyEntry()
Get a Study entry where this object was published.
string GetName()
Get name of the object associated with this object.
void SetParameters(in string theParameters)
Interface of the boolean field time step.
Definition: GEOM_Gen.idl:640
short_array GetValues()
Returns values of the field step.
boolean SetValues(in short_array boolValues)
Changes values of the field step. Returns false if number of values is wrong.
Interface of the double field time step.
Definition: GEOM_Gen.idl:674
ListOfDouble GetValues()
Returns values of the field step.
boolean SetValues(in ListOfDouble doubleValues)
Changes values of the field step. Returns false if number of values is wrong.
Interface of the field time step.
Definition: GEOM_Gen.idl:613
long GetStamp()
Returns the time of the field step.
void SetStamp(in long stamp)
Changes the time of the field step.
GEOM_Field GetField()
Returns the field the step belongs to.
long GetID()
Returns the number of the field step.
Interface of the field.
Definition: GEOM_Gen.idl:548
GEOM_FieldStep GetStep(in long stepID)
Returns a time step by its ID.
GEOM_Object GetShape()
Returns the shape the field lies on.
ListOfLong GetSteps()
Returns a list of time step IDs in the field.
void RemoveStep(in long stepID)
Remove a time step from the field.
string_array GetComponents()
Returns names of components.
long GetArraySize()
Returns a size of data array that is to be passed to GEOM_FieldStep.SetValues( dataArray )....
short GetDimension()
Returns dimension of the shape the field lies on 0 - VERTEX, 1 - EDGE, 2 - FACE, 3 - SOLID,...
field_data_type GetDataType()
Returns type of field data.
GEOM_FieldStep AddStep(in long stepID, in long stamp)
Removes a component. Component number counts from one.
long CountSteps()
Returns number of time steps in the field.
Interface to access other GEOM interfaces.
Definition: GEOM_Gen.idl:5406
SALOMEDS::SObject AddInStudy(in GEOM_BaseObject theObject, in string theName, in GEOM_BaseObject theFather)
Publishing management.
void Undo()
Undo/Redo Management.
GEOM_IBasicOperations GetIBasicOperations()
ListOfGO RestoreSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreGivenSubShapesO(in GEOM_Object theObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
ListOfGO RestoreSubShapesSO(in SALOMEDS::SObject theSObject, in ListOfGO theArgs, in find_shape_method theFindMethod, in boolean theInheritFirstArg, in boolean theAddPrefix)
Publish sub-shapes, standing for arguments and sub-shapes of arguments.
Interface for 3D primitives creation.
Definition: GEOM_Gen.idl:1523
GEOM_Object MakeBoxDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coor...
GEOM_Object MakePrismTwoPntWithScaling(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in double theScaleFactor)
GEOM_Object MakePrismVecH2Ways(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
GEOM_Object MakeDiskR(in double theR, in short theOrientation)
Create a disk specified dimensions along OX-OY coordinate axes.
GEOM_Object MakePrismDXDYDZ2Ways(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
ListOfGO MakePipe(in GEOM_Object theBase, in GEOM_Object thePath, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape. The path shape can be a wire or a...
GEOM_Object MakeTorusPntVecRR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create a torus with given center, normal vector and radiuses.
GEOM_Object MakeCylinderRH(in double theR, in double theH)
Create a cylinder with given radius and height at the origin of coordinate system.
GEOM_Object MakeCylinderPntVecRHA(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH, in double theA)
Create a portion of cylinder with given base point, axis, radius, height and angle.
GEOM_Object MakeFaceObjHW(in GEOM_Object theObj, in double theH, in double theW)
Create a face by normale vector or edge and two specified sizes, vertical (H) and horisontal (W).
GEOM_Object MakeTorusRR(in double theRMajor, in double theRMinor)
Create a torus with given radiuses at the origin of coordinate system.
ListOfGO MakePipeBiNormalAlongVector(in GEOM_Object theBase, in GEOM_Object thePath, in GEOM_Object theVec, in boolean IsGenerateGroups)
Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction ...
GEOM_Object MakeRevolutionAxisAngle(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
Create a shape by revolution of the base shape around the axis on the given angle.
GEOM_Object MakeFilling(in ListOfGO theContours, in long theMinDeg, in long theMaxDeg, in double theTol2D, in double theTol3D, in long theNbIter, in filling_oper_method theMethod, in boolean theApprox)
Create a face from a given set of contours.
GEOM_Object MakeSphereR(in double theR)
Create a sphere with given radius at the origin of coordinate system.
GEOM_Object MakeRevolutionAxisAngle2Ways(in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
GEOM_Object MakeCylinderRHA(in double theR, in double theH, in double theA)
Create a portion of cylinder with given radius, height and angle at the origin of coordinate system.
ListOfGO MakePipeShellsWithoutPath(in ListOfGO theSeqBases, in ListOfGO theLocations, in boolean IsGenerateGroups)
Create solids between given sections.
GEOM_Object MakeFaceHW(in double theH, in double theW, in short theOrientation)
Create a face specified dimensions along OX-OY coordinate axes, with edges parallel to the coordinate...
GEOM_Object MakePrismTwoPnt(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Create a shape by extrusion of the base shape along a vector, defined by two points.
GEOM_Object MakeDiskThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a disk (circular face), passing through three given points.
GEOM_Object MakeSpherePntR(in GEOM_Object thePnt, in double theR)
Create a sphere with given center and radius.
GEOM_Object RestorePath(in GEOM_Object theShape, in GEOM_Object theBase1, in GEOM_Object theBase2)
Build a middle path of a pipe-like shape.
GEOM_Object MakeThickening(in GEOM_Object theObject, in ListOfLong theFacesIDs, in double theThickness, in boolean isCopy, in boolean isInside)
Make a thick solid from a shape.
ListOfGO MakePipeWithShellSections(in ListOfGO theSeqBases, in ListOfGO theSeqSubBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakePrismTwoPnt2Ways(in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
GEOM_Object MakeDraftPrism(in GEOM_Object theInitShape, in GEOM_Object theBase, in double theHeight, in double theAngle, in boolean theFuse, in boolean theInvert)
Add / Remove material to / from a solid by extrusion of the base shape on the given distance.
GEOM_Object MakeThruSections(in ListOfGO theSeqSections, in boolean theModeSolid, in double thePreci, in boolean theRuled)
Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices.
GEOM_Object MakeCylinderPntVecRH(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH)
Create a cylinder with given base point, axis, radius and height.
GEOM_Object MakeBoxTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes.
ListOfGO MakePipeWithDifferentSections(in ListOfGO theSeqBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsBySteps, in boolean IsGenerateGroups)
Create a shape by extrusion of the profile shape along the path shape.
GEOM_Object MakeConeR1R2H(in double theR1, in double theR2, in double theH)
Create a cone with given height and radiuses at the origin of coordinate system.
GEOM_Object MakePrismVecHWithScaling(in GEOM_Object theBase, in GEOM_Object theVec, in double theH, in double theScaleFactor)
GEOM_Object MakePrismDXDYDZ(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
Create a shape by extrusion of the base shape along a vector, defined by DX DY DZ.
GEOM_Object MakeDiskPntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a Disk (circular face) with given center, normal vector and radius.
GEOM_Object MakeConePntVecR1R2H(in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR1, in double theR2, in double theH)
Create a cone with given base point, axis, height and radiuses.
GEOM_Object MakePrismVecH(in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
Create a shape by extrusion of the base shape along the vector.
GEOM_Object MakePrismDXDYDZWithScaling(in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ, in double theScaleFactor)
GEOM_Object RestorePathEdges(in GEOM_Object theShape, in ListOfGO theBase1, in ListOfGO theBase2)
Build a middle path of a pipe-like shape.
Interface for basic geometry creation.
Definition: GEOM_Gen.idl:748
GEOM_Object MakePointWithReference(in GEOM_Object theReference, in double theX, in double theY, in double theZ)
Create a point, distant from the referenced point on the given distances along the coordinate axes.
GEOM_Object MakePlaneThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in double theTrimSize)
Create a plane, passing through the three given points.
GEOM_Object MakeLineTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a line, passing through the given points.
GEOM_Object MakeMarker(in double theOX, in double theOY, in double theOZ, in double theXDX, in double theXDY, in double theXDZ, in double theYDX, in double theYDY, in double theYDZ)
Create a local coordinate system.
GEOM_Object MakePointXYZ(in double theX, in double theY, in double theZ)
Create point by three coordinates.
GEOM_Object MakePlanePntVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theTrimSize)
Create a plane, passing through the given point and normal to the given vector.
GEOM_Object MakePointOnSurface(in GEOM_Object theRefSurf, in double theUParameter, in double theVParameter)
Create a point, corresponding to the given parameters on the given surface.
GEOM_Object MakeVectorTwoPnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a vector between two points.
GEOM_Object MakeLine(in GEOM_Object thePnt, in GEOM_Object theDir)
Create a line, passing through the given point and parallel to the given direction.
GEOM_Object MakePointOnFace(in GEOM_Object theFace, in long theNumberOfPnts)
Create a point, which lays on the given face. The point will lay in arbitrary place of the face....
GEOM_Object MakeVectorDXDYDZ(in double theDX, in double theDY, in double theDZ)
Create a vector with the given components.
GEOM_Object MakePlaneFace(in GEOM_Object theFace, in double theTrimSize)
Create a plane, similar to the existing one, but with another size of representing face.
GEOM_Object MakePointOnCurve(in GEOM_Object theRefCurve, in double theParameter, in boolean takeOrientationIntoAccount)
GEOM_Object MakePointOnLinesIntersection(in GEOM_Object theRefLine1, in GEOM_Object theRefLine2)
Create a point, on two lines intersection.
GEOM_Object MakeTangentPlaneOnFace(in GEOM_Object theFace, in double theParameterU, in double theParameterV, in double theTrimSize)
Create a tangent plane to specified face in the point with specified parameters.
GEOM_Object MakePointOnSurfaceByCoord(in GEOM_Object theRefSurf, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given surface, projecting given point.
GEOM_Object MakeTangentOnCurve(in GEOM_Object theRefCurve, in double theParameter)
Create a vector, corresponding to tangent to the given parameter on the given curve.
GEOM_Object MakeMarkerPntTwoVec(in GEOM_Object theOrigin, in GEOM_Object theXVec, in GEOM_Object theYVec)
Create a local coordinate system from point and two vectors (DX, DY).
GEOM_Object MakeLineTwoFaces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a line, given by two faces intersection.
GEOM_Object MakePointOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create a point, corresponding to the given length on the given curve.
GEOM_Object MakePlaneLCS(in GEOM_Object theLCS, in double theTrimSize, in double theOrientation)
Create a plane, defined by local coordinate system.
GEOM_Object MakePointOnCurveByCoord(in GEOM_Object theRefCurve, in double theXParameter, in double theYParameter, in double theZParameter)
Create a point on the given curve, projecting given point.
GEOM_Object MakeMarkerFromShape(in GEOM_Object theShape)
Create a local coordinate system from shape.
GEOM_Object MakePlane2Vec(in GEOM_Object theVec1, in GEOM_Object theVec2, in double theTrimSize)
Create a plane, by two vectors.
Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translati...
Definition: GEOM_Gen.idl:2901
GEOM_Object MakeQuad(in GEOM_Object theEdge1, in GEOM_Object theEdge2, in GEOM_Object theEdge3, in GEOM_Object theEdge4)
Create a quadrangle face from four edges. Order of Edges is not important. It is not necessary that e...
ListOfGO Propagate(in GEOM_Object theShape)
Build all possible propagation groups.
GEOM_Object GetFaceByEdges(in GEOM_Object theShape, in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Get a face of block, found in the given shape by two given edges.
GEOM_Object GetFaceByPoints(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in GEOM_Object thePoint3, in GEOM_Object thePoint4)
Returns a face, found in the given shape by four given corner vertices.
GEOM_Object MakeHexa2Faces(in GEOM_Object theFace1, in GEOM_Object theFace2)
Create a hexahedral solid between two given faces.
GEOM_Object GetEdge(in GEOM_Object theShape, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
Get an edge, found in the given shape by two given vertices.
GEOM_Object GetNonBlocks(in GEOM_Object theShape, in double theToleranceC1, out GEOM_Object theNonQuads)
Retrieve all non blocks solids and faces from a shape.
GEOM_Object GetPoint(in GEOM_Object theShape, in double theX, in double theY, in double theZ, in double theEpsilon)
Get a vertex, found in the given shape by its coordinates.
GEOM_Object MakeMultiTransformation2D(in GEOM_Object theBlock, in long theDirFace1U, in long theDirFace2U, in long theNbTimesU, in long theDirFace1V, in long theDirFace2V, in long theNbTimesV)
Multi-transformate block and glue the result.
string PrintBCErrors(in GEOM_Object theCompound, in BCErrors theErrors)
Convert sequence of Blocks Compound errors, returned by CheckCompoundOfBlocks(), into string.
ListOfGO GetBlocksByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Return all blocks, containing all the elements, passed as the parts.
GEOM_Object GetEdgeNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find an edge of the given shape, which has minimal distance to the given point.
GEOM_Object MakeQuad4Vertices(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3, in GEOM_Object thePnt4)
Create a quadrangle face with specified corners.
GEOM_Object MakeHexa(in GEOM_Object theFace1, in GEOM_Object theFace2, in GEOM_Object theFace3, in GEOM_Object theFace4, in GEOM_Object theFace5, in GEOM_Object theFace6)
Create a hexahedral solid, bounded by the six given faces. Order of faces is not important.
GEOM_Object GetFaceNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a face of the given shape, which has minimal distance to the given point.
GEOM_Object CheckAndImprove(in GEOM_Object theCompound)
Check, if the given shape is a blocks compound.
GEOM_Object UnionFaces(in GEOM_Object theShape)
Performs union faces of theShape.
GEOM_Object GetShapesNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint, in long theShapeType, in double theTolerance)
Find all sub-shapes of type theShapeType of the given shape, which have minimal distance to the given...
BCErrorType
Enumeration of Blocks Compound defects.
Definition: GEOM_Gen.idl:3095
@ EXTRA_EDGE
Definition: GEOM_Gen.idl:3100
@ NOT_BLOCK
Definition: GEOM_Gen.idl:3097
@ INVALID_CONNECTION
Definition: GEOM_Gen.idl:3103
@ NOT_CONNECTED
Definition: GEOM_Gen.idl:3106
ListOfGO ExplodeCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces)
Get all the blocks, contained in the given compound.
GEOM_Object GetBlockByParts(in GEOM_Object theCompound, in ListOfGO theParts)
Find block, containing all the elements, passed as the parts, or maximum quantity of them.
boolean IsCompoundOfBlocks(in GEOM_Object theCompound, in long theMinNbFaces, in long theMaxNbFaces, out long theNbBlocks)
Check, if the compound contains only specified blocks.
GEOM_Object MakeQuad2Edges(in GEOM_Object theEdge1, in GEOM_Object theEdge2)
Create a quadrangle face on two edges.
GEOM_Object RemoveExtraEdges(in GEOM_Object theShape, in long theOptimumNbFaces)
Remove all seam and degenerated edges from theShape.
GEOM_Object GetVertexNearPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Find a vertex of the given shape, which has minimal distance to the given point.
GEOM_Object GetOppositeFace(in GEOM_Object theBlock, in GEOM_Object theFace)
Find a face, opposite to the given one in the given block.
sequence< BCError > BCErrors
Sequence of all Blocks Compound defects.
Definition: GEOM_Gen.idl:3124
GEOM_Object GetBlockNearPoint(in GEOM_Object theCompound, in GEOM_Object thePoint)
Find block, containing the given point inside its volume or on boundary.
GEOM_Object MakeMultiTransformation1D(in GEOM_Object theBlock, in long theDirFace1, in long theDirFace2, in long theNbTimes)
Multi-transformate block and glue the result.
GEOM_Object GetFaceByNormale(in GEOM_Object theBlock, in GEOM_Object theVector)
Find a face of block, whose outside normale has minimal angle with the given vector.
boolean CheckCompoundOfBlocks(in GEOM_Object theCompound, in double theToleranceC1, out BCErrors theErrors)
Check, if the compound of blocks is given.
Interface for boolean operations (Cut, Fuse, Common)
Definition: GEOM_Gen.idl:3302
GEOM_Object MakeFuse(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakeBoolean(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeBooleanWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theOperation, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform one of boolean operations on two given shapes.
GEOM_Object MakeCommonListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform common boolean operation on list of objects.
GEOM_Object MakePartition(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes)
Perform partition operation.
GEOM_Object MakeFuseWithFuzzy(in GEOM_Object theShape1, in GEOM_Object theShape2, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on two given shapes.
GEOM_Object MakePartitionWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in double theFuzzyParam)
Perform partition operation.
GEOM_Object MakeCommonList(in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform common boolean operation on list of objects.
GEOM_Object MakeHalfPartition(in GEOM_Object theShape, in GEOM_Object thePlane)
Perform partition of the Shape with the Plane.
GEOM_Object MakeFuseList(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeHalfPartitionWithFuzzy(in GEOM_Object theShape, in GEOM_Object thePlane, in double theFuzzyParam)
Perform partition of the Shape with the Plane.
GEOM_Object MakePartitionNonSelfIntersectedShape(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte)
Perform partition operation.
GEOM_Object MakeFuseListWithFuzzy(in ListOfGO theShapes, in boolean IsCheckSelfInte, in boolean IsRmExtraEdges, in double theFuzzyParam)
Perform fusion boolean operation on list of objects.
GEOM_Object MakeCutListWithFuzzy(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakeCutList(in GEOM_Object theMainShape, in ListOfGO theShapes, in boolean IsCheckSelfInte)
Perform cutting of list of objects from theMainShape.
GEOM_Object MakePartitionNonSelfIntersectedShapeWithFuzzy(in ListOfGO theShapes, in ListOfGO theTools, in ListOfGO theKeepInside, in ListOfGO theRemoveInside, in short theLimit, in boolean theRemoveWebs, in ListOfLong theMaterials, in short theKeepNonlimitShapes, in boolean IsCheckSelfInte, in double theFuzzyParam)
Perform partition operation.
Interface for canonical recognition operations.
Definition: GEOM_Gen.idl:5362
boolean isSphere(in GEOM_Object shape, in double tolerance, inout ListOfDouble origin, inout double radius)
boolean isCylinder(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble origin, inout double radius)
boolean isPlane(in GEOM_Object shape, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin)
boolean isCone(in GEOM_Object shape, in double tolerance, inout ListOfDouble axis, inout ListOfDouble apex, inout double halfAngle)
boolean isLine(in GEOM_Object edge, in double tolerance, inout ListOfDouble direction, inout ListOfDouble origin)
boolean isCircle(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble origin, inout double radius)
boolean isEllipse(in GEOM_Object edge, in double tolerance, inout ListOfDouble normal, inout ListOfDouble dirX, inout ListOfDouble origin, inout double majorRadius, inout double minorRadius)
Interface for curves creation.
Definition: GEOM_Gen.idl:3641
GEOM_Object MakeSplineBezier(in ListOfGO thePoints, in boolean theIsClosed)
Create bezier curve on the set of points.
GEOM_Object MakeArc(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create an arc of circle, passing through three given points.
GEOM_Object MakeSketcherOnPlane(in string theCommand, in GEOM_Object theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakeEllipse(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
Create an ellipse with given center, normal vector and radiuses.
GEOM_Object MakeArcCenter(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2, in boolean theSense)
Create an arc of circle of center C from one point to another.
GEOM_Object MakeCircleCenter2Pnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle with given center, with a radius equals the distance from center to Point1 and on a p...
GEOM_Object MakeEllipseVec(in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor, in GEOM_Object theVecMaj)
Create an ellipse with given center, normal vector, main axis vector and radiuses.
GEOM_Object MakeSplineInterpolation(in ListOfGO thePoints, in boolean theIsClosed, in boolean theDoReordering)
Create B-Spline curve on the set of points.
GEOM_Object Make3DSketcherCommand(in string theCommand)
Create a 3D sketcher, following the textual description, passed through theCommand argument.
GEOM_Object MakeCirclePntVecR(in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
Create a circle with given center, normal vector and radius.
GEOM_Object MakeIsoline(in GEOM_Object theFace, in boolean IsUIsoline, in double theParameter)
Creates an isoline curve on a face.
GEOM_Object MakePolyline(in ListOfGO thePoints, in boolean theIsClosed)
Create a polyline on the set of points.
GEOM_Object MakeCircleThreePnt(in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
Create a circle, passing through three given points.
GEOM_Object MakeCurveParametric(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in double theParamStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeCurveParametricNew(in string thexExpr, in string theyExpr, in string thezExpr, in double theParamMin, in double theParamMax, in long theParamNbStep, in curve_type theCurveType)
Creates a curve using the parametric definition of the basic points.
GEOM_Object MakeArcOfEllipse(in GEOM_Object theCenter, in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create an arc of ellipse of center C and two points P1 P2.
GEOM_Object MakePolyline2DOnPlane(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in GEOM_Object theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object MakeSplineInterpolWithTangents(in ListOfGO thePoints, in GEOM_Object theFirstVec, in GEOM_Object theLastVec)
Create B-Spline curve on the set of points.
GEOM_Object MakeSketcher(in string theCommand, in ListOfDouble theWorkingPlane)
Create a sketcher (wire or face), following the textual description, passed through theCommand argume...
GEOM_Object MakePolyline2D(in ListOfListOfDouble theCoordsList, in string_array theNamesList, in short_array theTypesList, in ListOfBool theClosedList, in ListOfDouble theWorkingPlane)
Create a 2D polyline (wire or a compound of wires).
GEOM_Object Make3DSketcher(in ListOfDouble theCoordinates)
Create a 3D sketcher, made of a straight segments, joining points with coordinates passed through the...
Interface for field operation.
Definition: GEOM_Gen.idl:5309
long GetNbSubShapes(in GEOM_Object shape, in short fieldDim)
Returns number of sub-shapes of given dimension.
GEOM_Field CreateField(in GEOM_Object shape, in string name, in field_data_type type, in short dimension, in string_array componentNames)
Creates a field.
long CountFields(in GEOM_Object shape)
Returns number of fields on a shape.
ListOfFields GetFields(in GEOM_Object shape)
Returns all fields on a shape.
GEOM_Field GetField(in GEOM_Object shape, in string name)
Returns a field on a shape by its name.
Interface for groups creation.
Definition: GEOM_Gen.idl:5172
GEOM_Object CutGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Cut of two groups. New group is created. It will contain entities which are present in group theGroup...
GEOM_Object CreateGroup(in GEOM_Object theMainShape, in long theShapeType)
Creates a new group which will store sub-shapes of theMainShape.
GEOM_Object IntersectListOfGroups(in ListOfGO theGList)
Intersection of list of groups. New group is created. It will contain only entities which are simulta...
void RemoveObject(in GEOM_Object theGroup, in long theSubShapeId)
Removes a sub-object with ID theSubShapeId from the group.
GEOM_Object UnionGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Union of two groups. New group is created. It will contain all entities which are present in groups t...
long GetType(in GEOM_Object theGroup)
Returns a type of sub-objects stored in the group.
void UnionIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
void UnionList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Adds to the group all the given shapes. No errors, if some shapes are already included.
GEOM_Object GetMainShape(in GEOM_Object theGroup)
Returns a main shape associated with the group.
GEOM_Object UnionListOfGroups(in ListOfGO theGList)
Union of list of groups. New group is created. It will contain all entities that are present in group...
GEOM_Object IntersectGroups(in GEOM_Object theGroup1, in GEOM_Object theGroup2)
Intersection of two groups. New group is created. It will contain only those entities which are prese...
ListOfLong GetObjects(in GEOM_Object theGroup)
Returns a list of sub-objects ID stored in the group.
GEOM_Object CutListOfGroups(in ListOfGO theGList1, in ListOfGO theGList2)
Cut of lists of groups. New group is created. It will contain only entities which are present in grou...
void DifferenceIDs(in GEOM_Object theGroup, in ListOfLong theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
void AddObject(in GEOM_Object theGroup, in long theSubShapeId)
Adds a sub-object with ID theSubShapeId to the group.
void DifferenceList(in GEOM_Object theGroup, in ListOfGO theSubShapes)
Removes from the group all the given shapes. No errors, if some shapes are not included.
Interface for shape healing operations.
Definition: GEOM_Gen.idl:4171
GEOM_Object SewAllowNonManifold(in ListOfGO theObjects, in double theTolerance)
GEOM_Object RemoveIntWires(in GEOM_Object theObject, in short_array theWires)
Remove internal wires and edges from the given object (face).
ModifStatistics GetStatistics()
Return information on what has been done by the last called healing method.
GEOM_Object DivideEdge(in GEOM_Object theObject, in short theEdgeIndex, in double theValue, in boolean isByParameter)
Addition of a point to a given edge of theObject.
GEOM_Object SuppressFaces(in GEOM_Object theObject, in short_array theFaces)
Remove faces from the given object (shape).
GEOM_Object ProcessShape(in GEOM_Object theShapes, in string_array theOperators, in string_array theParameters, in string_array theValues)
Apply a sequence of Shape Healing operators to the given object.
void FuncToPythonDump(in GEOM_Object theObject, in GEOM_Object result, in string imports, in string funcName, in string args)
Provides Python dump functionality for algorithms entirely implemented in Python.
GEOM_Object ChangeOrientationCopy(in GEOM_Object theObject)
void GetShapeProcessParameters(out string_array theOperators, out string_array theParameters, out string_array theValues)
Get default sequence of operators, their parameters and parameters' values of Shape Process operation...
GEOM_Object LimitTolerance(in GEOM_Object theObject, in double theTolerance)
Try to limit tolerance of the given object by value theTolerance.
GEOM_Object ChangeOrientation(in GEOM_Object theObject)
Change orientation of the given object.
boolean GetFreeBoundary(in ListOfGO theObjects, out ListOfGO theClosedWires, out ListOfGO theOpenWires)
Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shapes.
GEOM_Object CloseContour(in GEOM_Object theObject, in short_array theWires, in boolean isCommonVertex)
Close an open wire.
GEOM_Object FuseCollinearEdgesWithinWire(in GEOM_Object theWire, in ListOfGO theVertices)
Suppress the vertices in the wire in case if adjacent edges are C1 continuous.
GEOM_Object FillHoles(in GEOM_Object theObject, in short_array theWires)
Remove internal closed contours (holes) from the given object.
void GetOperatorParameters(in string theOperator, out string_array theParameters, out string_array theValues)
Get parameters and parameters' values for the given Shape Process operation.
GEOM_Object DivideEdgeByPoint(in GEOM_Object theObject, in short theEdgeIndex, in ListOfGO thePoints)
Addition of points to a given edge of theObject by projecting other points to the given edge.
GEOM_Object RemoveInternalFaces(in ListOfGO theSolids)
GEOM_Object Sew(in ListOfGO theObjects, in double theTolerance)
Interface for shape insert operations (like copy, import).
Definition: GEOM_Gen.idl:4367
string ReadValue(in string theFileName, in string theFormatName, in string theParameterName)
Deprecated method. Use ReadValue (from the corresponding plugin) instead.
sequence< TransferDatum > ListOfTransferDatum
Sequence of non-topological information transfer data.
Definition: GEOM_Gen.idl:4463
GEOM_Object MakeCopy(in GEOM_Object theOriginal)
Create a copy of the given object.
long AddTexture(in long theWidth, in long theHeight, in SALOMEDS::TMPFile theTexture)
Add texture to the study.
ListOfGBO ImportFile(in string theFileName, in string theFormatName)
Deprecated method. Use Import<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
void Export(in GEOM_Object theObject, in string theFileName, in string theFormatName)
Deprecated method. Use Export<FormatName> (from the corresponding plugin) instead; here <FormatName> ...
long LoadTexture(in string theTextureFile)
Load texture from file.
SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight)
Get previously loaded texture data.
ListOfLong GetAllTextures()
Get list of all available texture IDs.
GEOM_Object RestoreShape(in SALOMEDS::TMPFile theStream)
Read a shape from the binary stream, containing its bounding representation (BRep).
boolean TransferData(in GEOM_Object theObjectFrom, in GEOM_Object theObjectTo, in find_shape_method theFindMethod, out ListOfTransferDatum theResult)
Transfer non-topological data from one object to another.
Interface for shape_kind enumeration.
Definition: GEOM_Gen.idl:4491
shape_kind
Definition: GEOM_Gen.idl:4492
@ CRV_BSPLINE
Definition: GEOM_Gen.idl:4551
@ TORUS
Definition: GEOM_Gen.idl:4509
@ COMPSOLID
Definition: GEOM_Gen.idl:4496
@ SOLID
Definition: GEOM_Gen.idl:4515
@ WIRE
Definition: GEOM_Gen.idl:4498
@ SEGMENT
Definition: GEOM_Gen.idl:4549
@ VERTEX
Definition: GEOM_Gen.idl:4561
@ BOX
Definition: GEOM_Gen.idl:4505
@ NO_SHAPE
Definition: GEOM_Gen.idl:4493
@ PLANAR
Definition: GEOM_Gen.idl:4534
@ ELLIPSE
Definition: GEOM_Gen.idl:4543
@ FACE
Definition: GEOM_Gen.idl:4536
@ ARC_ELLIPSE
Definition: GEOM_Gen.idl:4545
@ PLANE
Definition: GEOM_Gen.idl:4532
@ COMPOUND
Definition: GEOM_Gen.idl:4495
@ ARC_CIRCLE
Definition: GEOM_Gen.idl:4541
@ POLYHEDRON
Definition: GEOM_Gen.idl:4513
@ ROTATED_BOX
Definition: GEOM_Gen.idl:4507
@ CYLINDER
Definition: GEOM_Gen.idl:4503
@ HYPERBOLA
Definition: GEOM_Gen.idl:4555
@ DISK_ELLIPSE
Definition: GEOM_Gen.idl:4528
@ CYLINDER2D
Definition: GEOM_Gen.idl:4520
@ LCS
Definition: GEOM_Gen.idl:4563
@ PARABOLA
Definition: GEOM_Gen.idl:4557
@ CONE
Definition: GEOM_Gen.idl:4511
@ EDGE
Definition: GEOM_Gen.idl:4559
@ CIRCLE
Definition: GEOM_Gen.idl:4539
@ SHELL
Definition: GEOM_Gen.idl:4497
@ SPHERE
Definition: GEOM_Gen.idl:4501
@ LINE
Definition: GEOM_Gen.idl:4547
@ SPHERE2D
Definition: GEOM_Gen.idl:4518
@ CONE2D
Definition: GEOM_Gen.idl:4524
@ POLYGON
Definition: GEOM_Gen.idl:4530
@ CRV_BEZIER
Definition: GEOM_Gen.idl:4553
@ DISK_CIRCLE
Definition: GEOM_Gen.idl:4526
@ TORUS2D
Definition: GEOM_Gen.idl:4522
Interface for fillet and chamfer creation.
Definition: GEOM_Gen.idl:3987
GEOM_Object MakeFilletEdges(in GEOM_Object theShape, in double theR, in ListOfLong theEdges)
Perform a fillet on the specified edges of the given shape.
GEOM_Object MakeChamferEdgeAD(in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2)
The Same but with params theD = Chamfer Length and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferFacesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces)
GEOM_Object MakeFilletAll(in GEOM_Object theShape, in double theR)
Perform a fillet on all edges of the given shape.
GEOM_Object MakeArchimede(in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection)
Perform an Archimde operation on the given shape with given parameters. The object presenting the res...
GEOM_Object MakeFillet2D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes)
Perform a fillet on a face or a shell at the specified vertexes.
GEOM_Object MakeFilletEdgesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theEdges)
GEOM_Object MakeChamferEdge(in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2)
Perform a chamfer on edges, common to the specified faces. with distance D1 on the Face1.
GEOM_Object MakeChamferEdges(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges)
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
GEOM_Object MakeChamferFaces(in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces)
Perform a chamfer on all edges of the specified faces. with distance D1 on the first specified face (...
GEOM_Object MakeChamferEdgesAD(in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges)
GEOM_Object MakeFillet1D(in GEOM_Object theShape, in double theR, in ListOfLong theVertexes, in boolean doIgnoreSecantVertices)
Perform a fillet on edges of the specified vertexes of the given wire.
GEOM_Object MakeChamferAll(in GEOM_Object theShape, in double theD)
Perform a symmetric chamfer on all edges of the given shape.
long GetSubShapeIndex(in GEOM_Object theShape, in GEOM_Object theSubShape)
Duplicates GEOM_IShapesOperations.GetSubShapeIndex().
GEOM_Object MakeFilletFaces(in GEOM_Object theShape, in double theR, in ListOfLong theFaces)
Perform a fillet on all edges of the specified faces of the given shape.
GEOM_Object MakeFilletFacesR1R2(in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces)
Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass,...
Definition: GEOM_Gen.idl:4576
SequenceOfPairOfShape DistantShapes(in CheckResults theResults, in long theShapeType, in long theSubShapeType, in double theTolerance)
find remote objects (sub-shape on a shape). Avaliable types:
ListOfBool AreCoordsInside(in GEOM_Object theShape, in ListOfDouble coords, in double tolerance)
Check if points defined by coords = [x1, y1, z1, x2, y2, z2, ...] are inside or on the shape theShape...
double MaxSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get max radius of curvature of surface in the given point.
double GetAngleBtwVectors(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given vectors.
ListOfDouble UVtoXYZ(in GEOM_Object theSurf, in ListOfDouble theUVlist, in boolean theIsNormalized)
Convert UV parameters on the given surface to 3D points coordinates.
string PrintShapeErrors(in GEOM_Object theShape, in ShapeErrors theErrors)
Convert sequence of shape errors, returned by CheckShape() or CheckShapeWithGeometry(),...
double MinSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get min radius of curvature of surface in the point determinated by params.
SequenceOfPairOfShape InterferingSubshapes(in CheckResults theResults, in long theShapeType1, in long theShapeType2)
Find pairs of interfering sub-shapes, by default all pairs of interfering shapes are returned....
double CurveCurvatureByParam(in GEOM_Object theShape, in double theParam)
Get radius of curvature of curve in the point determinated by param.
boolean CheckSelfIntersections(in GEOM_Object theShape, in long theCheckLevel, out ListOfLong theIntersections)
Check a topology of the given shape on self-intersections presence.
ShapeErrorType
Enumeration of Shape defects coming from CheckShape algorithms.
Definition: GEOM_Gen.idl:4705
@ InvalidWire
Definition: GEOM_Gen.idl:4733
@ InvalidSameRangeFlag
Definition: GEOM_Gen.idl:4718
@ EmptyShell
Definition: GEOM_Gen.idl:4739
@ InvalidImbricationOfWires
Definition: GEOM_Gen.idl:4736
@ InvalidDegeneratedFlag
Definition: GEOM_Gen.idl:4720
@ InvalidRange
Definition: GEOM_Gen.idl:4724
@ RedundantWire
Definition: GEOM_Gen.idl:4734
@ InvalidCurveOnClosedSurface
Definition: GEOM_Gen.idl:4717
@ InvalidPointOnCurveOnSurface
Definition: GEOM_Gen.idl:4708
@ IntersectingWires
Definition: GEOM_Gen.idl:4735
@ BadOrientationOfSubshape
Definition: GEOM_Gen.idl:4750
@ EmptyWire
Definition: GEOM_Gen.idl:4727
@ NoCurveOnSurface
Definition: GEOM_Gen.idl:4715
@ SubshapeNotInShape
Definition: GEOM_Gen.idl:4747
@ BadOrientation
Definition: GEOM_Gen.idl:4749
@ SelfIntersectingWire
Definition: GEOM_Gen.idl:4729
@ InvalidCurveOnSurface
Definition: GEOM_Gen.idl:4716
@ Invalid3DCurve
Definition: GEOM_Gen.idl:4714
@ InvalidPointOnSurface
Definition: GEOM_Gen.idl:4709
@ InvalidPointOnCurve
Definition: GEOM_Gen.idl:4707
@ InvalidToleranceValue
Definition: GEOM_Gen.idl:4752
@ InvalidMultiConnexity
Definition: GEOM_Gen.idl:4723
@ FreeEdge
Definition: GEOM_Gen.idl:4722
@ RedundantFace
Definition: GEOM_Gen.idl:4740
@ RedundantEdge
Definition: GEOM_Gen.idl:4728
@ NotClosed
Definition: GEOM_Gen.idl:4744
@ InvalidSameParameterFlag
Definition: GEOM_Gen.idl:4719
@ UnorientableShape
Definition: GEOM_Gen.idl:4743
@ Multiple3DCurve
Definition: GEOM_Gen.idl:4713
@ No3DCurve
Definition: GEOM_Gen.idl:4712
@ NotConnected
Definition: GEOM_Gen.idl:4745
@ NoSurface
Definition: GEOM_Gen.idl:4732
double GetMinDistance(in GEOM_Object theShape1, in GEOM_Object theShape2, out double X1, out double Y1, out double Z1, out double X2, out double Y2, out double Z2)
Get minimal distance between the given shapes.
void GetPosition(in GEOM_Object theShape, out double Ox, out double Oy, out double Oz, out double Zx, out double Zy, out double Zz, out double Xx, out double Xy, out double Xz)
Get position (LCS) of theShape.
double GetCoarseProximity(in GEOM_Object theCalculator)
Compute coarse value of the proximity basing on the polygonal representation of shapes.
sequence< PairOfShape > SequenceOfPairOfShape
Definition: GEOM_Gen.idl:5067
sequence< ShapeError > ShapeErrors
Sequence of all shape defects.
Definition: GEOM_Gen.idl:4770
GEOM_IKindOfShape::shape_kind KindOfShape(in GEOM_Object theShape, out ListOfLong theIntegers, out ListOfDouble theDoubles)
Get kind of theShape.
ListOfGO SmallEdges(in CheckResults theResults)
Find edges, which are fully covered by tolerances of vertices.
ListOfDouble XYZtoUV(in GEOM_Object theSurf, in ListOfDouble theXYZlist, in boolean theIsNormalized)
Convert X,Y,Z points coordinates to UV parameters on the given surface.
void SetShapeSampling(in GEOM_Object theCalculator, in GEOM_Object theShape, in long theNbSamples)
Set number sample points to compute the coarse proximity.
double MinSurfaceCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get min radius of curvature of surface in the given point.
void PointCoordinates(in GEOM_Object theShape, out double X, out double Y, out double Z)
Get point coordinates.
CheckResults CheckConformityShape(in GEOM_Object theShape)
Perform analyse of shape and return all failed checks.
SequenceOfPairOfShape SelfIntersected2D(in CheckResults theResults)
Find all self-intersected 2D curves.
void GetBasicProperties(in GEOM_Object theShape, in double theTolerance, out double theLength, out double theSurfArea, out double theVolume)
Get summarized length of all wires, area of surface and volume of the given shape.
void GetInertia(in GEOM_Object theShape, out double I11, out double I12, out double I13, out double I21, out double I22, out double I23, out double I31, out double I32, out double I33, out double Ix, out double Iy, out double Iz)
Get inertia matrix and moments of inertia of theShape.
boolean CheckSelfIntersectionsFast(in GEOM_Object theShape, in float theDeflection, in double theTolerance, out ListOfLong theIntersections)
Detect self-intersections of the given shape with algorithm based on mesh intersections.
boolean CheckShape(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology of the given shape.
GEOM_Object SurfaceCurvatureByPointAndDirection(in GEOM_Object theShape, in GEOM_Object thePoint, in GEOM_Object theDirection)
Get vector of curvature of surface in the given point along the given direction.
GEOM_Object GetNormal(in GEOM_Object theFace, in GEOM_Object theOptionalPoint)
Get a vector, representing the normal of theFace. If the face is not planar, theOptionalPoint is obli...
double CurveCurvatureByPoint(in GEOM_Object theShape, in GEOM_Object thePoint)
Get radius of curvature of curve in the given point.
GEOM_Object GetVertexByIndex(in GEOM_Object theShape, in long theIndex, in boolean theUseOri)
sequence< CheckResult > CheckResults
Definition: GEOM_Gen.idl:5068
double MaxSurfaceCurvatureByParam(in GEOM_Object theShape, in double theUParam, in double theVParam)
Get max radius of curvature of surface in the point determinated by params.
boolean FastIntersect(in GEOM_Object theShape1, in GEOM_Object theShape2, in double theTolerance, in float theDeflection, out ListOfLong theIntersections1, out ListOfLong theIntersections2)
Detect intersections of the given shapes with algorithm based on mesh intersections.
double UpdateTolerance(in GEOM_Object theShape)
Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-sha...
GEOM_Object GetCentreOfMass(in GEOM_Object theShape)
Get a point, situated at the centre of mass of theShape.
double GetPreciseProximity(in GEOM_Object theCalculator)
Compute precise value of the proximity basing on the exact shapes.
double GetAngle(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get angle between the given lines or linear edges.
ListOfGO PatchFace(in GEOM_Object theShape)
The function takes a single face with holes and returns a list of faces, first of them is the origina...
GEOM_Object ShapeProximityCalculator(in GEOM_Object theShape1, in GEOM_Object theShape2)
Get the calculator for the proximity value between the given shapes.
void GetTolerance(in GEOM_Object theShape, out double FaceMin, out double FaceMax, out double EdgeMin, out double EdgeMax, out double VertMin, out double VertMax)
Get min and max tolerances of sub-shapes of theShape.
boolean CheckShapeWithGeometry(in GEOM_Object theShape, out ShapeErrors theErrors)
Check a topology and a geometry of the given shape.
long ClosestPoints(in GEOM_Object theShape1, in GEOM_Object theShape2, out ListOfDouble theCoords)
Get closest points of the given shapes.
GEOM_Object MakeBoundingBox(in GEOM_Object theShape, in boolean precise)
Get bounding box of the given shape.
string IsGoodForSolid(in GEOM_Object theShape)
Check if the given shape can be an argument for MakeSolid operation.
boolean CheckBOPArguments(in GEOM_Object theShape)
Check boolean and partition operations arguments.
string WhatIs(in GEOM_Object theShape)
btain description of the given shape
void GetBoundingBox(in GEOM_Object theShape, in boolean precise, out double Xmin, out double Xmax, out double Ymin, out double Ymax, out double Zmin, out double Zmax)
Get parameters of bounding box of the given shape.
Basic methods of all geometric operations.
Definition: GEOM_Gen.idl:708
void AbortOperation()
Aborts the previously opened transaction.
void StartOperation()
Opens a new transaction.
void SetErrorCode(in string theErrorID)
Set the operation error code.
string GetErrorCode()
Get the operation error code.
boolean IsDone()
To know, if the operation was successfully performed.
void FinishOperation()
Closes the previously opened transaction.
Interface for Shapes creation:
Definition: GEOM_Gen.idl:2033
ListOfGO MakeAllSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfGO GetExistingSubObjects(in GEOM_Object theShape, in boolean theGroupsOnly)
Get all sub-shapes and groups of theShape, that were created already by any other methods.
GEOM_Object GetSubShape(in GEOM_Object theMainShape, in long theID)
Get a sub-shape defined by its unique ID inside theMainShape.
GEOM_Object GetInPlace(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfGO GetShapesOnPlaneWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfLong GetShapesOnQuadrangleIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
GEOM_Object ChangeOrientation(in GEOM_Object theShape)
GEOM_Object ExtendEdge(in GEOM_Object theEdge, in double theMin, in double theMax)
Resize the input edge with the new Min and Max parameters. The input edge parameters range is [0,...
GEOM_Object GetShapesOnShapeAsCompound(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object ExtendFace(in GEOM_Object theFace, in double theUMin, in double theUMax, in double theVMin, in double theVMax)
Resize the input face with the new UMin, UMax, VMin and VMax parameters. The input face U and V param...
ListOfGO GetShapesOnCylinder(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object GetSame(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO MakeSubShapes(in GEOM_Object theMainShape, in ListOfLong theIndices)
Get a set of sub-shapes defined by their unique IDs inside theMainShape.
ListOfGO GetShapesOnQuadrangle(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theTopLeftPoint, in GEOM_Object theTopRightPoint, in GEOM_Object theBottomLeftPoint, in GEOM_Object theBottomRightPoint, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by...
ListOfLong GetSubShapesIndices(in GEOM_Object theMainShape, in ListOfGO theSubShapes)
long GetSubShapeIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
sequence< ExtractionStat > ExtractionStats
Definition: GEOM_Gen.idl:2876
GEOM_Object MakeEdge(in GEOM_Object thePnt1, in GEOM_Object thePnt2)
Create a linear edge with specified ends.
ListOfGO ExtractSubShapes(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Extract all sub-shapes of the given type from the given shape, excluding the shape itself.
GEOM_Object MakeWire(in ListOfGO theEdgesAndWires, in double theTolerance, in wire_build_mode theMode)
Create a wire from the set of edges and wires.
GEOM_Object MakeWrappedFace(in ListOfGO theEdges, in ListOfGO theVertices, in double theTolerance)
Create non planar face with list of edges and list of vertices.
GEOM_Object MakeGlueFaces(in ListOfGO theShapes, in double theTolerance, in boolean doKeepNonSolids)
Replace coincident faces in theShapes by one face.
long NumberOfSubShapes(in GEOM_Object theShape, in long theShapeType)
Count number of sub-shapes of type theShapeType in the given shape.
string GetShapeTypeString(in GEOM_Object theShape)
Get name of type of theShape.
ListOfGO GetShapesOnCylinderWithLocation(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfLong GetShapesOnCylinderIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
ListOfGO GetShapesOnSphere(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
ListOfGO GetGlueEdges(in ListOfGO theShapes, in double theTolerance)
GEOM_Object MakeSurfaceFromFace(in GEOM_Object theFace)
Make a surface from a face. This function takes some face as input parameter and creates new GEOM_Obj...
ExtractionStatType
This enumeration represents an extraction statistics type.
Definition: GEOM_Gen.idl:2860
@ EST_Modified
Modified sub-shapes.
Definition: GEOM_Gen.idl:2862
@ EST_Removed
Removed sub-shapes.
Definition: GEOM_Gen.idl:2861
long NumberOfEdges(in GEOM_Object theShape)
Count number of edges in the given shape.
ListOfGO GetSubShapeEdgeSorted(in GEOM_Object theShape, in GEOM_Object theStartPoint)
Explode a shape into edges sorted in a row from a starting point.
GEOM_Object MakeGlueEdges(in ListOfGO theShapes, in double theTolerance)
Replace coincident edges in theShapes by one edge.
GEOM_Object MakeCompound(in ListOfGO theShapes)
Create a compound of the given shapes.
ListOfLong GetFreeFacesIDs(in GEOM_Object theShape)
Retrieve all free faces from the given shape.
ListOfGO MakeExplode(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method.
ListOfLong GetShapesOnPlaneWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in GEOM_Object thePnt, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeEdgeOnCurveByLength(in GEOM_Object theRefCurve, in double theLength, in GEOM_Object theStartPoint)
Create an edge on another edge, corresponding to the given length on the given edge.
ListOfGO GetShapesOnBox(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
long GetTopologyIndex(in GEOM_Object theMainShape, in GEOM_Object theSubShape)
Get index of theSubShape in theMainShape, unique among sub-shapes of the same type.
ListOfLong GetShapesOnPlaneIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
GEOM_Object MakeSolidShells(in ListOfGO theShells)
Create a solid, bounded by the given shells.
GEOM_Object MakeGlueFacesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theFaces, in boolean doKeepNonSolids, in boolean doGlueAllEdges)
Replace coincident faces in theShapes by one face in compliance with given list of faces.
boolean IsSubShapeBelongsTo(in GEOM_Object theSubObject, in long theSubObjectIndex, in GEOM_Object theObject, in long theObjectIndex)
Check if the object is a sub-object of another GEOM object.
ListOfGO GetShapesOnPlane(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAx1, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the ...
ListOfGO GetSharedShapesMulti(in ListOfGO theShapes, in long theShapeType, in boolean theMultiShare)
Get sub-shapes, shared by input shapes.
ListOfLong GetShapesOnShapeIDs(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeSolidFromConnectedFaces(in ListOfGO theFacesOrShells, in boolean isIntersect)
Make a solid (or solids) from connected set of faces and/or shells.
ListOfListOfLong GetInPlaceMap(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
A sort of GetInPlace functionality, returning for each sub-shape ID of theShapeWhat a list of corresp...
GEOM_Object MakeFaceWithConstraints(in ListOfGO theConstraints)
Create a face from a set of edges with the given constraints.
GEOM_Object MakeFace(in GEOM_Object theWire, in boolean isPlanarWanted)
Create a face on the given wire.
ListOfGO GetSubShapesWithTolerance(in GEOM_Object theShape, in short theShapeType, in comparison_condition theCondition, in double theTolerance)
Return the list of subshapes that satisfies a certain tolerance criterion. The user defines the type ...
GEOM_Object MakeEdgeWire(in GEOM_Object theWire, in double theLinearTolerance, in double theAngularTolerance)
Create an edge from specified wire.
GEOM_Object MakeSolidShell(in GEOM_Object theShell)
Create a solid, bounded by the given shell.
ListOfLong GetShapesOnBoxIDs(in GEOM_Object theBox, in GEOM_Object theShape, in long theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object MakeFaceWires(in ListOfGO theWires, in boolean isPlanarWanted)
Create a face on the given wires set.
long NumberOfFaces(in GEOM_Object theShape)
Count number of faces in the given shape.
GEOM_Object MakeShell(in ListOfGO theFacesAndShells)
Create a shell from the set of faces and shells.
ListOfGO GetSharedShapes(in GEOM_Object theShape1, in GEOM_Object theShape2, in long theShapeType)
Get all sub-shapes of theShape1 of the given type, shared with theShape2.
GEOM_Object GetInPlaceByHistory(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it.
ListOfLong GetAllSubShapesIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Explode a shape on sub-shapes of a given type.
ListOfLong GetShapesOnCylinderWithLocationIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theAxis, in GEOM_Object thePnt, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by t...
GEOM_Object MakeExtraction(in GEOM_Object theShape, in ListOfLong theSubShapeIDs, out ExtractionStats theStats)
Return the shape that is constructed from theShape without extracted sub-shapes from the input list.
ListOfLong GetSameIDs(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
Get sub-shape Ids of theShapeWhere, which are coincident with theShapeWhat that can either SOLID,...
ListOfGO GetGlueFaces(in ListOfGO theShapes, in double theTolerance)
ListOfGO GetShapesOnShape(in GEOM_Object theCheckShape, in GEOM_Object theShape, in short theShapeType, in shape_state theState)
Find sub-shapes complying with given status.
GEOM_Object GetInPlaceOld(in GEOM_Object theShapeWhere, in GEOM_Object theShapeWhat)
GEOM_Object MakeGlueEdgesByList(in ListOfGO theShapes, in double theTolerance, in ListOfGO theEdges)
Replace coincident edges in theShapes by one edge in compliance with given list of edges.
GEOM_Object MakeFaceFromSurface(in GEOM_Object theFace, in GEOM_Object theWire)
Create a face based on surface of theFace limited by theWire.
ListOfLong SubShapeAllIDs(in GEOM_Object theShape, in long theShapeType, in boolean isSorted)
Deprecated method. Use GetAllSubShapesIDs() instead.
ListOfLong GetShapesOnSphereIDs(in GEOM_Object theShape, in long theShapeType, in GEOM_Object theCenter, in double theRadius, in shape_state theState)
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the...
Interface for testing operations.
Definition: GEOM_Gen.idl:5344
boolean Tesselate(in GEOM_Object shape, in double linearDeflection, in boolean isRelative, in double angularDeflection)
Build a mesh on the given shape.
Interface of the integer field time step.
Definition: GEOM_Gen.idl:657
boolean SetValues(in ListOfLong intValues)
Changes values of the field step. Returns false if number of values is wrong.
ListOfLong GetValues()
Returns values of the field step.
Interface of geometric object.
Definition: GEOM_Gen.idl:398
GEOM_Object GetMainShape()
long long getShape()
Get the TopoDS_Shape, for colocated case only.
boolean GetAutoColor()
Get flag of object's auto color mode.
SALOMEDS::Color GetColor()
void SetMarkerStd(in marker_type theType, in marker_size theSize)
Set standard point marker for the object.
void SetAutoColor(in boolean theAutoColor)
void SetMarkerTexture(in long theTextureId)
Set custom point marker for the object.
long GetMarkerTexture()
Get texture idenifier of the point marker assigned to the object.
shape_type GetMaxShapeType()
Get a maximal type of the top-level shapes contained in the object.
shape_type GetTopologyType()
Get the topology type of the object value.
marker_size GetMarkerSize()
Get size of the point marker assigned to the object.
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.
Interface of the string field time step.
Definition: GEOM_Gen.idl:691
boolean SetValues(in string_array strValues)
Changes values of the field step. Returns false if number of values is wrong.
string_array GetValues()
Returns values of the field step.
Definition: GEOM_Gen.idl:36
marker_type
Marker type.
Definition: GEOM_Gen.idl:67
@ MT_RING1
Definition: GEOM_Gen.idl:68
@ MT_USER
Definition: GEOM_Gen.idl:68
@ MT_PLUS
Definition: GEOM_Gen.idl:67
@ MT_X
Definition: GEOM_Gen.idl:67
@ MT_STAR
Definition: GEOM_Gen.idl:67
@ MT_O_X
Definition: GEOM_Gen.idl:68
@ MT_O_PLUS
Definition: GEOM_Gen.idl:67
@ MT_O_POINT
Definition: GEOM_Gen.idl:67
@ MT_O_STAR
Definition: GEOM_Gen.idl:68
@ MT_RING3
Definition: GEOM_Gen.idl:68
@ MT_BALL
Definition: GEOM_Gen.idl:68
@ MT_O
Definition: GEOM_Gen.idl:67
@ MT_RING2
Definition: GEOM_Gen.idl:68
@ MT_POINT
Definition: GEOM_Gen.idl:67
@ MT_NONE
Definition: GEOM_Gen.idl:67
sequence< long > ListOfLong
Definition: GEOM_Gen.idl:279
sequence< boolean > ListOfBool
Definition: GEOM_Gen.idl:278
sequence< CreationInformation > CreationInformationSeq
Definition: GEOM_Gen.idl:263
sequence< string > string_array
Definition: GEOM_Gen.idl:276
sequence< short > short_array
Definition: GEOM_Gen.idl:277
sequence< Parameter > Parameters
Definition: GEOM_Gen.idl:256
find_shape_method
Kind of method to find inside one main shape some sub-shapes, corresponding to other given shape (its...
Definition: GEOM_Gen.idl:122
@ FSM_GetInPlace_Old
Definition: GEOM_Gen.idl:146
@ FSM_Transformed
Definition: GEOM_Gen.idl:129
@ FSM_GetInPlaceByHistory
Definition: GEOM_Gen.idl:138
@ FSM_GetSame
Definition: GEOM_Gen.idl:132
@ FSM_GetInPlace
Definition: GEOM_Gen.idl:124
@ FSM_GetShapesOnShape
Definition: GEOM_Gen.idl:135
@ FSM_MultiTransformed
Definition: GEOM_Gen.idl:143
comparison_condition
This enumeration represents comparison conditions.
Definition: GEOM_Gen.idl:216
@ CC_LT
Less then.
Definition: GEOM_Gen.idl:219
@ CC_LE
Less then or equal to.
Definition: GEOM_Gen.idl:220
@ CC_GT
Greater then.
Definition: GEOM_Gen.idl:217
@ CC_GE
Greater then or equal to.
Definition: GEOM_Gen.idl:218
field_data_type
Type of field data.
Definition: GEOM_Gen.idl:191
@ FDT_String
Definition: GEOM_Gen.idl:195
@ FDT_Double
Definition: GEOM_Gen.idl:194
@ FDT_Bool
Definition: GEOM_Gen.idl:192
@ FDT_Int
Definition: GEOM_Gen.idl:193
si_check_level
This enumeration represents the level of checking shape on self-interference.
Definition: GEOM_Gen.idl:203
@ SI_ALL
Definition: GEOM_Gen.idl:209
@ SI_V_E
Definition: GEOM_Gen.idl:205
@ SI_V_V
Definition: GEOM_Gen.idl:204
@ SI_E_E
Definition: GEOM_Gen.idl:206
@ SI_E_F
Definition: GEOM_Gen.idl:208
@ SI_V_F
Definition: GEOM_Gen.idl:207
sequence< ListOfDouble > ListOfListOfDouble
Definition: GEOM_Gen.idl:281
marker_size
Definition: GEOM_Gen.idl:73
@ MS_30
Definition: GEOM_Gen.idl:73
@ MS_70
Definition: GEOM_Gen.idl:74
@ MS_25
Definition: GEOM_Gen.idl:73
@ MS_50
Definition: GEOM_Gen.idl:74
@ MS_35
Definition: GEOM_Gen.idl:73
@ MS_55
Definition: GEOM_Gen.idl:74
@ MS_NONE
Definition: GEOM_Gen.idl:73
@ MS_45
Definition: GEOM_Gen.idl:74
@ MS_40
Definition: GEOM_Gen.idl:74
@ MS_60
Definition: GEOM_Gen.idl:74
@ MS_20
Definition: GEOM_Gen.idl:73
@ MS_10
Definition: GEOM_Gen.idl:73
@ MS_65
Definition: GEOM_Gen.idl:74
@ MS_15
Definition: GEOM_Gen.idl:73
shape_type
Topological types of shapes (like Open Cascade types)
Definition: GEOM_Gen.idl:41
@ FLAT
Definition: GEOM_Gen.idl:61
@ COMPSOLID
Definition: GEOM_Gen.idl:45
@ SOLID
Definition: GEOM_Gen.idl:47
@ WIRE
Definition: GEOM_Gen.idl:53
@ SHAPE
Definition: GEOM_Gen.idl:59
@ VERTEX
Definition: GEOM_Gen.idl:57
@ FACE
Definition: GEOM_Gen.idl:51
@ COMPOUND
Definition: GEOM_Gen.idl:43
@ EDGE
Definition: GEOM_Gen.idl:55
@ SHELL
Definition: GEOM_Gen.idl:49
sequence< GEOM_Field > ListOfFields
Definition: GEOM_Gen.idl:292
sequence< GEOM_BaseObject > ListOfGBO
Definition: GEOM_Gen.idl:291
curve_type
Kind of the curves.
Definition: GEOM_Gen.idl:177
@ Bezier
Definition: GEOM_Gen.idl:182
@ Polyline
Definition: GEOM_Gen.idl:179
@ Interpolation
Definition: GEOM_Gen.idl:185
sequence< double > ListOfDouble
Definition: GEOM_Gen.idl:280
sequence< ModifInfo > ModifStatistics
Definition: GEOM_Gen.idl:273
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:288
sequence< SALOMEDS::SObject > object_list
Definition: GEOM_Gen.idl:293
shape_state
State of shape relatively geometrical surface like plane, sphere or cylinder.
Definition: GEOM_Gen.idl:82
@ ST_ONIN
Definition: GEOM_Gen.idl:111
@ ST_OUT
Definition: GEOM_Gen.idl:91
@ ST_ON
Definition: GEOM_Gen.idl:84
@ ST_ONOUT
Definition: GEOM_Gen.idl:97
@ ST_IN
Definition: GEOM_Gen.idl:105
sequence< ListOfLong > ListOfListOfLong
Definition: GEOM_Gen.idl:282
wire_build_mode
Wire construction mode. Regulates the way gaps are closed.
Definition: GEOM_Gen.idl:229
@ WBM_FixTolerance
Definition: GEOM_Gen.idl:231
@ WBM_Approximation
Definition: GEOM_Gen.idl:237
@ WBM_KeepCurveType
Definition: GEOM_Gen.idl:243
filling_oper_method
Kind of method to perform filling operation.
Definition: GEOM_Gen.idl:155
@ FOM_UseOri
Definition: GEOM_Gen.idl:163
@ FOM_AutoCorrect
Definition: GEOM_Gen.idl:168
@ FOM_Default
Definition: GEOM_Gen.idl:157
Description of Blocks Compound defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:3116
BCErrorType error
Definition: GEOM_Gen.idl:3117
ListOfLong incriminated
Definition: GEOM_Gen.idl:3118
Non-topological information transfer datum.
Definition: GEOM_Gen.idl:4454
string myName
Definition: GEOM_Gen.idl:4455
long myMaxNumber
Definition: GEOM_Gen.idl:4457
long myNumber
Definition: GEOM_Gen.idl:4456
Structure for store result of check store type of check as number and failed shapes.
Definition: GEOM_Gen.idl:5062
long type
Definition: GEOM_Gen.idl:5063
PairOfShape failedShapes
Definition: GEOM_Gen.idl:5064
Methods and structure for implement CheckConformity tool.
Definition: GEOM_Gen.idl:5052
GEOM_Object second
Definition: GEOM_Gen.idl:5054
GEOM_Object first
Definition: GEOM_Gen.idl:5053
Description of a shape defect: type and incriminated sub-shapes.
Definition: GEOM_Gen.idl:4762
ListOfLong incriminated
Definition: GEOM_Gen.idl:4764
ShapeErrorType error
Definition: GEOM_Gen.idl:4763
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