From: eap Date: Thu, 15 Nov 2007 14:29:56 +0000 (+0000) Subject: PAL17694 (New Tool About Hexahedral Meshing) X-Git-Tag: V3_2_9rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=375e0a211cf579db41f18031d7498802984d9f57;p=modules%2Fsmesh.git PAL17694 (New Tool About Hexahedral Meshing) + /*! + * 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 + }; + * \brief Return position of a node on shape + */ + NodePosition GetNodePosition(in long NodeID); + + /*! --- diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 52f4da0be..698e4139f 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 @@ -523,6 +531,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