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);
467 void SplitVolumesIntoTetraAvoidOverConstrainedVolumes(in
SMESH_IDSource elems, in
short methodFlags)
468 raises (SALOME::SALOME_Exception);
487 in
short methodFlags,
488 in
boolean allDomains)
489 raises (SALOME::SALOME_Exception);
501 raises (SALOME::SALOME_Exception);
508 in
short MaxNbOfIterations,
509 in
double MaxAspectRatio,
514 in
short MaxNbOfIterations,
515 in
double MaxAspectRatio,
520 in
short MaxNbOfIterations,
521 in
double MaxAspectRatio,
526 in
short MaxNbOfIterations,
527 in
double MaxAspectRatio,
531 raises (SALOME::SALOME_Exception);
534 raises (SALOME::SALOME_Exception);
537 raises (SALOME::SALOME_Exception);
539 raises (SALOME::SALOME_Exception);
541 void ConvertToBiQuadratic(in
boolean theForce3d,
543 raises (SALOME::SALOME_Exception);
545 void RenumberNodes() raises (SALOME::SALOME_Exception);
547 void RenumberElements() raises (SALOME::SALOME_Exception);
565 in
double AngleInRadians,
568 in
boolean ToMakeGroups)
569 raises (SALOME::SALOME_Exception);
595 in
boolean toMakeGroups,
597 in
boolean scaleVariation,
600 in
boolean angleVariation)
601 raises (SALOME::SALOME_Exception);
608 in
boolean byAverageNormal,
609 in
boolean useInputElemsOnly,
610 in
boolean makeGroups,
612 raises (SALOME::SALOME_Exception);
628 in
double SewTolerance,
629 in
boolean ToMakeGroups)
630 raises (SALOME::SALOME_Exception);
646 in GEOM::GEOM_Object PathShape,
647 in smIdType NodeStart,
648 in
boolean HasAngles,
650 in
boolean AnglesVariation,
651 in
boolean HasRefPoint,
653 in
boolean MakeGroups,
655 in
boolean ScaleVariation,
657 raises (SALOME::SALOME_Exception);
668 in GEOM::GEOM_Object PathShape,
677 raises (SALOME::SALOME_Exception);
681 raises (SALOME::SALOME_Exception);
685 in
boolean CopyGroups,
687 raises (SALOME::SALOME_Exception);
693 raises (SALOME::SALOME_Exception);
697 raises (SALOME::SALOME_Exception);
701 in
boolean CopyGroups,
703 raises (SALOME::SALOME_Exception);
708 raises (SALOME::SALOME_Exception);
711 raises (SALOME::SALOME_Exception);
714 in
boolean CopyGroups,
716 raises (SALOME::SALOME_Exception);
721 raises (SALOME::SALOME_Exception);
724 raises (SALOME::SALOME_Exception);
727 in
boolean CopyGroups,
729 raises (SALOME::SALOME_Exception);
735 raises (SALOME::SALOME_Exception);
739 raises (SALOME::SALOME_Exception);
743 in
boolean CopyGroups,
745 raises (SALOME::SALOME_Exception);
749 in
double AngleInRadians,
751 raises (SALOME::SALOME_Exception);
754 in
double AngleInRadians)
755 raises (SALOME::SALOME_Exception);
758 in
double AngleInRadians,
759 in
boolean CopyGroups,
761 raises (SALOME::SALOME_Exception);
765 in
double AngleInRadians,
767 raises (SALOME::SALOME_Exception);
770 in
double AngleInRadians)
771 raises (SALOME::SALOME_Exception);
774 in
double AngleInRadians,
775 in
boolean CopyGroups,
777 raises (SALOME::SALOME_Exception);
781 in
boolean CopyGroups,
782 in
boolean CopyElements,
785 raises (SALOME::SALOME_Exception);
789 in
boolean SeparateCornersAndMedium)
790 raises (SALOME::SALOME_Exception);
795 in
boolean SeparateCornersAndMedium)
796 raises (SALOME::SALOME_Exception);
802 in
boolean SeparateCornersAndMedium)
803 raises (SALOME::SALOME_Exception);
807 in
boolean AvoidMakingHoles)
808 raises (SALOME::SALOME_Exception);
818 raises (SALOME::SALOME_Exception);
826 raises (SALOME::SALOME_Exception);
832 raises (SALOME::SALOME_Exception);
838 smIdType MoveClosestNodeToPoint(in
double x, in
double y, in
double z, in smIdType nodeID)
839 raises (SALOME::SALOME_Exception);
844 smIdType FindNodeClosestTo(in
double x, in
double y, in
double z)
845 raises (SALOME::SALOME_Exception);
853 raises (SALOME::SALOME_Exception);
862 in
double x, in
double y, in
double z,
864 raises (SALOME::SALOME_Exception);
872 smIdType ProjectPoint(in
double x,
878 raises (SALOME::SALOME_Exception);
884 short GetPointState(in
double x, in
double y, in
double z)
885 raises (SALOME::SALOME_Exception);
891 raises (SALOME::SALOME_Exception);
896 boolean IsCoherentOrientation2D()
897 raises (SALOME::SALOME_Exception);
907 in smIdType startNode,
909 raises (SALOME::SALOME_Exception);
916 raises (SALOME::SALOME_Exception);
922 raises (SALOME::SALOME_Exception);
929 raises (SALOME::SALOME_Exception);
942 in
boolean createPolygons,
943 in
boolean createPolyedrs)
944 raises (SALOME::SALOME_Exception);
962 in smIdType SecondNodeID1,
963 in smIdType LastNodeID1,
964 in smIdType FirstNodeID2,
965 in smIdType SecondNodeID2,
966 in smIdType LastNodeID2,
967 in
boolean CreatePolygons,
968 in
boolean CreatePolyedrs)
969 raises (SALOME::SALOME_Exception);
972 in smIdType SecondNodeID1,
973 in smIdType LastNodeID1,
974 in smIdType FirstNodeID2,
975 in smIdType SecondNodeID2)
976 raises (SALOME::SALOME_Exception);
979 in smIdType SecondNodeIDOnFreeBorder,
980 in smIdType LastNodeIDOnFreeBorder,
981 in smIdType FirstNodeIDOnSide,
982 in smIdType LastNodeIDOnSide,
983 in
boolean CreatePolygons,
984 in
boolean CreatePolyedrs)
985 raises (SALOME::SALOME_Exception);
989 in smIdType NodeID1OfSide1ToMerge,
990 in smIdType NodeID1OfSide2ToMerge,
991 in smIdType NodeID2OfSide1ToMerge,
992 in smIdType NodeID2OfSide2ToMerge)
993 raises (SALOME::SALOME_Exception);
1001 raises (SALOME::SALOME_Exception);
1016 in
string theGroupName )
1017 raises (SALOME::SALOME_Exception);
1029 raises (SALOME::SALOME_Exception);
1040 raises (SALOME::SALOME_Exception);
1052 raises (SALOME::SALOME_Exception);
1064 raises (SALOME::SALOME_Exception);
1076 raises (SALOME::SALOME_Exception);
1088 raises (SALOME::SALOME_Exception);
1103 raises (SALOME::SALOME_Exception);
1118 in GEOM::GEOM_Object theShape )
1119 raises (SALOME::SALOME_Exception);
1134 raises (SALOME::SALOME_Exception);
1149 raises (SALOME::SALOME_Exception);
1166 in
boolean theElemGroupNeeded,
1167 in
boolean theNodeGroupNeeded)
1168 raises (SALOME::SALOME_Exception);
1183 in GEOM::GEOM_Object theShape )
1184 raises (SALOME::SALOME_Exception);
1199 raises (SALOME::SALOME_Exception);
1214 raises (SALOME::SALOME_Exception);
1231 in
boolean theElemGroupNeeded,
1232 in
boolean theNodeGroupNeeded )
1233 raises (SALOME::SALOME_Exception);
1248 in GEOM::GEOM_Object theShape )
1249 raises (SALOME::SALOME_Exception);
1264 in GEOM::GEOM_Object theShape )
1265 raises (SALOME::SALOME_Exception);
1292 in
string groupName,
1294 in
boolean toCopyElements,
1295 in
boolean toCopyExistingBondary,
1296 out
SMESH_Group group) raises (SALOME::SALOME_Exception);
1315 in
string groupName,
1317 in
boolean toCopyAll,
1318 in
boolean toCreateAllElements,
1321 out
SMESH_Group group) raises (SALOME::SALOME_Exception);
1338 in
boolean createJointElems,
1339 in
boolean onAllBoundaries)
1340 raises (SALOME::SALOME_Exception);
1352 raises (SALOME::SALOME_Exception);
1361 in GEOM::GEOM_Object theShape,
1362 in
string groupName,
1365 raises (SALOME::SALOME_Exception);
1385 in
string groupName)
1386 raises (SALOME::SALOME_Exception);
1396 raises (SALOME::SALOME_Exception);
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:12382
void QuadTo4Tri(TIDSortedElemSet &theElems)
Split each of given quadrangles into 4 triangles.
Definition: SMESH_MeshEditor.cxx:1833
@ EXTR_CANT_GET_TANGENT
Definition: SMESH_MeshEditor.hxx:490
bool Reorient(const SMDS_MeshElement *theElement)
Definition: SMESH_MeshEditor.cxx:1371
void SplitBiQuadraticIntoLinear(TIDSortedElemSet &theElems)
Split bi-quadratic elements into linear ones without creation of additional nodes.
Definition: SMESH_MeshEditor.cxx:3104
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:11627
int Reorient2D(TIDSortedElemSet &theFaces, const gp_Vec &theDirection, TIDSortedElemSet &theRefFaces, bool theAllowNonManifold)
Reorient faces.
Definition: SMESH_MeshEditor.cxx:1456
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:12983
bool InverseDiag(const SMDS_MeshElement *theTria1, const SMDS_MeshElement *theTria2)
Definition: SMESH_MeshEditor.cxx:753
bool DeleteDiag(const SMDS_MeshNode *theNode1, const SMDS_MeshNode *theNode2)
Definition: SMESH_MeshEditor.cxx:1073
bool TriToQuad(TIDSortedElemSet &theElems, SMESH::Controls::NumericalFunctorPtr theCriterion, const double theMaxAngle)
Fuse neighbour triangles into quadrangles.
Definition: SMESH_MeshEditor.cxx:3540
const SMESH_SequenceOfElemPtr & GetLastCreatedNodes() const
Definition: SMESH_MeshEditor.hxx:82
void RemoveNodeWithReconnection(const SMDS_MeshNode *node)
Remove a node and fill a hole appeared by changing surrounding faces.
Definition: SMESH_MeshEditor.cxx:486
void Create0DElementsOnAllNodes(const TIDSortedElemSet &elements, TIDSortedElemSet &all0DElems, const bool duplicateElements)
Create 0D elements on all nodes of the given object.
Definition: SMESH_MeshEditor.cxx:567
int Reorient2DBy3D(TIDSortedElemSet &theFaces, TIDSortedElemSet &theVolumes, const bool theOutsideNormal)
Reorient faces basing on orientation of adjacent volumes.
Definition: SMESH_MeshEditor.cxx:1633
int BestSplit(const SMDS_MeshElement *theQuad, SMESH::Controls::NumericalFunctorPtr theCriterion)
Find better diagonal for splitting.
Definition: SMESH_MeshEditor.cxx:1969
bool CreateFlatElementsOnFacesGroups(const std::vector< TIDSortedElemSet > &theElems)
Double nodes on some external faces and create flat elements.
Definition: SMESH_MeshEditor.cxx:12228
bool QuadToTri(TIDSortedElemSet &theElems, SMESH::Controls::NumericalFunctorPtr theCriterion)
Split quadrangles into triangles.
Definition: SMESH_MeshEditor.cxx:1729
void ClearLastCreated()
Clears myLastCreatedNodes and myLastCreatedElems.
Definition: SMESH_MeshEditor.cxx:141
@ SEW_INTERNAL_ERROR
Definition: SMESH_MeshEditor.hxx:580
const SMESH_SequenceOfElemPtr & GetLastCreatedElems() const
Definition: SMESH_MeshEditor.hxx:83
Numerical functors are intended for calculating value by Id of mesh entity.
Definition: SMESH_Filter.idl:124
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:946
@ SEW_BAD_SIDE1_NODES
Definition: SMESH_MeshEditor.idl:956
@ SEW_BORDER2_NOT_FOUND
Definition: SMESH_MeshEditor.idl:949
@ SEW_BORDER1_NOT_FOUND
Definition: SMESH_MeshEditor.idl:948
@ SEW_VOLUMES_TO_SPLIT
Definition: SMESH_MeshEditor.idl:952
@ SEW_BOTH_BORDERS_NOT_FOUND
Definition: SMESH_MeshEditor.idl:950
@ SEW_BAD_SIDE2_NODES
Definition: SMESH_MeshEditor.idl:957
@ SEW_BAD_SIDE_NODES
Definition: SMESH_MeshEditor.idl:951
@ SEW_TOPO_DIFF_SETS_OF_ELEMENTS
Definition: SMESH_MeshEditor.idl:955
@ SEW_OK
Definition: SMESH_MeshEditor.idl:947
@ SEW_DIFF_NB_OF_ELEMENTS
Definition: SMESH_MeshEditor.idl:954
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:671
@ AXIS
Definition: SMESH_MeshEditor.idl:671
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:632
@ EXTR_PATH_NOT_EDGE
Definition: SMESH_MeshEditor.idl:635
@ EXTR_BAD_PATH_SHAPE
Definition: SMESH_MeshEditor.idl:636
@ EXTR_OK
Definition: SMESH_MeshEditor.idl:633
@ EXTR_BAD_ANGLES_NUMBER
Definition: SMESH_MeshEditor.idl:638
@ EXTR_NO_ELEMENTS
Definition: SMESH_MeshEditor.idl:634
@ EXTR_BAD_STARTING_NODE
Definition: SMESH_MeshEditor.idl:637
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:504
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_ControlsClassifier.cxx:39
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:41
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:39
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