X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_VolumeOfNodes.hxx;h=6c18c170f14b471798a8aae89dd21ffdd93a79ba;hp=bb553a03a003518bf96b42dd530591fc59f3ece9;hb=79b1ac2b6df9117f16f11d444b1f165d477a1813;hpb=090aff07266d376ae028ae43434bdea7c0a0f9bb diff --git a/src/SMDS/SMDS_VolumeOfNodes.hxx b/src/SMDS/SMDS_VolumeOfNodes.hxx index bb553a03a..6c18c170f 100644 --- a/src/SMDS/SMDS_VolumeOfNodes.hxx +++ b/src/SMDS/SMDS_VolumeOfNodes.hxx @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -27,10 +27,11 @@ #ifndef _SMDS_VolumeOfNodes_HeaderFile #define _SMDS_VolumeOfNodes_HeaderFile -#include "SMDS_MeshVolume.hxx" +#include "SMESH_SMDS.hxx" +#include "SMDS_MeshVolume.hxx" -class SMDS_VolumeOfNodes:public SMDS_MeshVolume +class SMDS_EXPORT SMDS_VolumeOfNodes:public SMDS_MeshVolume { public: @@ -70,6 +71,16 @@ class SMDS_VolumeOfNodes:public SMDS_MeshVolume int NbNodes() const; int NbEdges() const; SMDSAbs_ElementType GetType() const; + + /*! + * \brief Return node by its index + * \param ind - node index + * \retval const SMDS_MeshNode* - the node + * + * Index is wrapped if it is out of a valid range + */ + virtual const SMDS_MeshNode* GetNode(const int ind) const; + protected: SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type) const;