Fix regression of the proxy mesh

This commit is contained in:
eap 2016-11-11 17:26:02 +03:00
parent 6ea484ee5f
commit 1f79871a68
2 changed files with 4 additions and 4 deletions

View File

@ -533,7 +533,7 @@ int SMESH_ProxyMesh::SubMesh::NbElements() const
*/
//================================================================================
SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements() const
SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements(bool reverse) const
{
return SMDS_ElemIteratorPtr
( new SMDS_ElementVectorIterator( _elements.begin(), _elements.end() ));
@ -558,7 +558,7 @@ int SMESH_ProxyMesh::SubMesh::NbNodes() const
*/
//================================================================================
SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes() const
SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes(bool reverse) const
{
if ( !_uvPtStructVec.empty() )
return SMDS_NodeIteratorPtr ( new SMDS_SetIterator

View File

@ -66,8 +66,8 @@ public:
virtual void AddElement(const SMDS_MeshElement * e);
virtual int NbElements() const;
virtual int NbNodes() const;
virtual SMDS_ElemIteratorPtr GetElements() const;
virtual SMDS_NodeIteratorPtr GetNodes() const;
virtual SMDS_ElemIteratorPtr GetElements(bool reverse=false) const;
virtual SMDS_NodeIteratorPtr GetNodes(bool reverse=false) const;
virtual void Clear();
virtual bool Contains(const SMDS_MeshElement * ME) const;