Optimize SMDS_MeshElement::GetNodeIndex()

-  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
This commit is contained in:
eap 2013-07-29 11:48:56 +00:00
parent cbb3e2b8bd
commit da2b448af1

View File

@ -141,7 +141,7 @@ public:
* \param node - the node to check
* \retval int - node index within the element, -1 if not found
*/
int GetNodeIndex( const SMDS_MeshNode* node ) const;
virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
inline ShortType getMeshId() const { return myMeshId; }
inline LongType getshapeId() const { return myShapeId; }