24 #ifndef _SMESH_MESHEDITOR_IDL_
25 #define _SMESH_MESHEDITOR_IDL_
29 #include "SMESH_smIdType.idl"
33 interface NumericalFunctor;
147 boolean RemoveElements(in
smIdType_array IDsOfElements) raises (SALOME::SALOME_Exception);
154 boolean RemoveNodes(in
smIdType_array IDsOfNodes) raises (SALOME::SALOME_Exception);
160 smIdType RemoveOrphanNodes() raises (SALOME::SALOME_Exception);
176 smIdType
AddNode(in
double x, in
double y, in
double z) raises (SALOME::SALOME_Exception);
183 smIdType Add0DElement(in smIdType IDOfNode,
184 in
boolean DuplicateElements) raises (SALOME::SALOME_Exception);
190 smIdType AddBall(in smIdType IDOfNode, in
double diameter) raises (SALOME::SALOME_Exception);
200 smIdType AddEdge(in
smIdType_array IDsOfNodes) raises (SALOME::SALOME_Exception);
210 smIdType AddFace(in
smIdType_array IDsOfNodes) raises (SALOME::SALOME_Exception);
212 smIdType AddPolygonalFace(in
smIdType_array IdsOfNodes) raises (SALOME::SALOME_Exception);
219 smIdType AddQuadPolygonalFace(in
smIdType_array IdsOfNodes) raises (SALOME::SALOME_Exception);
229 smIdType AddVolume(in
smIdType_array IDsOfNodes) raises (SALOME::SALOME_Exception);
238 in
long_array Quantities) raises (SALOME::SALOME_Exception);
245 smIdType AddPolyhedralVolumeByFaces (in
smIdType_array IdsOfFaces) raises (SALOME::SALOME_Exception);
257 in
string theGroupName,
258 in
boolean theDuplicateElements)
259 raises (SALOME::SALOME_Exception);
266 void SetNodeOnVertex(in smIdType NodeID, in
long VertexID)
267 raises (SALOME::SALOME_Exception);
274 void SetNodeOnEdge(in smIdType NodeID, in
long EdgeID, in
double paramOnEdge)
275 raises (SALOME::SALOME_Exception);
283 void SetNodeOnFace(in smIdType NodeID, in
long FaceID, in
double u, in
double v)
284 raises (SALOME::SALOME_Exception);
290 void SetNodeInVolume(in smIdType NodeID, in
long SolidID)
291 raises (SALOME::SALOME_Exception);
297 void SetMeshElementOnShape(in smIdType ElementID, in
long ShapeID)
298 raises (SALOME::SALOME_Exception);
304 boolean MoveNode(in smIdType NodeID, in
double x, in
double y, in
double z)
305 raises (SALOME::SALOME_Exception);
311 raises (SALOME::SALOME_Exception);
317 raises (SALOME::SALOME_Exception);
323 void AddNodeOnSegment(in smIdType Node1, in smIdType Node2, in
double position)
324 raises (SALOME::SALOME_Exception);
329 void AddNodeOnFace(in smIdType triangle, in
double x, in
double y, in
double z);
335 raises (SALOME::SALOME_Exception);
340 raises (SALOME::SALOME_Exception);
353 in
PointStruct thePoint) raises (SALOME::SALOME_Exception);
365 raises (SALOME::SALOME_Exception);
377 in
boolean outsideNormal) raises (SALOME::SALOME_Exception);
390 in
double MaxAngle) raises (SALOME::SALOME_Exception);
398 in
double MaxAngle) raises (SALOME::SALOME_Exception);
428 in
boolean Diag13) raises (SALOME::SALOME_Exception);
435 in
boolean Diag13) raises (SALOME::SALOME_Exception);
456 raises (SALOME::SALOME_Exception);
475 in
short methodFlags,
476 in
boolean allDomains)
477 raises (SALOME::SALOME_Exception);
489 raises (SALOME::SALOME_Exception);
496 in
short MaxNbOfIterations,
497 in
double MaxAspectRatio,
502 in
short MaxNbOfIterations,
503 in
double MaxAspectRatio,
508 in
short MaxNbOfIterations,
509 in
double MaxAspectRatio,
514 in
short MaxNbOfIterations,
515 in
double MaxAspectRatio,
519 raises (SALOME::SALOME_Exception);
522 raises (SALOME::SALOME_Exception);
525 raises (SALOME::SALOME_Exception);
527 raises (SALOME::SALOME_Exception);
529 void ConvertToBiQuadratic(in
boolean theForce3d,
531 raises (SALOME::SALOME_Exception);
533 void RenumberNodes() raises (SALOME::SALOME_Exception);
535 void RenumberElements() raises (SALOME::SALOME_Exception);
553 in
double AngleInRadians,
556 in
boolean ToMakeGroups)
557 raises (SALOME::SALOME_Exception);
583 in
boolean toMakeGroups,
585 in
boolean scaleVariation,
588 in
boolean angleVariation)
589 raises (SALOME::SALOME_Exception);
596 in
boolean byAverageNormal,
597 in
boolean useInputElemsOnly,
598 in
boolean makeGroups,
600 raises (SALOME::SALOME_Exception);
616 in
double SewTolerance,
617 in
boolean ToMakeGroups)
618 raises (SALOME::SALOME_Exception);
634 in GEOM::GEOM_Object PathShape,
635 in smIdType NodeStart,
636 in
boolean HasAngles,
638 in
boolean AnglesVariation,
639 in
boolean HasRefPoint,
641 in
boolean MakeGroups,
643 in
boolean ScaleVariation,
645 raises (SALOME::SALOME_Exception);
656 in GEOM::GEOM_Object PathShape,
665 raises (SALOME::SALOME_Exception);
669 raises (SALOME::SALOME_Exception);
673 in
boolean CopyGroups,
675 raises (SALOME::SALOME_Exception);
681 raises (SALOME::SALOME_Exception);
685 raises (SALOME::SALOME_Exception);
689 in
boolean CopyGroups,
691 raises (SALOME::SALOME_Exception);
696 raises (SALOME::SALOME_Exception);
699 raises (SALOME::SALOME_Exception);
702 in
boolean CopyGroups,
704 raises (SALOME::SALOME_Exception);
709 raises (SALOME::SALOME_Exception);
712 raises (SALOME::SALOME_Exception);
715 in
boolean CopyGroups,
717 raises (SALOME::SALOME_Exception);
723 raises (SALOME::SALOME_Exception);
727 raises (SALOME::SALOME_Exception);
731 in
boolean CopyGroups,
733 raises (SALOME::SALOME_Exception);
737 in
double AngleInRadians,
739 raises (SALOME::SALOME_Exception);
742 in
double AngleInRadians)
743 raises (SALOME::SALOME_Exception);
746 in
double AngleInRadians,
747 in
boolean CopyGroups,
749 raises (SALOME::SALOME_Exception);
753 in
double AngleInRadians,
755 raises (SALOME::SALOME_Exception);
758 in
double AngleInRadians)
759 raises (SALOME::SALOME_Exception);
762 in
double AngleInRadians,
763 in
boolean CopyGroups,
765 raises (SALOME::SALOME_Exception);
769 in
boolean CopyGroups,
770 in
boolean CopyElements,
773 raises (SALOME::SALOME_Exception);
777 in
boolean SeparateCornersAndMedium)
778 raises (SALOME::SALOME_Exception);
783 in
boolean SeparateCornersAndMedium)
784 raises (SALOME::SALOME_Exception);
790 in
boolean SeparateCornersAndMedium)
791 raises (SALOME::SALOME_Exception);
795 in
boolean AvoidMakingHoles)
796 raises (SALOME::SALOME_Exception);
806 raises (SALOME::SALOME_Exception);
814 raises (SALOME::SALOME_Exception);
820 raises (SALOME::SALOME_Exception);
826 smIdType MoveClosestNodeToPoint(in
double x, in
double y, in
double z, in smIdType nodeID)
827 raises (SALOME::SALOME_Exception);
832 smIdType FindNodeClosestTo(in
double x, in
double y, in
double z)
833 raises (SALOME::SALOME_Exception);
841 raises (SALOME::SALOME_Exception);
850 in
double x, in
double y, in
double z,
852 raises (SALOME::SALOME_Exception);
860 smIdType ProjectPoint(in
double x,
866 raises (SALOME::SALOME_Exception);
872 short GetPointState(in
double x, in
double y, in
double z)
873 raises (SALOME::SALOME_Exception);
879 raises (SALOME::SALOME_Exception);
884 boolean IsCoherentOrientation2D()
885 raises (SALOME::SALOME_Exception);
895 in smIdType startNode,
897 raises (SALOME::SALOME_Exception);
904 raises (SALOME::SALOME_Exception);
910 raises (SALOME::SALOME_Exception);
917 raises (SALOME::SALOME_Exception);
930 in
boolean createPolygons,
931 in
boolean createPolyedrs)
932 raises (SALOME::SALOME_Exception);
950 in smIdType SecondNodeID1,
951 in smIdType LastNodeID1,
952 in smIdType FirstNodeID2,
953 in smIdType SecondNodeID2,
954 in smIdType LastNodeID2,
955 in
boolean CreatePolygons,
956 in
boolean CreatePolyedrs)
957 raises (SALOME::SALOME_Exception);
960 in smIdType SecondNodeID1,
961 in smIdType LastNodeID1,
962 in smIdType FirstNodeID2,
963 in smIdType SecondNodeID2)
964 raises (SALOME::SALOME_Exception);
967 in smIdType SecondNodeIDOnFreeBorder,
968 in smIdType LastNodeIDOnFreeBorder,
969 in smIdType FirstNodeIDOnSide,
970 in smIdType LastNodeIDOnSide,
971 in
boolean CreatePolygons,
972 in
boolean CreatePolyedrs)
973 raises (SALOME::SALOME_Exception);
977 in smIdType NodeID1OfSide1ToMerge,
978 in smIdType NodeID1OfSide2ToMerge,
979 in smIdType NodeID2OfSide1ToMerge,
980 in smIdType NodeID2OfSide2ToMerge)
981 raises (SALOME::SALOME_Exception);
989 raises (SALOME::SALOME_Exception);
1004 in
string theGroupName )
1005 raises (SALOME::SALOME_Exception);
1017 raises (SALOME::SALOME_Exception);
1028 raises (SALOME::SALOME_Exception);
1040 raises (SALOME::SALOME_Exception);
1052 raises (SALOME::SALOME_Exception);
1064 raises (SALOME::SALOME_Exception);
1076 raises (SALOME::SALOME_Exception);
1091 raises (SALOME::SALOME_Exception);
1106 in GEOM::GEOM_Object theShape )
1107 raises (SALOME::SALOME_Exception);
1122 raises (SALOME::SALOME_Exception);
1137 raises (SALOME::SALOME_Exception);
1154 in
boolean theElemGroupNeeded,
1155 in
boolean theNodeGroupNeeded)
1156 raises (SALOME::SALOME_Exception);
1171 in GEOM::GEOM_Object theShape )
1172 raises (SALOME::SALOME_Exception);
1187 raises (SALOME::SALOME_Exception);
1202 raises (SALOME::SALOME_Exception);
1219 in
boolean theElemGroupNeeded,
1220 in
boolean theNodeGroupNeeded )
1221 raises (SALOME::SALOME_Exception);
1236 in GEOM::GEOM_Object theShape )
1237 raises (SALOME::SALOME_Exception);
1252 in GEOM::GEOM_Object theShape )
1253 raises (SALOME::SALOME_Exception);
1280 in
string groupName,
1282 in
boolean toCopyElements,
1283 in
boolean toCopyExistingBondary,
1284 out
SMESH_Group group) raises (SALOME::SALOME_Exception);
1303 in
string groupName,
1305 in
boolean toCopyAll,
1306 in
boolean toCreateAllElements,
1309 out
SMESH_Group group) raises (SALOME::SALOME_Exception);
1326 in
boolean createJointElems,
1327 in
boolean onAllBoundaries)
1328 raises (SALOME::SALOME_Exception);
1340 raises (SALOME::SALOME_Exception);
1349 in GEOM::GEOM_Object theShape,
1350 in
string groupName,
1353 raises (SALOME::SALOME_Exception);
1373 in
string groupName)
1374 raises (SALOME::SALOME_Exception);
1384 raises (SALOME::SALOME_Exception);
const SMESH_SequenceOfElemPtr & GetLastCreatedElems() const
Definition: SMESH_MeshEditor.hxx:81
void CreateHoleSkin(double radius, const TopoDS_Shape &theShape, SMESH_NodeSearcher *theNodeSearcher, const char *groupName, std::vector< double > &nodesCoords, std::vector< std::vector< int > > &listOfListOfNodes)
identify all the elements around a geom shape, get the faces delimiting the hole Build groups of volu...
Definition: SMESH_MeshEditor.cxx:12204
const SMESH_SequenceOfElemPtr & GetLastCreatedNodes() const
Definition: SMESH_MeshEditor.hxx:80
void QuadTo4Tri(TIDSortedElemSet &theElems)
Split each of given quadrangles into 4 triangles.
Definition: SMESH_MeshEditor.cxx:1830
@ EXTR_CANT_GET_TANGENT
Definition: SMESH_MeshEditor.hxx:478
bool Reorient(const SMDS_MeshElement *theElement)
Definition: SMESH_MeshEditor.cxx:1368
void SplitBiQuadraticIntoLinear(TIDSortedElemSet &theElems)
Split bi-quadratic elements into linear ones without creation of additional nodes.
Definition: SMESH_MeshEditor.cxx:3062
bool DoubleNodesOnGroupBoundaries(const std::vector< TIDSortedElemSet > &theElems, bool createJointElems, bool onAllBoundaries)
Double nodes on shared faces between groups of volumes and create flat elements on demand.
Definition: SMESH_MeshEditor.cxx:11449
int Reorient2D(TIDSortedElemSet &theFaces, const gp_Vec &theDirection, TIDSortedElemSet &theRefFaces, bool theAllowNonManifold)
Reorient faces.
Definition: SMESH_MeshEditor.cxx:1453
int MakeBoundaryMesh(const TIDSortedElemSet &elements, Bnd_Dimension dimension, SMESH_Group *group=0, SMESH_Mesh *targetMesh=0, bool toCopyElements=false, bool toCopyExistingBondary=false, bool toAddExistingBondary=false, bool aroundElements=false, bool toCreateAllElements=false)
Creates missing boundary elements.
Definition: SMESH_MeshEditor.cxx:12805
bool InverseDiag(const SMDS_MeshElement *theTria1, const SMDS_MeshElement *theTria2)
Definition: SMESH_MeshEditor.cxx:750
bool DeleteDiag(const SMDS_MeshNode *theNode1, const SMDS_MeshNode *theNode2)
Definition: SMESH_MeshEditor.cxx:1070
bool TriToQuad(TIDSortedElemSet &theElems, SMESH::Controls::NumericalFunctorPtr theCriterion, const double theMaxAngle)
Fuse neighbour triangles into quadrangles.
Definition: SMESH_MeshEditor.cxx:3498
void RemoveNodeWithReconnection(const SMDS_MeshNode *node)
Remove a node and fill a hole appeared by changing surrounding faces.
Definition: SMESH_MeshEditor.cxx:483
void Create0DElementsOnAllNodes(const TIDSortedElemSet &elements, TIDSortedElemSet &all0DElems, const bool duplicateElements)
Create 0D elements on all nodes of the given object.
Definition: SMESH_MeshEditor.cxx:564
int Reorient2DBy3D(TIDSortedElemSet &theFaces, TIDSortedElemSet &theVolumes, const bool theOutsideNormal)
Reorient faces basing on orientation of adjacent volumes.
Definition: SMESH_MeshEditor.cxx:1630
int BestSplit(const SMDS_MeshElement *theQuad, SMESH::Controls::NumericalFunctorPtr theCriterion)
Find better diagonal for splitting.
Definition: SMESH_MeshEditor.cxx:1966
bool CreateFlatElementsOnFacesGroups(const std::vector< TIDSortedElemSet > &theElems)
Double nodes on some external faces and create flat elements.
Definition: SMESH_MeshEditor.cxx:12050
bool QuadToTri(TIDSortedElemSet &theElems, SMESH::Controls::NumericalFunctorPtr theCriterion)
Split quadrangles into triangles.
Definition: SMESH_MeshEditor.cxx:1726
void ClearLastCreated()
Clears myLastCreatedNodes and myLastCreatedElems.
Definition: SMESH_MeshEditor.cxx:138
@ SEW_INTERNAL_ERROR
Definition: SMESH_MeshEditor.hxx:568
Numerical functors are intended for calculating value by Id of mesh entity.
Definition: SMESH_Filter.idl:123
SMESH_Group: base interface of group object.
Definition: SMESH_Group.idl:46
SMESH_Group: interface of a standalone group object.
Definition: SMESH_Group.idl:137
Definition: SMESH_Mesh.idl:286
This interface makes modifications on the Mesh - removing elements and nodes etc.
Definition: SMESH_MeshEditor.idl:99
boolean DoubleNodeElem(in smIdType_array theElems, in smIdType_array theNodesNot, in smIdType_array theAffectedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements.
Sew_Error SewBorderToSide(in smIdType FirstNodeIDOnFreeBorder, in smIdType SecondNodeIDOnFreeBorder, in smIdType LastNodeIDOnFreeBorder, in smIdType FirstNodeIDOnSide, in smIdType LastNodeIDOnSide, in boolean CreatePolygons, in boolean CreatePolyedrs)
Sew_Error SewFreeBorders(in smIdType FirstNodeID1, in smIdType SecondNodeID1, in smIdType LastNodeID1, in smIdType FirstNodeID2, in smIdType SecondNodeID2, in smIdType LastNodeID2, in boolean CreatePolygons, in boolean CreatePolyedrs)
void MergeElements(in array_of_long_array GroupsOfElementsID, in SMESH::ListOfIDSources ElementsToKeep)
Merge elements in each given group.
ListOfGroups RotateObjectMakeGroups(in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians)
void TranslateObject(in SMESH_IDSource theObject, in DirStruct Vector, in boolean Copy)
ListOfGroups ExtrusionAlongPathObjects(in ListOfIDSources Nodes, in ListOfIDSources Edges, in ListOfIDSources Faces, in SMESH_IDSource Path, in GEOM::GEOM_Object PathShape, in smIdType NodeStart, in boolean HasAngles, in double_array Angles, in boolean AnglesVariation, in boolean HasRefPoint, in PointStruct RefPoint, in boolean MakeGroups, in double_array ScaleFactors, in boolean ScaleVariation, out Extrusion_Error Error)
SMESH_Group DoubleNodeElemGroupNew(in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements.
boolean DoubleNodeElemGroupInRegion(in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in GEOM::GEOM_Object theShape)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
Sew_Error
Definition: SMESH_MeshEditor.idl:934
@ SEW_BAD_SIDE1_NODES
Definition: SMESH_MeshEditor.idl:944
@ SEW_BORDER2_NOT_FOUND
Definition: SMESH_MeshEditor.idl:937
@ SEW_BORDER1_NOT_FOUND
Definition: SMESH_MeshEditor.idl:936
@ SEW_VOLUMES_TO_SPLIT
Definition: SMESH_MeshEditor.idl:940
@ SEW_BOTH_BORDERS_NOT_FOUND
Definition: SMESH_MeshEditor.idl:938
@ SEW_BAD_SIDE2_NODES
Definition: SMESH_MeshEditor.idl:945
@ SEW_BAD_SIDE_NODES
Definition: SMESH_MeshEditor.idl:939
@ SEW_TOPO_DIFF_SETS_OF_ELEMENTS
Definition: SMESH_MeshEditor.idl:943
@ SEW_OK
Definition: SMESH_MeshEditor.idl:935
@ SEW_DIFF_NB_OF_ELEMENTS
Definition: SMESH_MeshEditor.idl:942
SMESH_Mesh Offset(in SMESH_IDSource theObject, in double Value, in boolean CopyGroups, in boolean CopyElements, in string MeshName, out ListOfGroups Groups)
MirrorType
Definition: SMESH_MeshEditor.idl:659
@ AXIS
Definition: SMESH_MeshEditor.idl:659
void ConvertToQuadratic(in boolean theForce3d)
boolean Smooth(in smIdType_array IDsOfElements, in smIdType_array IDsOfFixedNodes, in short MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method)
boolean DoubleNodeGroups(in ListOfGroups theNodes, in ListOfGroups theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
ListOfGroups DoubleNodeElemGroups2New(in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems, in boolean theElemGroupNeeded, in boolean theNodeGroupNeeded)
Creates a hole in a mesh by doubling the nodes of some particular elements.
void MergeNodes(in array_of_long_array GroupsOfNodes, in SMESH::ListOfIDSources NodesToKeep, in boolean AvoidMakingHoles)
MeshPreviewStruct GetPreviewData()
Return data of mesh edition preview which is computed provided that the editor was obtained through S...
boolean Make2DMeshFrom3D()
Generates skin mesh (containing 2D cells) from 3D mesh The created 2D mesh elements based on nodes of...
void RotateObject(in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians, in boolean Copy)
SMESH_Mesh MirrorObjectMakeMesh(in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type, in boolean CopyGroups, in string MeshName)
boolean SmoothParametricObject(in SMESH_IDSource theObject, in smIdType_array IDsOfFixedNodes, in short MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method)
SMESH_Mesh ScaleMakeMesh(in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact, in boolean CopyGroups, in string MeshName)
void FindCoincidentNodesOnPart(in SMESH_IDSource SubMeshOrGroup, in double Tolerance, out array_of_long_array GroupsOfNodes, in boolean SeparateCornersAndMedium)
SMESH_Mesh TranslateMakeMesh(in smIdType_array IDsOfElements, in DirStruct Vector, in boolean CopyGroups, in string MeshName)
void Scale(in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact, in boolean Copy)
SMESH_Mesh TranslateObjectMakeMesh(in SMESH_IDSource theObject, in DirStruct Vector, in boolean CopyGroups, in string MeshName)
SMESH_Group DoubleNodeGroupNew(in SMESH_GroupBase theNodes, in SMESH_GroupBase theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements.
ListOfGroups TranslateObjectMakeGroups(in SMESH_IDSource theObject, in DirStruct Vector)
SMESH_Mesh GetMesh()
Returns a mesh subject to edition.
ListOfGroups MirrorMakeGroups(in smIdType_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type)
boolean ChangeElemNodes(in smIdType id, in smIdType_array newIDs)
Set new nodes for given element.
double_array LinearAnglesVariation(in SMESH_Mesh PathMesh, in GEOM::GEOM_Object PathShape, in double_array Angles)
Compute rotation angles for ExtrusionAlongPath as linear variation of given angles along path steps p...
boolean ConvertFromQuadratic()
boolean DoubleNodeElemInRegion(in smIdType_array theElems, in smIdType_array theNodesNot, in GEOM::GEOM_Object theShape)
Creates a hole in a mesh by doubling the nodes of some particular elements.
boolean DoubleNodeGroup(in SMESH_GroupBase theNodes, in SMESH_GroupBase theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
ListOfGroups AffectedElemGroupsInRegion(in ListOfGroups theElems, in ListOfGroups theNodesNot, in GEOM::GEOM_Object theShape)
Identify the elements that will be affected by node duplication (actual duplication is not performed)...
ListOfGroups RotateMakeGroups(in smIdType_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians)
void Translate(in smIdType_array IDsOfElements, in DirStruct Vector, in boolean Copy)
void FindCoincidentNodes(in double Tolerance, out array_of_long_array GroupsOfNodes, in boolean SeparateCornersAndMedium)
ListOfGroups TranslateMakeGroups(in smIdType_array IDsOfElements, in DirStruct Vector)
ListOfGroups MirrorObjectMakeGroups(in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type)
ListOfGroups DoubleNodeElemGroup2New(in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems, in boolean theElemGroupNeeded, in boolean theNodeGroupNeeded)
Creates a hole in a mesh by doubling the nodes of some particular elements.
void MergeEqualElements()
Merge equal elements in the whole mesh.
void Mirror(in smIdType_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type, in boolean Copy)
SMESH_Mesh MirrorMakeMesh(in smIdType_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type, in boolean CopyGroups, in string MeshName)
boolean DoubleNodeElemGroup(in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
boolean DoubleNodeElemGroups(in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
void FindEqualElements(in ListOfIDSources MeshOrSubMeshOrGroup, in ListOfIDSources ExceptSubMeshOrGroups, out array_of_long_array GroupsOfElementsID)
Find elements built on the same nodes.
boolean SmoothObject(in SMESH_IDSource theObject, in smIdType_array IDsOfFixedNodes, in short MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method)
SMESH_Group DoubleElements(in SMESH_IDSource theElements, in string theGroupName)
Duplicates given elements, i.e.
Sew_Error SewSideElements(in smIdType_array IDsOfSide1Elements, in smIdType_array IDsOfSide2Elements, in smIdType NodeID1OfSide1ToMerge, in smIdType NodeID1OfSide2ToMerge, in smIdType NodeID2OfSide1ToMerge, in smIdType NodeID2OfSide2ToMerge)
void MirrorObject(in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type, in boolean Copy)
boolean SmoothParametric(in smIdType_array IDsOfElements, in smIdType_array IDsOfFixedNodes, in short MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method)
SMESH_Group DoubleNodeGroupsNew(in ListOfGroups theNodes, in ListOfGroups theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements Works as DoubleNodeGroups(...
SMESH_Mesh RotateMakeMesh(in smIdType_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians, in boolean CopyGroups, in string MeshName)
boolean DoubleNodeElemGroupsInRegion(in ListOfGroups theElems, in ListOfGroups theNodesNot, in GEOM::GEOM_Object theShape)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
void FindCoincidentNodesOnPartBut(in ListOfIDSources SubMeshOrGroup, in double Tolerance, out array_of_long_array GroupsOfNodes, in ListOfIDSources ExceptSubMeshOrGroups, in boolean SeparateCornersAndMedium)
boolean DoubleNodes(in smIdType_array theNodes, in smIdType_array theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements.
ListOfGroups ScaleMakeGroups(in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact)
Extrusion_Error
Definition: SMESH_MeshEditor.idl:620
@ EXTR_PATH_NOT_EDGE
Definition: SMESH_MeshEditor.idl:623
@ EXTR_BAD_PATH_SHAPE
Definition: SMESH_MeshEditor.idl:624
@ EXTR_OK
Definition: SMESH_MeshEditor.idl:621
@ EXTR_BAD_ANGLES_NUMBER
Definition: SMESH_MeshEditor.idl:626
@ EXTR_NO_ELEMENTS
Definition: SMESH_MeshEditor.idl:622
@ EXTR_BAD_STARTING_NODE
Definition: SMESH_MeshEditor.idl:625
void Rotate(in smIdType_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians, in boolean Copy)
SMESH_Mesh RotateObjectMakeMesh(in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians, in boolean CopyGroups, in string MeshName)
boolean DoubleNode(in smIdType theNodeId, in smIdType_array theModifiedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for c...
Sew_Error SewConformFreeBorders(in smIdType FirstNodeID1, in smIdType SecondNodeID1, in smIdType LastNodeID1, in smIdType FirstNodeID2, in smIdType SecondNodeID2)
SMESH_Group DoubleNodeElemGroupsNew(in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems)
Creates a hole in a mesh by doubling the nodes of some particular elements.
void ConvertToQuadraticObject(in boolean theForce3d, in SMESH_IDSource theObject)
Smooth_Method
Definition: SMESH_MeshEditor.idl:492
Definition: SMESH_Mesh.idl:338
std::vector< Edge > FindSharpEdges(SMDS_Mesh *mesh, double angle, bool addExisting)
Return sharp edges of faces and non-manifold ones.
Definition: SMESH_MeshAlgos.cxx:1985
void FindFreeBorders(SMDS_Mesh &mesh, TFreeBorderVec &foundFreeBordes, const bool closedOnly, bool *isManifold=0, bool *isGoodOri=0)
Returns all or only closed TFreeBorder's.
Definition: SMESH_FreeBorders.cxx:834
void Get1DBranches(SMDS_ElemIteratorPtr edgeIt, TElemGroupVector &edgeGroups, TNodeGroupVector &nodeGroups, const SMDS_MeshNode *startNode=0)
Partition given 1D elements into groups of contiguous edges.
Definition: SMESH_MeshAlgos.cxx:2352
void MakePolyLine(SMDS_Mesh *mesh, TListOfPolySegments &segments, std::vector< const SMDS_MeshElement * > &newEdges, std::vector< const SMDS_MeshNode * > &newNodes, SMDS_MeshGroup *group=0, SMESH_ElementSearcher *searcher=0)
Create a polyline consisting of 1D mesh elements each lying on a 2D element of the initial mesh.
Definition: SMESH_PolyLine.cxx:618
void FindCoincidentFreeBorders(SMDS_Mesh &mesh, double tolerance, CoincidentFreeBorders &foundFreeBordes)
Returns TFreeBorder's coincident within the given tolerance.
Definition: SMESH_FreeBorders.cxx:442
void FillHole(const TFreeBorder &freeBorder, SMDS_Mesh &mesh, std::vector< const SMDS_MeshElement * > &newFaces)
Fill a hole defined by a TFreeBorder with 2D elements.
Definition: SMESH_FillHole.cxx:382
std::vector< Edge > MakeSlot(SMDS_ElemIteratorPtr segmentIt, double width, SMDS_Mesh *mesh, std::vector< SMDS_MeshGroup * > &groupsToUpdate)
Create a slot of given width around given 1D elements lying on a triangle mesh.
Definition: SMESH_Slot.cxx:532
Definition: SMESH_ControlsDef.hxx:64
sequence< FreeBordersGroup > ListOfFreeBorderGroups
Definition: SMESH_MeshEditor.idl:52
sequence< FreeBorderPart > FreeBordersGroup
Definition: SMESH_MeshEditor.idl:51
Bnd_Dimension
Definition: SMESH_MeshEditor.idl:35
@ BND_1DFROM2D
Definition: SMESH_MeshEditor.idl:35
@ BND_1DFROM3D
Definition: SMESH_MeshEditor.idl:35
@ BND_2DFROM3D
Definition: SMESH_MeshEditor.idl:35
sequence< long_array > array_of_long_array
Definition: SMESH_Mesh.idl:47
sequence< SMESH_IDSource > ListOfIDSources
Definition: SMESH_Mesh.idl:40
sequence< smIdType > smIdType_array
Definition: SMESH_Mesh.idl:45
sequence< FaceEdge > ListOfEdges
Definition: SMESH_MeshEditor.idl:91
sequence< FreeBorder > ListOfFreeBorders
Definition: SMESH_MeshEditor.idl:50
ElementType
Enumeration for element type, like in SMDS.
Definition: SMESH_Mesh.idl:128
sequence< double > double_array
Definition: SMESH_Mesh.idl:43
sequence< SMESH_GroupBase > ListOfGroups
Definition: SMESH_Mesh.idl:38
sequence< PolySegment > ListOfPolySegments
Definition: SMESH_MeshEditor.idl:82
long AddNode(SMESH::SMESH_Mesh_ptr theMesh, float x, float y, float z, const QStringList &theParameters)
Definition: SMESHGUI_NodesDlg.cxx:96
sequence< long > long_array
Definition: SMESH_Mesh.idl:44
Definition: SMESH_Mesh.idl:101
Definition: SMESH_MeshEditor.idl:55
ListOfFreeBorderGroups coincidentGroups
Definition: SMESH_MeshEditor.idl:57
ListOfFreeBorders borders
Definition: SMESH_MeshEditor.idl:56
Definition: SMESH_Gen.idl:118
Definition: SMESH_Mesh.idl:99
Definition: SMESH_MeshEditor.idl:86
smIdType node2
Definition: SMESH_MeshEditor.idl:88
smIdType node1
Definition: SMESH_MeshEditor.idl:87
smIdType medium
Definition: SMESH_MeshEditor.idl:89
Definition: SMESH_MeshEditor.idl:44
long nodeLast
Definition: SMESH_MeshEditor.idl:48
long node2
Definition: SMESH_MeshEditor.idl:47
long node1
Definition: SMESH_MeshEditor.idl:46
short border
Definition: SMESH_MeshEditor.idl:45
Definition: SMESH_MeshEditor.idl:39
SMESH::smIdType_array nodeIDs
Definition: SMESH_MeshEditor.idl:40
Structure containing mesh edit preview data.
Definition: SMESH_Mesh.idl:279
Definition: SMESH_Mesh.idl:93
Definition: SMESH_MeshEditor.idl:63
PointStruct xyz2
Definition: SMESH_MeshEditor.idl:77
smIdType node2ID2
Definition: SMESH_MeshEditor.idl:76
smIdType node1ID2
Definition: SMESH_MeshEditor.idl:71
smIdType node1ID1
Definition: SMESH_MeshEditor.idl:70
smIdType node2ID1
Definition: SMESH_MeshEditor.idl:75
DirStruct vector
Definition: SMESH_MeshEditor.idl:80
PointStruct xyz1
Definition: SMESH_MeshEditor.idl:72