X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMESH%2FSMESH_ProxyMesh.hxx;h=fc2e9b201d16413a7809b5603a46627cb7c8deed;hb=HEAD;hp=4df1d9bb04923db8944426a2725883269c57855e;hpb=ecea056f6165eddf99403a8648657a9a573bcbe0;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_ProxyMesh.hxx b/src/SMESH/SMESH_ProxyMesh.hxx index 4df1d9bb0..a9ce71ef3 100644 --- a/src/SMESH/SMESH_ProxyMesh.hxx +++ b/src/SMESH/SMESH_ProxyMesh.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -66,8 +67,8 @@ public: const SMDS_MeshNode* GetProxyNode( const SMDS_MeshNode* n ) const; const UVPtStructVec& GetUVPtStructVec() const { return _uvPtStructVec; } virtual void AddElement(const SMDS_MeshElement * e); - virtual int NbElements() const; - virtual int NbNodes() const; + virtual smIdType NbElements() const; + virtual smIdType NbNodes() const; virtual SMDS_ElemIteratorPtr GetElements() const; virtual SMDS_NodeIteratorPtr GetNodes() const; virtual void Clear(); @@ -92,7 +93,7 @@ public: protected: // methods of SMDS_ElementHolder; remove elements before mesh compacting or clearing virtual SMDS_ElemIteratorPtr getElements() { Clear(); return GetElements(); } virtual void tmpClear() {} - virtual void add( const SMDS_MeshElement* element ) {} + virtual void add( const SMDS_MeshElement* /*element*/ ) {} virtual void compact() {} virtual void clear() { Clear(); } }; @@ -127,7 +128,7 @@ public: SMDS_ElemIteratorPtr GetFaces(const TopoDS_Shape& face) const; // Return total nb of faces taking into account substitutions - int NbFaces() const; + smIdType NbFaces() const; bool IsTemporary(const SMDS_MeshElement* elem ) const; @@ -135,7 +136,8 @@ public: SMDS_ElemIteratorPtr GetInverseElementIterator(const SMDS_MeshNode* node, SMDSAbs_ElementType type) const; - + // Check if a FACE has prisms on its both sides + static bool HasPrismsOnTwoSides( SMESHDS_SubMesh* faceSM ); SMESH_Mesh* GetMesh() const { return const_cast( _mesh ); }