28 #ifndef _SMESH_MESHEDITOR_I_HXX_
29 #define _SMESH_MESHEDIOTR_I_HXX_
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(SMESH_MeshEditor)
44 namespace MeshEditor_I {
46 struct ExtrusionParams;
61 SMESH::SMESH_Mesh_ptr GetMesh();
74 SMESH::
long_array* GetLastCreatedNodes() throw (SALOME::SALOME_Exception);
80 SMESH::
long_array* GetLastCreatedElems() throw (SALOME::SALOME_Exception);
84 void ClearLastCreated() throw (SALOME::SALOME_Exception);
88 SMESH::ComputeError* GetLastError() throw (SALOME::SALOME_Exception);
93 SMESH::SMESH_IDSource_ptr MakeIDSource(const SMESH::
long_array& IDsOfElements,
95 static
bool IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource );
96 static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource,
int& nbIds );
98 CORBA::Boolean RemoveElements(const SMESH::
long_array & IDsOfElements)
99 throw (SALOME::SALOME_Exception);
100 CORBA::Boolean RemoveNodes (const SMESH::
long_array & IDsOfNodes)
101 throw (SALOME::SALOME_Exception);
102 CORBA::Long RemoveOrphanNodes()
103 throw (SALOME::SALOME_Exception);
109 CORBA::Long
AddNode(CORBA::Double x, CORBA::Double y, CORBA::Double z)
110 throw (SALOME::SALOME_Exception);
111 CORBA::Long Add0DElement(CORBA::Long IDOfNode, CORBA::Boolean DuplicateElements)
112 throw (SALOME::SALOME_Exception);
113 CORBA::Long AddBall(CORBA::Long IDOfNodem, CORBA::Double diameter)
114 throw (SALOME::SALOME_Exception);
115 CORBA::Long AddEdge(const SMESH::
long_array & IDsOfNodes)
116 throw (SALOME::SALOME_Exception);
117 CORBA::Long AddFace(const SMESH::
long_array & IDsOfNodes)
118 throw (SALOME::SALOME_Exception);
119 CORBA::Long AddPolygonalFace(const SMESH::
long_array & IDsOfNodes)
120 throw (SALOME::SALOME_Exception);
121 CORBA::Long AddQuadPolygonalFace(const SMESH::
long_array & IDsOfNodes)
122 throw (SALOME::SALOME_Exception);
123 CORBA::Long AddVolume(const SMESH::
long_array & IDsOfNodes)
124 throw (SALOME::SALOME_Exception);
125 CORBA::Long AddPolyhedralVolume(const SMESH::
long_array & IDsOfNodes,
127 throw (SALOME::SALOME_Exception);
128 CORBA::Long AddPolyhedralVolumeByFaces(const SMESH::
long_array & IdsOfFaces)
129 throw (SALOME::SALOME_Exception);
141 SMESH::SMESH_IDSource_ptr Create0DElementsOnAllNodes(SMESH::SMESH_IDSource_ptr theObject,
142 const
char* theGroupName,
143 CORBA::Boolean theDuplicateElements)
144 throw (SALOME::SALOME_Exception);
151 void SetNodeOnVertex(CORBA::Long NodeID, CORBA::Long VertexID)
152 throw (SALOME::SALOME_Exception);
159 void SetNodeOnEdge(CORBA::Long NodeID, CORBA::Long EdgeID,
160 CORBA::Double paramOnEdge)
161 throw (SALOME::SALOME_Exception);
169 void SetNodeOnFace(CORBA::Long NodeID, CORBA::Long FaceID,
170 CORBA::Double u, CORBA::Double v)
171 throw (SALOME::SALOME_Exception);
177 void SetNodeInVolume(CORBA::Long NodeID, CORBA::Long SolidID)
178 throw (SALOME::SALOME_Exception);
184 void SetMeshElementOnShape(CORBA::Long ElementID, CORBA::Long ShapeID)
185 throw (SALOME::SALOME_Exception);
188 CORBA::Boolean MoveNode(CORBA::Long NodeID,
189 CORBA::Double x, CORBA::Double y, CORBA::Double z)
190 throw (SALOME::SALOME_Exception);
192 CORBA::Boolean InverseDiag(CORBA::Long NodeID1, CORBA::Long NodeID2)
193 throw (SALOME::SALOME_Exception);
194 CORBA::Boolean DeleteDiag(CORBA::Long NodeID1, CORBA::Long NodeID2)
195 throw (SALOME::SALOME_Exception);
196 CORBA::Boolean Reorient(const SMESH::
long_array & IDsOfElements)
197 throw (SALOME::SALOME_Exception);
198 CORBA::Boolean ReorientObject(SMESH::SMESH_IDSource_ptr theObject)
199 throw (SALOME::SALOME_Exception);
210 CORBA::Long Reorient2D(SMESH::SMESH_IDSource_ptr the2Dgroup,
211 const SMESH::DirStruct& theDirection,
213 const SMESH::PointStruct& thePoint) throw (SALOME::SALOME_Exception);
223 SMESH::SMESH_IDSource_ptr volumes,
224 CORBA::Boolean outsideNormal)
225 throw (SALOME::SALOME_Exception);
228 CORBA::Boolean TriToQuad (const SMESH::
long_array & IDsOfElements,
229 SMESH::NumericalFunctor_ptr Criterion,
230 CORBA::Double MaxAngle)
231 throw (SALOME::SALOME_Exception);
232 CORBA::Boolean TriToQuadObject (SMESH::SMESH_IDSource_ptr theObject,
233 SMESH::NumericalFunctor_ptr Criterion,
234 CORBA::Double MaxAngle)
235 throw (SALOME::SALOME_Exception);
236 CORBA::Boolean QuadToTri (const SMESH::
long_array & IDsOfElements,
237 SMESH::NumericalFunctor_ptr Criterion)
238 throw (SALOME::SALOME_Exception);
239 CORBA::Boolean QuadToTriObject (SMESH::SMESH_IDSource_ptr theObject,
240 SMESH::NumericalFunctor_ptr Criterion)
241 throw (SALOME::SALOME_Exception);
242 void QuadTo4Tri (SMESH::SMESH_IDSource_ptr theObject)
243 throw (SALOME::SALOME_Exception);
244 CORBA::Boolean SplitQuad (const SMESH::
long_array & IDsOfElements,
245 CORBA::Boolean Diag13)
246 throw (SALOME::SALOME_Exception);
247 CORBA::Boolean SplitQuadObject (SMESH::SMESH_IDSource_ptr theObject,
248 CORBA::Boolean Diag13)
249 throw (SALOME::SALOME_Exception);
250 CORBA::Long BestSplit (CORBA::Long IDOfQuad,
251 SMESH::NumericalFunctor_ptr Criterion)
252 throw (SALOME::SALOME_Exception);
253 void SplitVolumesIntoTetra(SMESH::SMESH_IDSource_ptr elems,
254 CORBA::Short methodFlags)
255 throw (SALOME::SALOME_Exception);
256 void SplitHexahedraIntoPrisms(SMESH::SMESH_IDSource_ptr elems,
257 const SMESH::PointStruct & startHexPoint,
258 const SMESH::DirStruct& facetToSplitNormal,
259 CORBA::Short methodFlags,
260 CORBA::Boolean allDomains)
261 throw (SALOME::SALOME_Exception);
263 throw (SALOME::SALOME_Exception);
265 CORBA::Boolean Smooth(const SMESH::
long_array & IDsOfElements,
267 CORBA::Long MaxNbOfIterations,
268 CORBA::Double MaxAspectRatio,
270 throw (SALOME::SALOME_Exception);
271 CORBA::Boolean SmoothObject(SMESH::SMESH_IDSource_ptr theObject,
273 CORBA::Long MaxNbOfIterations,
274 CORBA::Double MaxAspectRatio,
276 throw (SALOME::SALOME_Exception);
277 CORBA::Boolean SmoothParametric(const SMESH::
long_array & IDsOfElements,
279 CORBA::Long MaxNbOfIterations,
280 CORBA::Double MaxAspectRatio,
282 throw (SALOME::SALOME_Exception);
283 CORBA::Boolean SmoothParametricObject(SMESH::SMESH_IDSource_ptr theObject,
285 CORBA::Long MaxNbOfIterations,
286 CORBA::Double MaxAspectRatio,
288 throw (SALOME::SALOME_Exception);
289 CORBA::Boolean smooth(const SMESH::
long_array & IDsOfElements,
291 CORBA::Long MaxNbOfIterations,
292 CORBA::Double MaxAspectRatio,
295 throw (SALOME::SALOME_Exception);
296 CORBA::Boolean smoothObject(SMESH::SMESH_IDSource_ptr theObject,
298 CORBA::Long MaxNbOfIterations,
299 CORBA::Double MaxAspectRatio,
302 throw (SALOME::SALOME_Exception);
304 CORBA::Boolean ConvertFromQuadratic()
305 throw (SALOME::SALOME_Exception);
306 void ConvertFromQuadraticObject(SMESH::SMESH_IDSource_ptr theObject)
307 throw (SALOME::SALOME_Exception);
308 void ConvertToQuadratic(CORBA::Boolean Force3d)
309 throw (SALOME::SALOME_Exception);
310 void ConvertToQuadraticObject(CORBA::Boolean theForce3d,
311 SMESH::SMESH_IDSource_ptr theObject)
312 throw (SALOME::SALOME_Exception);
313 void ConvertToBiQuadratic(CORBA::Boolean theForce3d,
314 SMESH::SMESH_IDSource_ptr theObject)
315 throw (SALOME::SALOME_Exception);
317 void RenumberNodes() throw (SALOME::SALOME_Exception);
318 void RenumberElements() throw (SALOME::SALOME_Exception);
323 const SMESH::AxisStruct & Axis,
324 CORBA::Double AngleInRadians,
325 CORBA::Long NbOfSteps,
326 CORBA::Double Tolerance,
327 CORBA::Boolean toMakeGroups)
328 throw (SALOME::SALOME_Exception);
333 const SMESH::DirStruct & stepVector,
334 CORBA::Long nbOfSteps,
336 CORBA::Boolean theLinearVariation,
338 CORBA::Boolean toMakeGroups)
339 throw (SALOME::SALOME_Exception);
342 CORBA::Double stepSize,
343 CORBA::Long nbOfSteps,
344 CORBA::Boolean byAverageNormal,
345 CORBA::Boolean useInputElemsOnly,
346 CORBA::Boolean makeGroups,
348 throw (SALOME::SALOME_Exception);
350 const SMESH::DirStruct & theStepVector,
351 CORBA::Long theNbOfSteps,
352 CORBA::Long theExtrFlags,
353 CORBA::Double theSewTolerance,
354 CORBA::Boolean theMakeGroups)
355 throw (SALOME::SALOME_Exception);
361 SMESH::SMESH_IDSource_ptr PathMesh,
362 GEOM::GEOM_Object_ptr PathShape,
363 CORBA::Long NodeStart,
364 CORBA::Boolean HasAngles,
366 CORBA::Boolean LinearVariation,
367 CORBA::Boolean HasRefPoint,
368 const SMESH::PointStruct & RefPoint,
371 throw (SALOME::SALOME_Exception);
373 SMESH::
double_array* LinearAnglesVariation(SMESH::SMESH_Mesh_ptr PathMesh,
374 GEOM::GEOM_Object_ptr PathShape,
377 void Mirror(const SMESH::
long_array & IDsOfElements,
378 const SMESH::AxisStruct & Axis,
381 throw (SALOME::SALOME_Exception);
382 void MirrorObject(SMESH::SMESH_IDSource_ptr theObject,
383 const SMESH::AxisStruct & Axis,
386 throw (SALOME::SALOME_Exception);
387 void Translate(const SMESH::
long_array & IDsOfElements,
388 const SMESH::DirStruct & Vector,
390 throw (SALOME::SALOME_Exception);
391 void TranslateObject(SMESH::SMESH_IDSource_ptr theObject,
392 const SMESH::DirStruct & Vector,
394 throw (SALOME::SALOME_Exception);
395 void Rotate(const SMESH::
long_array & IDsOfElements,
396 const SMESH::AxisStruct & Axis,
399 throw (SALOME::SALOME_Exception);
400 void RotateObject(SMESH::SMESH_IDSource_ptr theObject,
401 const SMESH::AxisStruct & Axis,
404 throw (SALOME::SALOME_Exception);
407 const SMESH::AxisStruct& Mirror,
409 throw (SALOME::SALOME_Exception);
410 SMESH::
ListOfGroups* MirrorObjectMakeGroups(SMESH::SMESH_IDSource_ptr Object,
411 const SMESH::AxisStruct& Mirror,
413 throw (SALOME::SALOME_Exception);
415 const SMESH::DirStruct& Vector)
416 throw (SALOME::SALOME_Exception);
417 SMESH::
ListOfGroups* TranslateObjectMakeGroups(SMESH::SMESH_IDSource_ptr Object,
418 const SMESH::DirStruct& Vector)
419 throw (SALOME::SALOME_Exception);
421 const SMESH::AxisStruct& Axis,
422 CORBA::Double AngleInRadians)
423 throw (SALOME::SALOME_Exception);
424 SMESH::
ListOfGroups* RotateObjectMakeGroups(SMESH::SMESH_IDSource_ptr Object,
425 const SMESH::AxisStruct& Axis,
426 CORBA::Double AngleInRadians)
427 throw (SALOME::SALOME_Exception);
429 SMESH::SMESH_Mesh_ptr MirrorMakeMesh(const SMESH::
long_array& IDsOfElements,
430 const SMESH::AxisStruct& Mirror,
432 CORBA::Boolean CopyGroups,
433 const
char* MeshName)
434 throw (SALOME::SALOME_Exception);
435 SMESH::SMESH_Mesh_ptr MirrorObjectMakeMesh(SMESH::SMESH_IDSource_ptr Object,
436 const SMESH::AxisStruct& Mirror,
438 CORBA::Boolean CopyGroups,
439 const
char* MeshName)
440 throw (SALOME::SALOME_Exception);
441 SMESH::SMESH_Mesh_ptr TranslateMakeMesh(const SMESH::
long_array& IDsOfElements,
442 const SMESH::DirStruct& Vector,
443 CORBA::Boolean CopyGroups,
444 const
char* MeshName)
445 throw (SALOME::SALOME_Exception);
446 SMESH::SMESH_Mesh_ptr TranslateObjectMakeMesh(SMESH::SMESH_IDSource_ptr Object,
447 const SMESH::DirStruct& Vector,
448 CORBA::Boolean CopyGroups,
449 const
char* MeshName)
450 throw (SALOME::SALOME_Exception);
451 SMESH::SMESH_Mesh_ptr RotateMakeMesh(const SMESH::
long_array& IDsOfElements,
452 const SMESH::AxisStruct& Axis,
453 CORBA::Double AngleInRadians,
454 CORBA::Boolean CopyGroups,
455 const
char* MeshName)
456 throw (SALOME::SALOME_Exception);
457 SMESH::SMESH_Mesh_ptr RotateObjectMakeMesh(SMESH::SMESH_IDSource_ptr Object,
458 const SMESH::AxisStruct& Axis,
459 CORBA::Double AngleInRadians,
460 CORBA::Boolean CopyGroups,
461 const
char* MeshName)
462 throw (SALOME::SALOME_Exception);
464 void Scale(SMESH::SMESH_IDSource_ptr theObject,
465 const SMESH::PointStruct& thePoint,
467 CORBA::Boolean theCopy)
468 throw (SALOME::SALOME_Exception);
470 SMESH::
ListOfGroups* ScaleMakeGroups(SMESH::SMESH_IDSource_ptr theObject,
471 const SMESH::PointStruct& thePoint,
473 throw (SALOME::SALOME_Exception);
475 SMESH::SMESH_Mesh_ptr ScaleMakeMesh(SMESH::SMESH_IDSource_ptr Object,
476 const SMESH::PointStruct& Point,
478 CORBA::Boolean CopyGroups,
479 const
char* MeshName)
480 throw (SALOME::SALOME_Exception);
482 void FindCoincidentNodes (CORBA::Double Tolerance,
483 SMESH::array_of_long_array_out GroupsOfNodes,
484 CORBA::Boolean SeparateCornersAndMedium)
485 throw (SALOME::SALOME_Exception);
486 void FindCoincidentNodesOnPart(SMESH::SMESH_IDSource_ptr Object,
487 CORBA::Double Tolerance,
488 SMESH::array_of_long_array_out GroupsOfNodes,
489 CORBA::Boolean SeparateCornersAndMedium)
490 throw (SALOME::SALOME_Exception);
491 void FindCoincidentNodesOnPartBut(SMESH::SMESH_IDSource_ptr Object,
492 CORBA::Double Tolerance,
493 SMESH::array_of_long_array_out GroupsOfNodes,
495 CORBA::Boolean SeparateCornersAndMedium)
496 throw (SALOME::SALOME_Exception);
499 CORBA::Boolean AvoidMakingHoles )
500 throw (SALOME::SALOME_Exception);
501 void FindEqualElements(SMESH::SMESH_IDSource_ptr Object,
502 SMESH::array_of_long_array_out GroupsOfElementsID)
503 throw (SALOME::SALOME_Exception);
505 throw (SALOME::SALOME_Exception);
506 void MergeEqualElements()
507 throw (SALOME::SALOME_Exception);
508 CORBA::Long MoveClosestNodeToPoint(CORBA::Double x,
512 throw (SALOME::SALOME_Exception);
516 CORBA::Long FindNodeClosestTo(CORBA::Double x,
519 throw (SALOME::SALOME_Exception);
524 SMESH::
long_array* FindElementsByPoint(CORBA::Double x,
528 throw (SALOME::SALOME_Exception);
534 SMESH::
long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
539 throw (SALOME::SALOME_Exception);
545 CORBA::Short GetPointState(CORBA::Double x, CORBA::Double y, CORBA::Double z)
546 throw (SALOME::SALOME_Exception);
549 CORBA::Short SewCoincidentFreeBorders(const SMESH::CoincidentFreeBorders& freeBorders,
550 CORBA::Boolean createPolygons,
551 CORBA::Boolean createPolyedrs)
552 throw (SALOME::SALOME_Exception);
555 SewFreeBorders(CORBA::Long FirstNodeID1,
556 CORBA::Long SecondNodeID1,
557 CORBA::Long LastNodeID1,
558 CORBA::Long FirstNodeID2,
559 CORBA::Long SecondNodeID2,
560 CORBA::Long LastNodeID2,
561 CORBA::Boolean CreatePolygons,
562 CORBA::Boolean CreatePolyedrs) throw (SALOME::SALOME_Exception);
564 SewConformFreeBorders(CORBA::Long FirstNodeID1,
565 CORBA::Long SecondNodeID1,
566 CORBA::Long LastNodeID1,
567 CORBA::Long FirstNodeID2,
568 CORBA::Long SecondNodeID2) throw (SALOME::SALOME_Exception);
570 SewBorderToSide(CORBA::Long FirstNodeIDOnFreeBorder,
571 CORBA::Long SecondNodeIDOnFreeBorder,
572 CORBA::Long LastNodeIDOnFreeBorder,
573 CORBA::Long FirstNodeIDOnSide,
574 CORBA::Long LastNodeIDOnSide,
575 CORBA::Boolean CreatePolygons,
576 CORBA::Boolean CreatePolyedrs) throw (SALOME::SALOME_Exception);
578 SewSideElements(const SMESH::
long_array& IDsOfSide1Elements,
580 CORBA::Long NodeID1OfSide1ToMerge,
581 CORBA::Long NodeID1OfSide2ToMerge,
582 CORBA::Long NodeID2OfSide1ToMerge,
583 CORBA::Long NodeID2OfSide2ToMerge) throw (SALOME::SALOME_Exception);
590 CORBA::Boolean ChangeElemNodes(CORBA::Long ide, const SMESH::
long_array& newIDs)
591 throw (SALOME::SALOME_Exception);
593 SMESH::SMESH_Group_ptr DoubleElements(SMESH::SMESH_IDSource_ptr theElements,
594 const
char* theGroupName)
595 throw (SALOME::SALOME_Exception);
597 CORBA::Boolean DoubleNodes( const SMESH::
long_array& theNodes,
599 throw (SALOME::SALOME_Exception);
601 CORBA::Boolean DoubleNode( CORBA::Long theNodeId,
603 throw (SALOME::SALOME_Exception);
605 CORBA::Boolean DoubleNodeGroup( SMESH::SMESH_GroupBase_ptr theNodes,
606 SMESH::SMESH_GroupBase_ptr theModifiedElems )
607 throw (SALOME::SALOME_Exception);
617 SMESH::SMESH_Group_ptr DoubleNodeGroupNew( SMESH::SMESH_GroupBase_ptr theNodes,
618 SMESH::SMESH_GroupBase_ptr theModifiedElems )
619 throw (SALOME::SALOME_Exception);
621 CORBA::Boolean DoubleNodeGroups( const SMESH::
ListOfGroups& theNodes,
623 throw (SALOME::SALOME_Exception);
625 SMESH::SMESH_Group_ptr DoubleNodeGroupsNew( const SMESH::
ListOfGroups& theNodes,
627 throw (SALOME::SALOME_Exception);
639 CORBA::Boolean DoubleNodeElem( const SMESH::
long_array& theElems,
642 throw (SALOME::SALOME_Exception);
655 CORBA::Boolean DoubleNodeElemInRegion( const SMESH::
long_array& theElems,
657 GEOM::GEOM_Object_ptr theShape )
658 throw (SALOME::SALOME_Exception);
669 CORBA::Boolean DoubleNodeElemGroup( SMESH::SMESH_GroupBase_ptr theElems,
670 SMESH::SMESH_GroupBase_ptr theNodesNot,
671 SMESH::SMESH_GroupBase_ptr theAffectedElems )
672 throw (SALOME::SALOME_Exception);
684 SMESH::SMESH_Group_ptr DoubleNodeElemGroupNew( SMESH::SMESH_GroupBase_ptr theElems,
685 SMESH::SMESH_GroupBase_ptr theNodesNot,
686 SMESH::SMESH_GroupBase_ptr theAffectedElems )
687 throw (SALOME::SALOME_Exception);
689 SMESH::
ListOfGroups* DoubleNodeElemGroup2New(SMESH::SMESH_GroupBase_ptr theElems,
690 SMESH::SMESH_GroupBase_ptr theNodesNot,
691 SMESH::SMESH_GroupBase_ptr theAffectedElems,
692 CORBA::Boolean theElemGroupNeeded,
693 CORBA::Boolean theNodeGroupNeeded)
694 throw (SALOME::SALOME_Exception);
706 CORBA::Boolean DoubleNodeElemGroupInRegion( SMESH::SMESH_GroupBase_ptr theElems,
707 SMESH::SMESH_GroupBase_ptr theNodesNot,
708 GEOM::GEOM_Object_ptr theShape )
709 throw (SALOME::SALOME_Exception);
721 CORBA::Boolean DoubleNodeElemGroups( const SMESH::
ListOfGroups& theElems,
724 throw (SALOME::SALOME_Exception);
736 SMESH::SMESH_Group_ptr DoubleNodeElemGroupsNew( const SMESH::
ListOfGroups& theElems,
739 throw (SALOME::SALOME_Exception);
744 CORBA::Boolean theElemGroupNeeded,
745 CORBA::Boolean theNodeGroupNeeded)
746 throw (SALOME::SALOME_Exception);
759 CORBA::Boolean DoubleNodeElemGroupsInRegion( const SMESH::
ListOfGroups& theElems,
761 GEOM::GEOM_Object_ptr theShape )
762 throw (SALOME::SALOME_Exception);
777 GEOM::GEOM_Object_ptr theShape )
778 throw (SALOME::SALOME_Exception);
792 CORBA::Boolean DoubleNodesOnGroupBoundaries( const SMESH::
ListOfGroups& theDomains,
793 CORBA::Boolean createJointElems,
794 CORBA::Boolean onAllBoundaries )
795 throw (SALOME::SALOME_Exception);
805 CORBA::Boolean CreateFlatElementsOnFacesGroups( const SMESH::
ListOfGroups& theGroupsOfFaces )
806 throw (SALOME::SALOME_Exception);
814 void CreateHoleSkin(CORBA::Double radius,
815 GEOM::GEOM_Object_ptr theShape,
816 const
char* groupName,
818 SMESH::array_of_long_array_out GroupsOfNodes)
819 throw (SALOME::SALOME_Exception);
826 CORBA::Boolean Make2DMeshFrom3D()
827 throw (SALOME::SALOME_Exception);
829 SMESH::SMESH_Mesh_ptr MakeBoundaryMesh(SMESH::SMESH_IDSource_ptr elements,
831 const
char* groupName,
832 const
char* meshName,
833 CORBA::Boolean toCopyElements,
834 CORBA::Boolean toCopyMissingBondary,
835 SMESH::SMESH_Group_out group)
836 throw (SALOME::SALOME_Exception);
838 CORBA::Long MakeBoundaryElements(SMESH::
Bnd_Dimension dimension,
839 const
char* groupName,
840 const
char* meshName,
841 CORBA::Boolean toCopyAll,
843 SMESH::SMESH_Mesh_out mesh,
844 SMESH::SMESH_Group_out group)
845 throw (SALOME::SALOME_Exception);
855 void declareMeshModified(
bool isReComputeSafe );
860 void initData(
bool deleteSearchers=
true);
866 throw (SALOME::SALOME_Exception);
874 throw (SALOME::SALOME_Exception);
876 const SMESH::DirStruct & Vector,
880 throw (SALOME::SALOME_Exception);
882 const SMESH::AxisStruct & Axis,
887 throw (SALOME::SALOME_Exception);
889 SMESH::
ListOfGroups* scale(SMESH::SMESH_IDSource_ptr theObject,
890 const SMESH::PointStruct& thePoint,
892 CORBA::Boolean theCopy,
895 throw (SALOME::SALOME_Exception);
897 void convertToQuadratic(CORBA::Boolean theForce3d,
898 CORBA::Boolean theToBiQuad,
899 SMESH::SMESH_IDSource_ptr theObject = SMESH::SMESH_IDSource::_nil())
900 throw (SALOME::SALOME_Exception);
902 SMESH::SMESH_Mesh_ptr makeMesh(const
char* theMeshName);
904 void dumpGroupsList(SMESH::TPythonDump & theDumpPython,
907 std::
string generateGroupName(const std::
string& thePrefix);
909 void prepareIdSource(SMESH::SMESH_IDSource_ptr theObject);
914 bool idSourceToSet(SMESH::SMESH_IDSource_ptr theIDSource,
918 const bool emptyIfIsMesh =
false,
919 IDSource_Error* error = 0);
922 CORBA::Double Tolerance,
923 SMESH::array_of_long_array_out GroupsOfNodes,
924 CORBA::Boolean SeparateCornersAndMedium);