X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSMESH_Mesh.idl;h=4c0ca10c187f1ddcd46b9b49b5763a63286b09d5;hb=0f966be15063df14e00bda24b435c039adfa029c;hp=4e7b2c56123848329dec5700b071edd0a5d41548;hpb=1949fa0f3ec6dac7a1af935b60527903f314f2b7;p=modules%2Fsmesh.git diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 4e7b2c561..4c0ca10c1 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -93,6 +93,14 @@ module SMESH double vy; double vz; } ; + /*! + * Node location on a shape + */ + struct NodePosition { + long shapeID; + GEOM::shape_type shapeType; + double_array params; // [U] on EDGE, [U,V] on FACE, [] on the rest shapes + }; /*! * Enumeration for element type, like in SMDS @@ -246,6 +254,12 @@ module SMESH ListOfGroups GetGroups() raises (SALOME::SALOME_Exception); + /*! + * Get number of groups existing in the mesh + */ + long NbGroups() + raises (SALOME::SALOME_Exception); + /*! * Union of two groups * New group is created. All mesh elements that are @@ -531,6 +545,11 @@ module SMESH */ long_array GetNodeInverseElements(in long id); + /*! + * \brief Return position of a node on shape + */ + NodePosition GetNodePosition(in long NodeID); + /*! * If given element is node returns IDs of shape from position * If there is not node for given ID - returns -1