From: eap Date: Tue, 23 Oct 2012 07:46:20 +0000 (+0000) Subject: 21680: EDF 2288 SMESH: creation of 0D elements from other elements X-Git-Tag: V6_6_0b1~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2726a6e3da81434d05cd5e5de226c0ed9950ef0b;p=modules%2Fsmesh.git 21680: EDF 2288 SMESH: creation of 0D elements from other elements + SMESH_IDSource Create0DElementsOnAllNodes(in SMESH_IDSource theObject, + in string theGroupName) --- diff --git a/idl/SMESH_MeshEditor.idl b/idl/SMESH_MeshEditor.idl index 08f2b70f2..3425d89e2 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -151,7 +151,6 @@ module SMESH */ long AddPolyhedralVolume (in long_array IdsOfNodes, in long_array Quantities); - /*! * Create volume of many faces, giving IDs of existing faces. * \param IdsOfFaces List of face IDs for volume creation. @@ -160,6 +159,19 @@ module SMESH */ long AddPolyhedralVolumeByFaces (in long_array IdsOfFaces); + /*! + * Create 0D elements on all nodes of the given object except those + * nodes on which a 0D element already exists. + * \param theObject object on whose nodes 0D elements will be created. + * \param theGroupName optional name of a group to add 0D elements created + * and/or found on nodes of \a theObject. + * \return an object (a new group or a temporary SMESH_IDSource) holding + * ids of new and/or found 0D elements. + */ + SMESH_IDSource Create0DElementsOnAllNodes(in SMESH_IDSource theObject, + in string theGroupName) + raises (SALOME::SALOME_Exception); + /*! * \brief Bind a node to a vertex * \param NodeID - node ID