Version: 8.3.0
SMESH::SMESH_MeshEditor Interface Reference

This interface makes modifications on the Mesh - removing elements and nodes etc. More...

import "SMESH_MeshEditor.idl";

Public Types

enum  Smooth_Method { LAPLACIAN_SMOOTH, CENTROIDAL_SMOOTH }
 
enum  Extrusion_Error {
  EXTR_OK, EXTR_NO_ELEMENTS, EXTR_PATH_NOT_EDGE, EXTR_BAD_PATH_SHAPE,
  EXTR_BAD_STARTING_NODE, EXTR_BAD_ANGLES_NUMBER, EXTR_CANT_GET_TANGENT
}
 
enum  MirrorType { POINT, AXIS, PLANE }
 
enum  Sew_Error {
  SEW_OK, SEW_BORDER1_NOT_FOUND, SEW_BORDER2_NOT_FOUND, SEW_BOTH_BORDERS_NOT_FOUND,
  SEW_BAD_SIDE_NODES, SEW_VOLUMES_TO_SPLIT, SEW_DIFF_NB_OF_ELEMENTS, SEW_TOPO_DIFF_SETS_OF_ELEMENTS,
  SEW_BAD_SIDE1_NODES, SEW_BAD_SIDE2_NODES, SEW_INTERNAL_ERROR
}
 

Public Member Functions

SMESH_Mesh GetMesh ()
 Returns a mesh subject to edition. More...
 
MeshPreviewStruct GetPreviewData () raises (SALOME::SALOME_Exception)
 Return data of mesh edition preview which is computed provided that the editor was obtained through SMESH_Mesh::GetMeshEditPreviewer() More...
 
long_array GetLastCreatedNodes () raises (SALOME::SALOME_Exception)
 If during last operation of MeshEditor some nodes were created, this method returns list of their IDs, if new nodes not created - returns empty list. More...
 
long_array GetLastCreatedElems () raises (SALOME::SALOME_Exception)
 If during last operation of MeshEditor some elements were created, this method returns list of their IDs, if new elements not created - returns empty list. More...
 
void ClearLastCreated () raises (SALOME::SALOME_Exception)
 Clears sequences of last created elements and nodes. More...
 
ComputeError GetLastError () raises (SALOME::SALOME_Exception)
 Returns description of an error/warning occurred during the last operation. More...
 
SMESH_IDSource MakeIDSource (in long_array IDsOfElements, in ElementType type)
 Wrap a sequence of ids in a SMESH_IDSource. More...
 
boolean RemoveElements (in long_array IDsOfElements) raises (SALOME::SALOME_Exception)
 Remove mesh elements specified by their identifiers. More...
 
boolean RemoveNodes (in long_array IDsOfNodes) raises (SALOME::SALOME_Exception)
 Remove mesh nodes specified by their identifiers. More...
 
long RemoveOrphanNodes () raises (SALOME::SALOME_Exception)
 Remove all orphan nodes. More...
 
long AddNode (in double x, in double y, in double z) raises (SALOME::SALOME_Exception)
 Add a new node. More...
 
long Add0DElement (in long IDOfNode, in boolean DuplicateElements) raises (SALOME::SALOME_Exception)
 Create a 0D element on the given node. More...
 
long AddBall (in long IDOfNode, in double diameter) raises (SALOME::SALOME_Exception)
 Create a ball element on the given node. More...
 
long AddEdge (in long_array IDsOfNodes) raises (SALOME::SALOME_Exception)
 Create an edge, either linear and quadratic (this is determed by number of given nodes, two or three). More...
 
long AddFace (in long_array IDsOfNodes) raises (SALOME::SALOME_Exception)
 Create face, either linear and quadratic (this is determed by number of given nodes). More...
 
long AddPolygonalFace (in long_array IdsOfNodes) raises (SALOME::SALOME_Exception)
 
long AddQuadPolygonalFace (in long_array IdsOfNodes) raises (SALOME::SALOME_Exception)
 Create a quadratic polygonal face. More...
 
long AddVolume (in long_array IDsOfNodes) raises (SALOME::SALOME_Exception)
 Create volume, either linear and quadratic (this is determed by number of given nodes). More...
 
long AddPolyhedralVolume (in long_array IdsOfNodes, in long_array Quantities) raises (SALOME::SALOME_Exception)
 Create volume of many faces, giving nodes for each face. More...
 
long AddPolyhedralVolumeByFaces (in long_array IdsOfFaces) raises (SALOME::SALOME_Exception)
 Create volume of many faces, giving IDs of existing faces. More...
 
SMESH_IDSource Create0DElementsOnAllNodes (in SMESH_IDSource theObject, in string theGroupName, in boolean theDuplicateElements) raises (SALOME::SALOME_Exception)
 Create 0D elements on all nodes of the given object. More...
 
void SetNodeOnVertex (in long NodeID, in long VertexID) raises (SALOME::SALOME_Exception)
 Bind a node to a vertex. More...
 
void SetNodeOnEdge (in long NodeID, in long EdgeID, in double paramOnEdge) raises (SALOME::SALOME_Exception)
 Store node position on an edge. More...
 
void SetNodeOnFace (in long NodeID, in long FaceID, in double u, in double v) raises (SALOME::SALOME_Exception)
 Store node position on a face. More...
 
void SetNodeInVolume (in long NodeID, in long SolidID) raises (SALOME::SALOME_Exception)
 Bind a node to a solid. More...
 
void SetMeshElementOnShape (in long ElementID, in long ShapeID) raises (SALOME::SALOME_Exception)
 Bind an element to a shape. More...
 
boolean MoveNode (in long NodeID, in double x, in double y, in double z) raises (SALOME::SALOME_Exception)
 
boolean InverseDiag (in long NodeID1, in long NodeID2) raises (SALOME::SALOME_Exception)
 
boolean DeleteDiag (in long NodeID1, in long NodeID2) raises (SALOME::SALOME_Exception)
 
boolean Reorient (in long_array IDsOfElements) raises (SALOME::SALOME_Exception)
 
boolean ReorientObject (in SMESH_IDSource theObject) raises (SALOME::SALOME_Exception)
 
long Reorient2D (in SMESH_IDSource the2Dgroup, in DirStruct theDirection, in long theFace, in PointStruct thePoint) raises (SALOME::SALOME_Exception)
 Reorient faces contained in the2Dgroup. More...
 
long Reorient2DBy3D (in ListOfIDSources faces, in SMESH_IDSource volumes, in boolean outsideNormal) raises (SALOME::SALOME_Exception)
 Reorient faces basing on orientation of adjacent volumes. More...
 
boolean TriToQuad (in long_array IDsOfElements, in NumericalFunctor Criterion, in double MaxAngle) raises (SALOME::SALOME_Exception)
 Fuse neighbour triangles into quadrangles. More...
 
boolean TriToQuadObject (in SMESH_IDSource theObject, in NumericalFunctor Criterion, in double MaxAngle) raises (SALOME::SALOME_Exception)
 Fuse neighbour triangles into quadrangles. More...
 
boolean QuadToTri (in long_array IDsOfElements, in NumericalFunctor Criterion) raises (SALOME::SALOME_Exception)
 Split quadrangles into triangles. More...
 
boolean QuadToTriObject (in SMESH_IDSource theObject, in NumericalFunctor Criterion) raises (SALOME::SALOME_Exception)
 Split quadrangles into triangles. More...
 
void QuadTo4Tri (in SMESH_IDSource theQuads) raises (SALOME::SALOME_Exception)
 Split each of quadrangles into 4 triangles. More...
 
boolean SplitQuad (in long_array IDsOfElements, in boolean Diag13) raises (SALOME::SALOME_Exception)
 Split quadrangles into triangles. More...
 
boolean SplitQuadObject (in SMESH_IDSource theObject, in boolean Diag13) raises (SALOME::SALOME_Exception)
 Split quadrangles into triangles. More...
 
long BestSplit (in long IDOfQuad, in NumericalFunctor Criterion) raises (SALOME::SALOME_Exception)
 Find better splitting of the given quadrangle. More...
 
void SplitVolumesIntoTetra (in SMESH_IDSource elems, in short methodFlags) raises (SALOME::SALOME_Exception)
 Split volumic elements into tetrahedrons. More...
 
void SplitHexahedraIntoPrisms (in SMESH_IDSource elems, in SMESH::PointStruct startHexPoint, in SMESH::DirStruct facetToSplitNormal, in short methodFlags, in boolean allDomains) raises (SALOME::SALOME_Exception)
 Split hexahedra into triangular prisms. More...
 
void SplitBiQuadraticIntoLinear (in ListOfIDSources elems) raises (SALOME::SALOME_Exception)
 Split bi-quadratic elements into linear ones without creation of additional nodes. More...
 
boolean Smooth (in long_array IDsOfElements, in long_array IDsOfFixedNodes, in long MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method) raises (SALOME::SALOME_Exception)
 
boolean SmoothObject (in SMESH_IDSource theObject, in long_array IDsOfFixedNodes, in long MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method) raises (SALOME::SALOME_Exception)
 
boolean SmoothParametric (in long_array IDsOfElements, in long_array IDsOfFixedNodes, in long MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method) raises (SALOME::SALOME_Exception)
 
boolean SmoothParametricObject (in SMESH_IDSource theObject, in long_array IDsOfFixedNodes, in long MaxNbOfIterations, in double MaxAspectRatio, in Smooth_Method Method) raises (SALOME::SALOME_Exception)
 
void ConvertToQuadratic (in boolean theForce3d) raises (SALOME::SALOME_Exception)
 
void ConvertToQuadraticObject (in boolean theForce3d, in SMESH_IDSource theObject) raises (SALOME::SALOME_Exception)
 
boolean ConvertFromQuadratic () raises (SALOME::SALOME_Exception)
 
void ConvertFromQuadraticObject (in SMESH_IDSource theObject) raises (SALOME::SALOME_Exception)
 
void ConvertToBiQuadratic (in boolean theForce3d, in SMESH_IDSource theObject) raises (SALOME::SALOME_Exception)
 
void RenumberNodes () raises (SALOME::SALOME_Exception)
 
void RenumberElements () raises (SALOME::SALOME_Exception)
 
ListOfGroups RotationSweepObjects (in ListOfIDSources Nodes, in ListOfIDSources Edges, in ListOfIDSources Faces, in AxisStruct Axis, in double AngleInRadians, in long NbOfSteps, in double Tolerance, in boolean ToMakeGroups) raises (SALOME::SALOME_Exception)
 Generate dim+1 elements by rotation of the object around axis. More...
 
ListOfGroups ExtrusionSweepObjects (in ListOfIDSources nodes, in ListOfIDSources edges, in ListOfIDSources faces, in DirStruct stepVector, in long nbOfSteps, in double_array scaleFactors, in boolean linearVariation, in double_array basePoint, in boolean toMakeGroups) raises (SALOME::SALOME_Exception)
 Generate dim+1 elements by extrusion of elements along vector. More...
 
ListOfGroups ExtrusionByNormal (in ListOfIDSources theObjects, in double stepSize, in long nbOfSteps, in boolean byAverageNormal, in boolean useInputElemsOnly, in boolean makeGroups, in short dim) raises (SALOME::SALOME_Exception)
 Generates new elements by extrusion along the normal to a discretized surface or wire. More...
 
ListOfGroups AdvancedExtrusion (in long_array IDsOfElements, in DirStruct StepVector, in long NbOfSteps, in long ExtrFlags, in double SewTolerance, in boolean ToMakeGroups) raises (SALOME::SALOME_Exception)
 Generate new elements by extrusion of theElements by StepVector by NbOfSteps. More...
 
ListOfGroups ExtrusionAlongPathObjects (in ListOfIDSources Nodes, in ListOfIDSources Edges, in ListOfIDSources Faces, in SMESH_IDSource Path, in GEOM::GEOM_Object PathShape, in long NodeStart, in boolean HasAngles, in double_array Angles, in boolean LinearVariation, in boolean HasRefPoint, in PointStruct RefPoint, in boolean MakeGroups, out Extrusion_Error Error) raises (SALOME::SALOME_Exception)
 
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 param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path. More...
 
void Mirror (in long_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups MirrorMakeGroups (in long_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh MirrorMakeMesh (in long_array IDsOfElements, in AxisStruct Mirror, in MirrorType Type, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void MirrorObject (in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups MirrorObjectMakeGroups (in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh MirrorObjectMakeMesh (in SMESH_IDSource theObject, in AxisStruct Mirror, in MirrorType Type, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void Translate (in long_array IDsOfElements, in DirStruct Vector, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups TranslateMakeGroups (in long_array IDsOfElements, in DirStruct Vector) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh TranslateMakeMesh (in long_array IDsOfElements, in DirStruct Vector, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void TranslateObject (in SMESH_IDSource theObject, in DirStruct Vector, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups TranslateObjectMakeGroups (in SMESH_IDSource theObject, in DirStruct Vector) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh TranslateObjectMakeMesh (in SMESH_IDSource theObject, in DirStruct Vector, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void Scale (in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups ScaleMakeGroups (in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh ScaleMakeMesh (in SMESH_IDSource theObject, in PointStruct thePoint, in double_array theScaleFact, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void Rotate (in long_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups RotateMakeGroups (in long_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh RotateMakeMesh (in long_array IDsOfElements, in AxisStruct Axis, in double AngleInRadians, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void RotateObject (in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians, in boolean Copy) raises (SALOME::SALOME_Exception)
 
ListOfGroups RotateObjectMakeGroups (in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians) raises (SALOME::SALOME_Exception)
 
SMESH_Mesh RotateObjectMakeMesh (in SMESH_IDSource theObject, in AxisStruct Axis, in double AngleInRadians, in boolean CopyGroups, in string MeshName) raises (SALOME::SALOME_Exception)
 
void FindCoincidentNodes (in double Tolerance, out array_of_long_array GroupsOfNodes, in boolean SeparateCornersAndMedium) raises (SALOME::SALOME_Exception)
 
void FindCoincidentNodesOnPart (in SMESH_IDSource SubMeshOrGroup, in double Tolerance, out array_of_long_array GroupsOfNodes, in boolean SeparateCornersAndMedium) raises (SALOME::SALOME_Exception)
 
void FindCoincidentNodesOnPartBut (in SMESH_IDSource SubMeshOrGroup, in double Tolerance, out array_of_long_array GroupsOfNodes, in ListOfIDSources ExceptSubMeshOrGroups, in boolean SeparateCornersAndMedium) raises (SALOME::SALOME_Exception)
 
void MergeNodes (in array_of_long_array GroupsOfNodes, in SMESH::ListOfIDSources NodesToKeep, in boolean AvoidMakingHoles) raises (SALOME::SALOME_Exception)
 
void FindEqualElements (in SMESH_IDSource MeshOrSubMeshOrGroup, out array_of_long_array GroupsOfElementsID) raises (SALOME::SALOME_Exception)
 Find elements built on the same nodes. More...
 
void MergeElements (in array_of_long_array GroupsOfElementsID) raises (SALOME::SALOME_Exception)
 Merge elements in each given group. More...
 
void MergeEqualElements () raises (SALOME::SALOME_Exception)
 Merge equal elements in the whole mesh. More...
 
long MoveClosestNodeToPoint (in double x, in double y, in double z, in long nodeID) raises (SALOME::SALOME_Exception)
 If the given ID is a valid node ID (nodeID > 0), just move this node, else move the node closest to the point to point's location and return ID of the node. More...
 
long FindNodeClosestTo (in double x, in double y, in double z) raises (SALOME::SALOME_Exception)
 Return ID of node closest to a given point. More...
 
long_array FindElementsByPoint (in double x, in double y, in double z, in ElementType type) raises (SALOME::SALOME_Exception)
 Return elements of given type where the given point is IN or ON. More...
 
long_array FindAmongElementsByPoint (in SMESH_IDSource elements, in double x, in double y, in double z, in ElementType type) raises (SALOME::SALOME_Exception)
 Searching among the given elements, return elements of given type where the given point is IN or ON. More...
 
short GetPointState (in double x, in double y, in double z) raises (SALOME::SALOME_Exception)
 Return point state in a closed 2D mesh in terms of TopAbs_State enumeration. More...
 
CoincidentFreeBorders FindCoincidentFreeBorders (in double tolerance)
 Returns groups of FreeBorder's coincident within the given tolerance. More...
 
short SewCoincidentFreeBorders (in CoincidentFreeBorders freeBorders, in boolean createPolygons, in boolean createPolyedrs) raises (SALOME::SALOME_Exception)
 Sew FreeBorder's of each group. More...
 
Sew_Error SewFreeBorders (in long FirstNodeID1, in long SecondNodeID1, in long LastNodeID1, in long FirstNodeID2, in long SecondNodeID2, in long LastNodeID2, in boolean CreatePolygons, in boolean CreatePolyedrs) raises (SALOME::SALOME_Exception)
 
Sew_Error SewConformFreeBorders (in long FirstNodeID1, in long SecondNodeID1, in long LastNodeID1, in long FirstNodeID2, in long SecondNodeID2) raises (SALOME::SALOME_Exception)
 
Sew_Error SewBorderToSide (in long FirstNodeIDOnFreeBorder, in long SecondNodeIDOnFreeBorder, in long LastNodeIDOnFreeBorder, in long FirstNodeIDOnSide, in long LastNodeIDOnSide, in boolean CreatePolygons, in boolean CreatePolyedrs) raises (SALOME::SALOME_Exception)
 
Sew_Error SewSideElements (in long_array IDsOfSide1Elements, in long_array IDsOfSide2Elements, in long NodeID1OfSide1ToMerge, in long NodeID1OfSide2ToMerge, in long NodeID2OfSide1ToMerge, in long NodeID2OfSide2ToMerge) raises (SALOME::SALOME_Exception)
 
boolean ChangeElemNodes (in long ide, in long_array newIDs) raises (SALOME::SALOME_Exception)
 Set new nodes for given element. More...
 
SMESH_Group DoubleElements (in SMESH_IDSource theElements, in string theGroupName) raises (SALOME::SALOME_Exception)
 Duplicates given elements, i.e. More...
 
boolean DoubleNodes (in long_array theNodes, in long_array theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNode (in long theNodeId, in long_array theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
boolean DoubleNodeGroup (in SMESH_GroupBase theNodes, in SMESH_GroupBase theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
SMESH_Group DoubleNodeGroupNew (in SMESH_GroupBase theNodes, in SMESH_GroupBase theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNodeGroups (in ListOfGroups theNodes, in ListOfGroups theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
SMESH_Group DoubleNodeGroupsNew (in ListOfGroups theNodes, in ListOfGroups theModifiedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements Works as DoubleNodeGroups() described above, but returns a new group with newly created nodes. More...
 
boolean DoubleNodeElem (in long_array theElems, in long_array theNodesNot, in long_array theAffectedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNodeElemInRegion (in long_array theElems, in long_array theNodesNot, in GEOM::GEOM_Object theShape) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNodeElemGroup (in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
SMESH_Group DoubleNodeElemGroupNew (in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
ListOfGroups DoubleNodeElemGroup2New (in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in SMESH_GroupBase theAffectedElems, in boolean theElemGroupNeeded, in boolean theNodeGroupNeeded) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNodeElemGroupInRegion (in SMESH_GroupBase theElems, in SMESH_GroupBase theNodesNot, in GEOM::GEOM_Object theShape) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
boolean DoubleNodeElemGroups (in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
SMESH_Group DoubleNodeElemGroupsNew (in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
ListOfGroups DoubleNodeElemGroups2New (in ListOfGroups theElems, in ListOfGroups theNodesNot, in ListOfGroups theAffectedElems, in boolean theElemGroupNeeded, in boolean theNodeGroupNeeded) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements. More...
 
boolean DoubleNodeElemGroupsInRegion (in ListOfGroups theElems, in ListOfGroups theNodesNot, in GEOM::GEOM_Object theShape) raises (SALOME::SALOME_Exception)
 Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above. More...
 
ListOfGroups AffectedElemGroupsInRegion (in ListOfGroups theElems, in ListOfGroups theNodesNot, in GEOM::GEOM_Object theShape) raises (SALOME::SALOME_Exception)
 Identify the elements that will be affected by node duplication (actual duplication is not performed). More...
 
boolean Make2DMeshFrom3D () raises (SALOME::SALOME_Exception)
 Generates skin mesh (containing 2D cells) from 3D mesh The created 2D mesh elements based on nodes of free faces of boundary volumes. More...
 
SMESH_Mesh MakeBoundaryMesh (in SMESH_IDSource elements, in Bnd_Dimension dimension, in string groupName, in string meshName, in boolean toCopyElements, in boolean toCopyExistingBondary, out SMESH_Group group) raises (SALOME::SALOME_Exception)
 Creates missing boundary elements. More...
 
long MakeBoundaryElements (in Bnd_Dimension dimension, in string groupName, in string meshName, in boolean toCopyAll, in ListOfIDSources groups, out SMESH_Mesh mesh, out SMESH_Group group) raises (SALOME::SALOME_Exception)
 Creates missing boundary elements around either the whole mesh or groups of 2D elements. More...
 
boolean DoubleNodesOnGroupBoundaries (in ListOfGroups theDomains, in boolean createJointElems, in boolean onAllBoundaries) raises (SALOME::SALOME_Exception)
 Double nodes on shared faces between groups of volumes and create flat elements on demand. More...
 
boolean CreateFlatElementsOnFacesGroups (in ListOfGroups theGroupsOfFaces) raises (SALOME::SALOME_Exception)
 Double nodes on some external faces and create flat elements. More...
 
void CreateHoleSkin (in double radius, in GEOM::GEOM_Object theShape, in string groupName, in double_array theNodesCoords, out array_of_long_array GroupsOfNodes) raises (SALOME::SALOME_Exception)
 identify all the elements around a geom shape, get the faces delimiting the hole Build groups of volume to remove, groups of faces to replace on the skin of the object, groups of faces to remove insidethe object, (idem edges). More...
 

Detailed Description

This interface makes modifications on the Mesh - removing elements and nodes etc.

Member Enumeration Documentation

Enumerator
EXTR_OK 
EXTR_NO_ELEMENTS 
EXTR_PATH_NOT_EDGE 
EXTR_BAD_PATH_SHAPE 
EXTR_BAD_STARTING_NODE 
EXTR_BAD_ANGLES_NUMBER 
EXTR_CANT_GET_TANGENT 
Enumerator
POINT 
AXIS 
PLANE 
Enumerator
SEW_OK 
SEW_BORDER1_NOT_FOUND 
SEW_BORDER2_NOT_FOUND 
SEW_BOTH_BORDERS_NOT_FOUND 
SEW_BAD_SIDE_NODES 
SEW_VOLUMES_TO_SPLIT 
SEW_DIFF_NB_OF_ELEMENTS 
SEW_TOPO_DIFF_SETS_OF_ELEMENTS 
SEW_BAD_SIDE1_NODES 
SEW_BAD_SIDE2_NODES 
SEW_INTERNAL_ERROR 
Enumerator
LAPLACIAN_SMOOTH 
CENTROIDAL_SMOOTH 

Member Function Documentation

long SMESH::SMESH_MeshEditor::Add0DElement ( in long  IDOfNode,
in boolean  DuplicateElements 
) raises (SALOME::SALOME_Exception)

Create a 0D element on the given node.

Parameters
IdOfNodeNode IDs for creation of element.
DuplicateElementsto add one more 0D element to a node or not
long SMESH::SMESH_MeshEditor::AddBall ( in long  IDOfNode,
in double  diameter 
) raises (SALOME::SALOME_Exception)

Create a ball element on the given node.

Parameters
IdOfNodeNode IDs for creation of element.
long SMESH::SMESH_MeshEditor::AddEdge ( in long_array  IDsOfNodes) raises (SALOME::SALOME_Exception)

Create an edge, either linear and quadratic (this is determed by number of given nodes, two or three).

Parameters
IdsOfNodesList of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED. This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
long SMESH::SMESH_MeshEditor::AddFace ( in long_array  IDsOfNodes) raises (SALOME::SALOME_Exception)

Create face, either linear and quadratic (this is determed by number of given nodes).

Parameters
IdsOfNodesList of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED. This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
long SMESH::SMESH_MeshEditor::AddNode ( in double  x,
in double  y,
in double  z 
) raises (SALOME::SALOME_Exception)

Add a new node.

Parameters
xX coordinate of new node
yY coordinate of new node
zZ coordinate of new node
Returns
integer identifier of new node
long SMESH::SMESH_MeshEditor::AddPolygonalFace ( in long_array  IdsOfNodes) raises (SALOME::SALOME_Exception)
long SMESH::SMESH_MeshEditor::AddPolyhedralVolume ( in long_array  IdsOfNodes,
in long_array  Quantities 
) raises (SALOME::SALOME_Exception)

Create volume of many faces, giving nodes for each face.

Parameters
IdsOfNodesList of node IDs for volume creation face by face.
QuantitiesList of integer values, Quantities[i] gives quantity of nodes in face number i.
long SMESH::SMESH_MeshEditor::AddPolyhedralVolumeByFaces ( in long_array  IdsOfFaces) raises (SALOME::SALOME_Exception)

Create volume of many faces, giving IDs of existing faces.

Parameters
IdsOfFacesList of face IDs for volume creation.
Note
The created volume will refer only to nodes of the given faces, not to the faces itself.
long SMESH::SMESH_MeshEditor::AddQuadPolygonalFace ( in long_array  IdsOfNodes) raises (SALOME::SALOME_Exception)

Create a quadratic polygonal face.

Parameters
IdsOfNodes- nodes of the polygon; corner nodes follow first
Returns
long - ID of a new polygon
long SMESH::SMESH_MeshEditor::AddVolume ( in long_array  IDsOfNodes) raises (SALOME::SALOME_Exception)

Create volume, either linear and quadratic (this is determed by number of given nodes).

Parameters
IdsOfNodesList of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED. This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
ListOfGroups SMESH::SMESH_MeshEditor::AdvancedExtrusion ( in long_array  IDsOfElements,
in DirStruct  StepVector,
in long  NbOfSteps,
in long  ExtrFlags,
in double  SewTolerance,
in boolean  ToMakeGroups 
) raises (SALOME::SALOME_Exception)

Generate new elements by extrusion of theElements by StepVector by NbOfSteps.

Parameters
ExtrFlagsset flags for performing extrusion
SewTolerance- uses for comparing locations of nodes if flag EXTRUSION_FLAG_SEW is set
ToMakeGroups- if true, new elements will be included into new groups corresponding to groups the input elements included in.
Returns
ListOfGroups - new groups craeted if ToMakeGroups is true
ListOfGroups SMESH::SMESH_MeshEditor::AffectedElemGroupsInRegion ( in ListOfGroups  theElems,
in ListOfGroups  theNodesNot,
in GEOM::GEOM_Object  theShape 
) raises (SALOME::SALOME_Exception)

Identify the elements that will be affected by node duplication (actual duplication is not performed).

This method is the first step of DoubleNodeElemGroupsInRegion.

Parameters
theElems- list of groups of elements (edges or faces) to be replicated
theNodesNot- list of groups of nodes not to replicated
theShape- shape to detect affected elements (element which geometric center located on or inside shape). The replicated nodes should be associated to affected elements.
Returns
groups of affected elements
See Also
DoubleNodeElemGroupsInRegion()
long SMESH::SMESH_MeshEditor::BestSplit ( in long  IDOfQuad,
in NumericalFunctor  Criterion 
) raises (SALOME::SALOME_Exception)

Find better splitting of the given quadrangle.

Parameters
IDOfQuadID of the quadrangle to be splitted.
CriterionA criterion to choose a diagonal for splitting.
Returns
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 if error occurs.
boolean SMESH::SMESH_MeshEditor::ChangeElemNodes ( in long  ide,
in long_array  newIDs 
) raises (SALOME::SALOME_Exception)

Set new nodes for given element.

If number of nodes is not corresponded to type of element - returns false

void SMESH_MeshEditor::ClearLastCreated ( ) raises (SALOME::SALOME_Exception)

Clears sequences of last created elements and nodes.

Clears myLastCreatedNodes and myLastCreatedElems.

void SMESH::SMESH_MeshEditor::ConvertFromQuadraticObject ( in SMESH_IDSource  theObject) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::ConvertToBiQuadratic ( in boolean  theForce3d,
in SMESH_IDSource  theObject 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::ConvertToQuadratic ( in boolean  theForce3d) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::ConvertToQuadraticObject ( in boolean  theForce3d,
in SMESH_IDSource  theObject 
) raises (SALOME::SALOME_Exception)
SMESH_IDSource SMESH::SMESH_MeshEditor::Create0DElementsOnAllNodes ( in SMESH_IDSource  theObject,
in string  theGroupName,
in boolean  theDuplicateElements 
) raises (SALOME::SALOME_Exception)

Create 0D elements on all nodes of the given object.

Parameters
theObjectobject on whose nodes 0D elements will be created.
theGroupNameoptional name of a group to add 0D elements created and/or found on nodes of theObject.
theDuplicateElementsto add one more 0D element to a node or not
Returns
an object (a new group or a temporary SMESH_IDSource) holding ids of new and/or found 0D elements.
boolean SMESH::SMESH_MeshEditor::CreateFlatElementsOnFacesGroups ( in ListOfGroups  theGroupsOfFaces) raises (SALOME::SALOME_Exception)

Double nodes on some external faces and create flat elements.

Flat elements are mainly used by some types of mechanic calculations.

Each group of the list must be constituted of faces. Triangles are transformed in prisms, and quadrangles in hexahedrons.

Parameters
theGroupsOfFaces- list of groups of faces
Returns
TRUE if operation has been completed successfully, FALSE otherwise
void SMESH::SMESH_MeshEditor::CreateHoleSkin ( in double  radius,
in GEOM::GEOM_Object  theShape,
in string  groupName,
in double_array  theNodesCoords,
out array_of_long_array  GroupsOfNodes 
) raises (SALOME::SALOME_Exception)

identify all the elements around a geom shape, get the faces delimiting the hole Build groups of volume to remove, groups of faces to replace on the skin of the object, groups of faces to remove insidethe object, (idem edges).

Build ordered list of nodes at the border of each group of faces to replace (to be used to build a geom subshape)

boolean SMESH::SMESH_MeshEditor::DeleteDiag ( in long  NodeID1,
in long  NodeID2 
) raises (SALOME::SALOME_Exception)
SMESH_Group SMESH::SMESH_MeshEditor::DoubleElements ( in SMESH_IDSource  theElements,
in string  theGroupName 
) raises (SALOME::SALOME_Exception)

Duplicates given elements, i.e.

creates new elements based on the same nodes as the given ones.

Parameters
theElements- container of elements to duplicate.
theGroupName- a name of group to contain the generated elements. If a group with such a name already exists, the new elements are added to the existng group, else a new group is created. If theGroupName is empty, new elements are not added in any group.
Returns
a group where the new elements are added. NULL if theGroupName == "".
See Also
DoubleNode()
boolean SMESH::SMESH_MeshEditor::DoubleNode ( in long  theNodeId,
in long_array  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theNodeId- identifier of node to be doubled.
theModifiedElems- identifiers of elements to be updated.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodes(), DoubleNodeGroup(), DoubleNodeGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElem ( in long_array  theElems,
in long_array  theNodesNot,
in long_array  theAffectedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Parameters
theElems- the list of elements (edges or faces) to be replicated The nodes for duplication could be found from these elements
theNodesNot- list of nodes to NOT replicate
theAffectedElems- the list of elements (cells and edges) to which the replicated nodes should be associated to.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodeGroup(), DoubleNodeGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElemGroup ( in SMESH_GroupBase  theElems,
in SMESH_GroupBase  theNodesNot,
in SMESH_GroupBase  theAffectedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theElems- group of of elements (edges or faces) to be replicated
theNodesNot- group of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodes(), DoubleNodeGroups(), DoubleNodeElemGroupNew()
ListOfGroups SMESH::SMESH_MeshEditor::DoubleNodeElemGroup2New ( in SMESH_GroupBase  theElems,
in SMESH_GroupBase  theNodesNot,
in SMESH_GroupBase  theAffectedElems,
in boolean  theElemGroupNeeded,
in boolean  theNodeGroupNeeded 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Works as DoubleNodeElemGroup() described above, but returns two new groups: a group of newly created elements and a group of newly created nodes

Parameters
theElems- group of of elements (edges or faces) to be replicated
theNodesNot- group of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
theElemGroupNeeded- to create group of new elements or not
theNodeGroupNeeded- to create group of new nodes or not
Returns
two new groups of newly created elements (1st) and nodes (2nd)
See Also
DoubleNodeElemGroup()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElemGroupInRegion ( in SMESH_GroupBase  theElems,
in SMESH_GroupBase  theNodesNot,
in GEOM::GEOM_Object  theShape 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theElems- group of elements (edges or faces) to be replicated
theNodesNot- group of nodes not to replicated
theShape- shape to detect affected elements (element which geometric center located on or inside shape). The replicated nodes should be associated to affected elements.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodesInRegion(), DoubleNodeGroupsInRegion()
SMESH_Group SMESH::SMESH_MeshEditor::DoubleNodeElemGroupNew ( in SMESH_GroupBase  theElems,
in SMESH_GroupBase  theNodesNot,
in SMESH_GroupBase  theAffectedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Works as DoubleNodeElemGroup() described above, but returns a new group with newly created elements.

Parameters
theElems- group of of elements (edges or faces) to be replicated
theNodesNot- group of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
Returns
a new group with newly created elements
See Also
DoubleNodeElemGroup()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElemGroups ( in ListOfGroups  theElems,
in ListOfGroups  theNodesNot,
in ListOfGroups  theAffectedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theElems- list of groups of elements (edges or faces) to be replicated
theNodesNot- list of groups of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodeGroup(), DoubleNodes(), DoubleNodeElemGroupsNew()
ListOfGroups SMESH::SMESH_MeshEditor::DoubleNodeElemGroups2New ( in ListOfGroups  theElems,
in ListOfGroups  theNodesNot,
in ListOfGroups  theAffectedElems,
in boolean  theElemGroupNeeded,
in boolean  theNodeGroupNeeded 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Works as DoubleNodeElemGroups() described above, but returns two new groups: a group of newly created elements and a group of newly created nodes.

Parameters
theElems- list of groups of elements (edges or faces) to be replicated
theNodesNot- list of groups of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
theElemGroupNeeded- to create group of new elements or not
theNodeGroupNeeded- to create group of new nodes or not
Returns
two new groups of newly created elements (1st) and nodes (2nd)
See Also
DoubleNodeElemGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElemGroupsInRegion ( in ListOfGroups  theElems,
in ListOfGroups  theNodesNot,
in GEOM::GEOM_Object  theShape 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theElems- list of groups of elements (edges or faces) to be replicated
theNodesNot- list of groups of nodes not to replicated
theShape- shape to detect affected elements (element which geometric center located on or inside shape). The replicated nodes should be associated to affected elements.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodeGroupInRegion(), DoubleNodesInRegion()
SMESH_Group SMESH::SMESH_MeshEditor::DoubleNodeElemGroupsNew ( in ListOfGroups  theElems,
in ListOfGroups  theNodesNot,
in ListOfGroups  theAffectedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Works as DoubleNodeElemGroups() described above, but returns a new group with newly created elements.

Parameters
theElems- list of groups of elements (edges or faces) to be replicated
theNodesNot- list of groups of nodes not to replicated
theAffectedElems- group of elements to which the replicated nodes should be associated to.
Returns
a new group with newly created elements
See Also
DoubleNodeElemGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodeElemInRegion ( in long_array  theElems,
in long_array  theNodesNot,
in GEOM::GEOM_Object  theShape 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Parameters
theElems- the list of elements (edges or faces) to be replicated The nodes for duplication could be found from these elements
theNodesNot- list of nodes to NOT replicate
theShape- shape to detect affected elements (element which geometric center located on or inside shape). The replicated nodes should be associated to affected elements.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNodeGroupInRegion(), DoubleNodeGroupsInRegion()
boolean SMESH::SMESH_MeshEditor::DoubleNodeGroup ( in SMESH_GroupBase  theNodes,
in SMESH_GroupBase  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theNodes- group of nodes to be doubled.
theModifiedElems- group of elements to be updated.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNode(), DoubleNodes(), DoubleNodeGroups(), DoubleNodeGroupNew()
SMESH_Group SMESH::SMESH_MeshEditor::DoubleNodeGroupNew ( in SMESH_GroupBase  theNodes,
in SMESH_GroupBase  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Works as DoubleNodeGroup() described above, but returns a new group with newly created nodes.

Parameters
theNodes- group of nodes to be doubled.
theModifiedElems- group of elements to be updated.
Returns
a new group with newly created nodes
See Also
DoubleNodeGroup()
boolean SMESH::SMESH_MeshEditor::DoubleNodeGroups ( in ListOfGroups  theNodes,
in ListOfGroups  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements This method provided for convenience works as DoubleNodes() described above.

Parameters
theNodes- list of groups of nodes to be doubled
theModifiedElems- list of groups of elements to be updated.
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNode(), DoubleNodeGroup(), DoubleNodes()
SMESH_Group SMESH::SMESH_MeshEditor::DoubleNodeGroupsNew ( in ListOfGroups  theNodes,
in ListOfGroups  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements Works as DoubleNodeGroups() described above, but returns a new group with newly created nodes.

Parameters
theNodes- list of groups of nodes to be doubled
theModifiedElems- list of groups of elements to be updated.
Returns
a new group with newly created nodes
See Also
DoubleNodeGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodes ( in long_array  theNodes,
in long_array  theModifiedElems 
) raises (SALOME::SALOME_Exception)

Creates a hole in a mesh by doubling the nodes of some particular elements.

Parameters
theNodes- identifiers of nodes to be doubled
theModifiedElems- identifiers of elements to be updated by the new (doubled) nodes. If list of element identifiers is empty then nodes are doubled but they not assigned to elements
Returns
TRUE if operation has been completed successfully, FALSE otherwise
See Also
DoubleNode(), DoubleNodeGroup(), DoubleNodeGroups()
boolean SMESH::SMESH_MeshEditor::DoubleNodesOnGroupBoundaries ( in ListOfGroups  theDomains,
in boolean  createJointElems,
in boolean  onAllBoundaries 
) raises (SALOME::SALOME_Exception)

Double nodes on shared faces between groups of volumes and create flat elements on demand.

Flat elements are mainly used by some types of mechanic calculations.

The list of groups must describe a partition of the mesh volumes. The nodes of the internal faces at the boundaries of the groups are doubled. In option, the internal faces are replaced by flat elements. Triangles are transformed in prisms, and quadrangles in hexahedrons.

Parameters
theDomains- list of groups of volumes
createJointElems- if TRUE, create the elements
onAllBoundaries- if TRUE, the nodes and elements are also created on the boundary between theDomains and the rest mesh
Returns
TRUE if operation has been completed successfully, FALSE otherwise
ListOfGroups SMESH::SMESH_MeshEditor::ExtrusionAlongPathObjects ( in ListOfIDSources  Nodes,
in ListOfIDSources  Edges,
in ListOfIDSources  Faces,
in SMESH_IDSource  Path,
in GEOM::GEOM_Object  PathShape,
in long  NodeStart,
in boolean  HasAngles,
in double_array  Angles,
in boolean  LinearVariation,
in boolean  HasRefPoint,
in PointStruct  RefPoint,
in boolean  MakeGroups,
out Extrusion_Error  Error 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::ExtrusionByNormal ( in ListOfIDSources  theObjects,
in double  stepSize,
in long  nbOfSteps,
in boolean  byAverageNormal,
in boolean  useInputElemsOnly,
in boolean  makeGroups,
in short  dim 
) raises (SALOME::SALOME_Exception)

Generates new elements by extrusion along the normal to a discretized surface or wire.

ListOfGroups SMESH::SMESH_MeshEditor::ExtrusionSweepObjects ( in ListOfIDSources  nodes,
in ListOfIDSources  edges,
in ListOfIDSources  faces,
in DirStruct  stepVector,
in long  nbOfSteps,
in double_array  scaleFactors,
in boolean  linearVariation,
in double_array  basePoint,
in boolean  toMakeGroups 
) raises (SALOME::SALOME_Exception)

Generate dim+1 elements by extrusion of elements along vector.

Parameters
nodes- nodes to extrude: a list including groups, sub-meshes or a mesh
edges- edges to extrude: a list including groups, sub-meshes or a mesh
faces- faces to extrude: a list including groups, sub-meshes or a mesh
stepVector- vector giving direction and distance of an extrusion step
nbOfSteps- number of elements to generate from one element
toMakeGroups- if true, new elements will be included into new groups corresponding to groups the input elements included in.
Returns
ListOfGroups - new groups craeted if toMakeGroups is true
long_array SMESH::SMESH_MeshEditor::FindAmongElementsByPoint ( in SMESH_IDSource  elements,
in double  x,
in double  y,
in double  z,
in ElementType  type 
) raises (SALOME::SALOME_Exception)

Searching among the given elements, return elements of given type where the given point is IN or ON.

'ALL' type means elements of any type excluding nodes and 0D elements

CoincidentFreeBorders SMESH::SMESH_MeshEditor::FindCoincidentFreeBorders ( in double  tolerance)

Returns groups of FreeBorder's coincident within the given tolerance.

If the tolerance <= 0.0 then one tenth of an average size of elements adjacent to free borders being compared is used.

void SMESH::SMESH_MeshEditor::FindCoincidentNodes ( in double  Tolerance,
out array_of_long_array  GroupsOfNodes,
in boolean  SeparateCornersAndMedium 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::FindCoincidentNodesOnPart ( in SMESH_IDSource  SubMeshOrGroup,
in double  Tolerance,
out array_of_long_array  GroupsOfNodes,
in boolean  SeparateCornersAndMedium 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::FindCoincidentNodesOnPartBut ( in SMESH_IDSource  SubMeshOrGroup,
in double  Tolerance,
out array_of_long_array  GroupsOfNodes,
in ListOfIDSources  ExceptSubMeshOrGroups,
in boolean  SeparateCornersAndMedium 
) raises (SALOME::SALOME_Exception)
long_array SMESH::SMESH_MeshEditor::FindElementsByPoint ( in double  x,
in double  y,
in double  z,
in ElementType  type 
) raises (SALOME::SALOME_Exception)

Return elements of given type where the given point is IN or ON.

'ALL' type means elements of any type excluding nodes and 0D elements

void SMESH::SMESH_MeshEditor::FindEqualElements ( in SMESH_IDSource  MeshOrSubMeshOrGroup,
out array_of_long_array  GroupsOfElementsID 
) raises (SALOME::SALOME_Exception)

Find elements built on the same nodes.

Parameters
MeshOrSubMeshOrGroupMesh or SubMesh, or Group of elements for searching.
Returns
List of groups of equal elements.
long SMESH::SMESH_MeshEditor::FindNodeClosestTo ( in double  x,
in double  y,
in double  z 
) raises (SALOME::SALOME_Exception)

Return ID of node closest to a given point.

long_array SMESH::SMESH_MeshEditor::GetLastCreatedElems ( ) raises (SALOME::SALOME_Exception)

If during last operation of MeshEditor some elements were created, this method returns list of their IDs, if new elements not created - returns empty list.

long_array SMESH::SMESH_MeshEditor::GetLastCreatedNodes ( ) raises (SALOME::SALOME_Exception)

If during last operation of MeshEditor some nodes were created, this method returns list of their IDs, if new nodes not created - returns empty list.

ComputeError SMESH::SMESH_MeshEditor::GetLastError ( ) raises (SALOME::SALOME_Exception)

Returns description of an error/warning occurred during the last operation.

SMESH_Mesh SMESH::SMESH_MeshEditor::GetMesh ( )

Returns a mesh subject to edition.

short SMESH::SMESH_MeshEditor::GetPointState ( in double  x,
in double  y,
in double  z 
) raises (SALOME::SALOME_Exception)

Return point state in a closed 2D mesh in terms of TopAbs_State enumeration.

TopAbs_UNKNOWN state means that either mesh is wrong or the analysis fails.

MeshPreviewStruct SMESH::SMESH_MeshEditor::GetPreviewData ( ) raises (SALOME::SALOME_Exception)

Return data of mesh edition preview which is computed provided that the editor was obtained through SMESH_Mesh::GetMeshEditPreviewer()

boolean SMESH::SMESH_MeshEditor::InverseDiag ( in long  NodeID1,
in long  NodeID2 
) raises (SALOME::SALOME_Exception)
double_array SMESH::SMESH_MeshEditor::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 param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path.

bool SMESH_MeshEditor::Make2DMeshFrom3D ( ) raises (SALOME::SALOME_Exception)

Generates skin mesh (containing 2D cells) from 3D mesh The created 2D mesh elements based on nodes of free faces of boundary volumes.

Returns
TRUE if operation has been completed successfully, FALSE otherwise

References SMESH_MeshEditor::AddElement(), SMDS_Mesh::FindElement(), SMDS_VolumeTool::GetFaceNodes(), SMESH_MeshEditor::GetMeshDS(), SMDS_VolumeTool::IsFreeFace(), SMDS_MeshElement::IsQuadratic(), SMDS_VolumeTool::NbFaceNodes(), SMDS_VolumeTool::NbFaces(), SMDS_VolumeTool::SetExternalNormal(), SMDSAbs_Face, and SMDS_Mesh::volumesIterator().

long SMESH::SMESH_MeshEditor::MakeBoundaryElements ( in Bnd_Dimension  dimension,
in string  groupName,
in string  meshName,
in boolean  toCopyAll,
in ListOfIDSources  groups,
out SMESH_Mesh  mesh,
out SMESH_Group  group 
) raises (SALOME::SALOME_Exception)

Creates missing boundary elements around either the whole mesh or groups of 2D elements.

Parameters
dimension- defines type of boundary elements to create
groupName- a name of group to store all boundary elements in, "" means not to create the group
meshName- a name of a new mesh, which is a copy of the initial mesh + created boundary elements; "" means not to create the new mesh
toCopyAll- if true, the whole initial mesh will be copied into the new mesh else only boundary elements will be copied into the new mesh
groups- optional groups of 2D elements to make boundary around
mesh- returns the mesh where elements were added to
group- returns the created group, if any
Return values
long- number of added boundary elements
SMESH_Mesh SMESH::SMESH_MeshEditor::MakeBoundaryMesh ( in SMESH_IDSource  elements,
in Bnd_Dimension  dimension,
in string  groupName,
in string  meshName,
in boolean  toCopyElements,
in boolean  toCopyExistingBondary,
out SMESH_Group  group 
) raises (SALOME::SALOME_Exception)

Creates missing boundary elements.

Parameters
elements- elements whose boundary is to be checked
dimension- defines type of boundary elements to create BND_1DFROM3D creates mesh edges on all borders of free facets of 3D elements.
groupName- a name of group to store created boundary elements in, "" means not to create the group
meshName- a name of new mesh to store created boundary elements in, "" means not to create the new mesh
toCopyElements- if true, the checked elements will be copied into the new mesh else only boundary elements will be copied into the new mesh
toCopyExistingBondary- if true, not only new but also pre-existing boundary elements will be copied into the new mesh
group- returns the create group, if any
Return values
SMESH::SMESH_Mesh- the mesh where elements were added to
SMESH_IDSource SMESH::SMESH_MeshEditor::MakeIDSource ( in long_array  IDsOfElements,
in ElementType  type 
)

Wrap a sequence of ids in a SMESH_IDSource.

Parameters
IDsOfElementslist of mesh elements identifiers
Returns
new ID source object
void SMESH::SMESH_MeshEditor::MergeElements ( in array_of_long_array  GroupsOfElementsID) raises (SALOME::SALOME_Exception)

Merge elements in each given group.

Parameters
GroupsOfElementsIDGroups of elements for merging.
void SMESH_MeshEditor::MergeEqualElements ( ) raises (SALOME::SALOME_Exception)

Merge equal elements in the whole mesh.

References SMESH_MeshEditor::FindEqualElements(), and SMESH_MeshEditor::MergeElements().

void SMESH::SMESH_MeshEditor::MergeNodes ( in array_of_long_array  GroupsOfNodes,
in SMESH::ListOfIDSources  NodesToKeep,
in boolean  AvoidMakingHoles 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::Mirror ( in long_array  IDsOfElements,
in AxisStruct  Mirror,
in MirrorType  Type,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::MirrorMakeGroups ( in long_array  IDsOfElements,
in AxisStruct  Mirror,
in MirrorType  Type 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::MirrorMakeMesh ( in long_array  IDsOfElements,
in AxisStruct  Mirror,
in MirrorType  Type,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::MirrorObject ( in SMESH_IDSource  theObject,
in AxisStruct  Mirror,
in MirrorType  Type,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::MirrorObjectMakeGroups ( in SMESH_IDSource  theObject,
in AxisStruct  Mirror,
in MirrorType  Type 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::MirrorObjectMakeMesh ( in SMESH_IDSource  theObject,
in AxisStruct  Mirror,
in MirrorType  Type,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
long SMESH::SMESH_MeshEditor::MoveClosestNodeToPoint ( in double  x,
in double  y,
in double  z,
in long  nodeID 
) raises (SALOME::SALOME_Exception)

If the given ID is a valid node ID (nodeID > 0), just move this node, else move the node closest to the point to point's location and return ID of the node.

boolean SMESH::SMESH_MeshEditor::MoveNode ( in long  NodeID,
in double  x,
in double  y,
in double  z 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::QuadTo4Tri ( in SMESH_IDSource  theQuads) raises (SALOME::SALOME_Exception)

Split each of quadrangles into 4 triangles.

Parameters
theQuadsContainer of quadrangles to split.
boolean SMESH::SMESH_MeshEditor::QuadToTri ( in long_array  IDsOfElements,
in NumericalFunctor  Criterion 
) raises (SALOME::SALOME_Exception)

Split quadrangles into triangles.

Parameters
IDsOfElementsIds of quadrangles to split.
theCriterionIs used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.
boolean SMESH::SMESH_MeshEditor::QuadToTriObject ( in SMESH_IDSource  theObject,
in NumericalFunctor  Criterion 
) raises (SALOME::SALOME_Exception)

Split quadrangles into triangles.

Behaves like the above method, taking a list of elements from theObject

boolean SMESH::SMESH_MeshEditor::RemoveElements ( in long_array  IDsOfElements) raises (SALOME::SALOME_Exception)

Remove mesh elements specified by their identifiers.

Parameters
IDsOfElementslist of mesh elements identifiers
Returns
true if elements are correctly removed or false otherwise
boolean SMESH::SMESH_MeshEditor::RemoveNodes ( in long_array  IDsOfNodes) raises (SALOME::SALOME_Exception)

Remove mesh nodes specified by their identifiers.

Parameters
IDsOfNodeslist of mesh nodes identifiers
Returns
true if nodes are correctly removed or false otherwise
long SMESH::SMESH_MeshEditor::RemoveOrphanNodes ( ) raises (SALOME::SALOME_Exception)

Remove all orphan nodes.

Returns
number of removed nodes
void SMESH::SMESH_MeshEditor::RenumberElements ( ) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::RenumberNodes ( ) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::Reorient ( in long_array  IDsOfElements) raises (SALOME::SALOME_Exception)
long SMESH::SMESH_MeshEditor::Reorient2D ( in SMESH_IDSource  the2Dgroup,
in DirStruct  theDirection,
in long  theFace,
in PointStruct  thePoint 
) raises (SALOME::SALOME_Exception)

Reorient faces contained in the2Dgroup.

Parameters
the2Dgroup- the mesh or its part to reorient
theDirection- desired direction of normal of theFace
theFace- ID of face whose orientation is checked. It can be < 1 then thePoint is used to find a face.
thePoint- is used to find a face if theFace < 1.
Returns
number of reoriented faces.
long SMESH::SMESH_MeshEditor::Reorient2DBy3D ( in ListOfIDSources  faces,
in SMESH_IDSource  volumes,
in boolean  outsideNormal 
) raises (SALOME::SALOME_Exception)

Reorient faces basing on orientation of adjacent volumes.

Parameters
faces- a list of objects containing face to reorient
volumes- an object containing volumes.
outsideNormal- to orient faces to have their normal pointing either outside or inside the adjacent volumes.
Returns
number of reoriented faces.
boolean SMESH::SMESH_MeshEditor::ReorientObject ( in SMESH_IDSource  theObject) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::Rotate ( in long_array  IDsOfElements,
in AxisStruct  Axis,
in double  AngleInRadians,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::RotateMakeGroups ( in long_array  IDsOfElements,
in AxisStruct  Axis,
in double  AngleInRadians 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::RotateMakeMesh ( in long_array  IDsOfElements,
in AxisStruct  Axis,
in double  AngleInRadians,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::RotateObject ( in SMESH_IDSource  theObject,
in AxisStruct  Axis,
in double  AngleInRadians,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::RotateObjectMakeGroups ( in SMESH_IDSource  theObject,
in AxisStruct  Axis,
in double  AngleInRadians 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::RotateObjectMakeMesh ( in SMESH_IDSource  theObject,
in AxisStruct  Axis,
in double  AngleInRadians,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::RotationSweepObjects ( in ListOfIDSources  Nodes,
in ListOfIDSources  Edges,
in ListOfIDSources  Faces,
in AxisStruct  Axis,
in double  AngleInRadians,
in long  NbOfSteps,
in double  Tolerance,
in boolean  ToMakeGroups 
) raises (SALOME::SALOME_Exception)

Generate dim+1 elements by rotation of the object around axis.

Parameters
Nodes- nodes to revolve: a list including groups, sub-meshes or a mesh
Edges- edges to revolve: a list including groups, sub-meshes or a mesh
Faces- faces to revolve: a list including groups, sub-meshes or a mesh
Axis- rotation axis
AngleInRadians- rotation angle
NbOfSteps- number of elements to generate from one element
ToMakeGroups- if true, new elements will be included into new groups corresponding to groups the input elements included in.
Returns
ListOfGroups - new groups craeted if ToMakeGroups is true
void SMESH::SMESH_MeshEditor::Scale ( in SMESH_IDSource  theObject,
in PointStruct  thePoint,
in double_array  theScaleFact,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::ScaleMakeGroups ( in SMESH_IDSource  theObject,
in PointStruct  thePoint,
in double_array  theScaleFact 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::ScaleMakeMesh ( in SMESH_IDSource  theObject,
in PointStruct  thePoint,
in double_array  theScaleFact,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::SetMeshElementOnShape ( in long  ElementID,
in long  ShapeID 
) raises (SALOME::SALOME_Exception)

Bind an element to a shape.

Parameters
ElementID- element ID
ShapeID- shape ID available through GEOM_Object.GetSubShapeIndices()[0]
void SMESH::SMESH_MeshEditor::SetNodeInVolume ( in long  NodeID,
in long  SolidID 
) raises (SALOME::SALOME_Exception)

Bind a node to a solid.

Parameters
NodeID- node ID
SolidID- vertex ID available through GEOM_Object.GetSubShapeIndices()[0]
void SMESH::SMESH_MeshEditor::SetNodeOnEdge ( in long  NodeID,
in long  EdgeID,
in double  paramOnEdge 
) raises (SALOME::SALOME_Exception)

Store node position on an edge.

Parameters
NodeID- node ID
EdgeID- edge ID available through GEOM_Object.GetSubShapeIndices()[0]
paramOnEdge- parameter on edge where the node is located
void SMESH::SMESH_MeshEditor::SetNodeOnFace ( in long  NodeID,
in long  FaceID,
in double  u,
in double  v 
) raises (SALOME::SALOME_Exception)

Store node position on a face.

Parameters
NodeID- node ID
FaceID- face ID available through GEOM_Object.GetSubShapeIndices()[0]
u- U parameter on face where the node is located
v- V parameter on face where the node is located
void SMESH::SMESH_MeshEditor::SetNodeOnVertex ( in long  NodeID,
in long  VertexID 
) raises (SALOME::SALOME_Exception)

Bind a node to a vertex.

Parameters
NodeID- node ID
VertexID- vertex ID available through GEOM_Object.GetSubShapeIndices()[0]
Sew_Error SMESH::SMESH_MeshEditor::SewBorderToSide ( in long  FirstNodeIDOnFreeBorder,
in long  SecondNodeIDOnFreeBorder,
in long  LastNodeIDOnFreeBorder,
in long  FirstNodeIDOnSide,
in long  LastNodeIDOnSide,
in boolean  CreatePolygons,
in boolean  CreatePolyedrs 
) raises (SALOME::SALOME_Exception)
short SMESH::SMESH_MeshEditor::SewCoincidentFreeBorders ( in CoincidentFreeBorders  freeBorders,
in boolean  createPolygons,
in boolean  createPolyedrs 
) raises (SALOME::SALOME_Exception)

Sew FreeBorder's of each group.

Sew_Error SMESH::SMESH_MeshEditor::SewConformFreeBorders ( in long  FirstNodeID1,
in long  SecondNodeID1,
in long  LastNodeID1,
in long  FirstNodeID2,
in long  SecondNodeID2 
) raises (SALOME::SALOME_Exception)
Sew_Error SMESH::SMESH_MeshEditor::SewFreeBorders ( in long  FirstNodeID1,
in long  SecondNodeID1,
in long  LastNodeID1,
in long  FirstNodeID2,
in long  SecondNodeID2,
in long  LastNodeID2,
in boolean  CreatePolygons,
in boolean  CreatePolyedrs 
) raises (SALOME::SALOME_Exception)
Sew_Error SMESH::SMESH_MeshEditor::SewSideElements ( in long_array  IDsOfSide1Elements,
in long_array  IDsOfSide2Elements,
in long  NodeID1OfSide1ToMerge,
in long  NodeID1OfSide2ToMerge,
in long  NodeID2OfSide1ToMerge,
in long  NodeID2OfSide2ToMerge 
) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::Smooth ( in long_array  IDsOfElements,
in long_array  IDsOfFixedNodes,
in long  MaxNbOfIterations,
in double  MaxAspectRatio,
in Smooth_Method  Method 
) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::SmoothObject ( in SMESH_IDSource  theObject,
in long_array  IDsOfFixedNodes,
in long  MaxNbOfIterations,
in double  MaxAspectRatio,
in Smooth_Method  Method 
) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::SmoothParametric ( in long_array  IDsOfElements,
in long_array  IDsOfFixedNodes,
in long  MaxNbOfIterations,
in double  MaxAspectRatio,
in Smooth_Method  Method 
) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::SmoothParametricObject ( in SMESH_IDSource  theObject,
in long_array  IDsOfFixedNodes,
in long  MaxNbOfIterations,
in double  MaxAspectRatio,
in Smooth_Method  Method 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::SplitBiQuadraticIntoLinear ( in ListOfIDSources  elems) raises (SALOME::SALOME_Exception)

Split bi-quadratic elements into linear ones without creation of additional nodes.

  • bi-quadratic triangle will be split into 3 linear quadrangles;
  • bi-quadratic quadrangle will be split into 4 linear quadrangles;
  • tri-quadratic hexahedron will be split into 8 linear hexahedra; Quadratic elements of lower dimension adjacent to the split bi-quadratic element will be split in order to keep the mesh conformal.
    Parameters
    elems- elements to split
void SMESH::SMESH_MeshEditor::SplitHexahedraIntoPrisms ( in SMESH_IDSource  elems,
in SMESH::PointStruct  startHexPoint,
in SMESH::DirStruct  facetToSplitNormal,
in short  methodFlags,
in boolean  allDomains 
) raises (SALOME::SALOME_Exception)

Split hexahedra into triangular prisms.

Parameters
elems- elements to split
startHexPoint- a point used to find a hexahedron for which facetToSplitNormal gives a normal vector defining facets to split into triangles.
facetToSplitNormal- normal used to find a facet of hexahedron to split into triangles.
methodFlags- flags passing splitting method: 1 - split the hexahedron into 2 prisms 2 - split the hexahedron into 4 prisms
allDomains- if False, only hexahedra adjacent to one closest to facetToSplitNormal location are split, else facetToSplitNormal is used to find the facet to split in all domains present in elems.
boolean SMESH::SMESH_MeshEditor::SplitQuad ( in long_array  IDsOfElements,
in boolean  Diag13 
) raises (SALOME::SALOME_Exception)

Split quadrangles into triangles.

Parameters
theElemsThe faces to be splitted.
the13DiagIs used to choose a diagonal for splitting.
Returns
TRUE in case of success, FALSE otherwise.
boolean SMESH::SMESH_MeshEditor::SplitQuadObject ( in SMESH_IDSource  theObject,
in boolean  Diag13 
) raises (SALOME::SALOME_Exception)

Split quadrangles into triangles.

Behaves like the above method, taking list of elements from theObject

void SMESH::SMESH_MeshEditor::SplitVolumesIntoTetra ( in SMESH_IDSource  elems,
in short  methodFlags 
) raises (SALOME::SALOME_Exception)

Split volumic elements into tetrahedrons.

Parameters
elems- elements to split
methodFlags- flags passing splitting method: 1 - split the hexahedron into 5 tetrahedrons 2 - split the hexahedron into 6 tetrahedrons 3 - split the hexahedron into 24 tetrahedrons
void SMESH::SMESH_MeshEditor::Translate ( in long_array  IDsOfElements,
in DirStruct  Vector,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::TranslateMakeGroups ( in long_array  IDsOfElements,
in DirStruct  Vector 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::TranslateMakeMesh ( in long_array  IDsOfElements,
in DirStruct  Vector,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
void SMESH::SMESH_MeshEditor::TranslateObject ( in SMESH_IDSource  theObject,
in DirStruct  Vector,
in boolean  Copy 
) raises (SALOME::SALOME_Exception)
ListOfGroups SMESH::SMESH_MeshEditor::TranslateObjectMakeGroups ( in SMESH_IDSource  theObject,
in DirStruct  Vector 
) raises (SALOME::SALOME_Exception)
SMESH_Mesh SMESH::SMESH_MeshEditor::TranslateObjectMakeMesh ( in SMESH_IDSource  theObject,
in DirStruct  Vector,
in boolean  CopyGroups,
in string  MeshName 
) raises (SALOME::SALOME_Exception)
boolean SMESH::SMESH_MeshEditor::TriToQuad ( in long_array  IDsOfElements,
in NumericalFunctor  Criterion,
in double  MaxAngle 
) raises (SALOME::SALOME_Exception)

Fuse neighbour triangles into quadrangles.

Parameters
IDsOfElementsIds of triangles to be fused.
theCriterionIs used to choose a neighbour to fuse with.
theMaxAngleIs a max angle between element normals at which fusion is still performed; theMaxAngle is mesured in radians.
Returns
true in case of success, FALSE otherwise.
boolean SMESH::SMESH_MeshEditor::TriToQuadObject ( in SMESH_IDSource  theObject,
in NumericalFunctor  Criterion,
in double  MaxAngle 
) raises (SALOME::SALOME_Exception)

Fuse neighbour triangles into quadrangles.

Behaves like the above method, taking a list of elements from theObject