Corrected for PAL13626.

New method GetShapeIDForElem() is added.
This commit is contained in:
skl 2006-10-20 05:11:32 +00:00
parent 6a2b47a7b0
commit 0c56d66286

View File

@ -509,12 +509,17 @@ module SMESH
/*! /*!
* If given element is node returns IDs of shape from position * If given element is node returns IDs of shape from position
* else - return ID of result shape after ::FindShape() * If there is not node for given ID - returns -1
* from SMESH_MeshEditor
* If there is not element for given ID - returns -1
*/ */
long GetShapeID(in long id); long GetShapeID(in long id);
/*!
* For given element returns ID of result shape after
* ::FindShape() from SMESH_MeshEditor
* If there is not element for given ID - returns -1
*/
long GetShapeIDForElem(in long id);
/*! /*!
* Returns number of nodes for given element * Returns number of nodes for given element
* If there is not element for given ID - returns -1 * If there is not element for given ID - returns -1