mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
0022108: EDF 2547 SMESH: Duplicate elements only
+ SMESH_Group DoubleElements( in SMESH_IDSource theElements, + in string theGroupName )
This commit is contained in:
parent
5cc99bd09d
commit
85ee212909
@ -927,13 +927,29 @@ module SMESH
|
|||||||
boolean ChangeElemNodes(in long ide, in long_array newIDs)
|
boolean ChangeElemNodes(in long ide, in long_array newIDs)
|
||||||
raises (SALOME::SALOME_Exception);
|
raises (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Duplicates given elements, i.e. creates new elements based on the
|
||||||
|
* same nodes as the given ones.
|
||||||
|
* \param theElements - container of elements to duplicate.
|
||||||
|
* \param 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 \a theGroupName is empty, new elements are not added
|
||||||
|
* in any group.
|
||||||
|
* \return a group where the new elements are added. NULL if theGroupName == "".
|
||||||
|
* \sa DoubleNode()
|
||||||
|
*/
|
||||||
|
SMESH_Group DoubleElements( in SMESH_IDSource theElements,
|
||||||
|
in string theGroupName )
|
||||||
|
raises (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Creates a hole in a mesh by doubling the nodes of some particular elements
|
* \brief Creates a hole in a mesh by doubling the nodes of some particular elements
|
||||||
* \param theNodes - identifiers of nodes to be doubled
|
* \param theNodes - identifiers of nodes to be doubled
|
||||||
* \param theModifiedElems - identifiers of elements to be updated by the new (doubled)
|
* \param theModifiedElems - identifiers of elements to be updated by the new (doubled)
|
||||||
* nodes. If list of element identifiers is empty then nodes are doubled but
|
* nodes. If list of element identifiers is empty then nodes are doubled but
|
||||||
* they not assigned to elements
|
* they not assigned to elements
|
||||||
* \return TRUE if operation has been completed successfully, FALSE otherwise
|
* \return TRUE if operation has been completed successfully, FALSE otherwise
|
||||||
* \sa DoubleNode(), DoubleNodeGroup(), DoubleNodeGroups()
|
* \sa DoubleNode(), DoubleNodeGroup(), DoubleNodeGroups()
|
||||||
*/
|
*/
|
||||||
boolean DoubleNodes( in long_array theNodes, in long_array theModifiedElems )
|
boolean DoubleNodes( in long_array theNodes, in long_array theModifiedElems )
|
||||||
|
Loading…
Reference in New Issue
Block a user