]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMDS/SMDS_MeshElement.hxx
Salome HOME
add GetNodeIndex()
[modules/smesh.git] / src / SMDS / SMDS_MeshElement.hxx
index 67ac8f2473f36f7dd7fa00afcd795353a9102b4b..794c352f508d1fb5b94ce6414fd87401147909e8 100644 (file)
@@ -108,6 +108,13 @@ public:
     return ind;
   }
 
+  /*!
+   * \brief Check if a node belongs to the element
+    * \param node - the node to check
+    * \retval int - node index within the element, -1 if not found
+   */
+  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+
 protected:
   SMDS_MeshElement(int ID=-1);
   virtual void Print(std::ostream & OS) const;