Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging with WPdev
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_VolumeOfNodes.hxx
diff --git
a/src/SMDS/SMDS_VolumeOfNodes.hxx
b/src/SMDS/SMDS_VolumeOfNodes.hxx
index b2a6c038ece7e2dd861aa761ff1e2469592e6bd9..6c18c170f14b471798a8aae89dd21ffdd93a79ba 100644
(file)
--- 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
//
// 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,11
+27,11
@@
#ifndef _SMDS_VolumeOfNodes_HeaderFile
#define _SMDS_VolumeOfNodes_HeaderFile
#ifndef _SMDS_VolumeOfNodes_HeaderFile
#define _SMDS_VolumeOfNodes_HeaderFile
-#include "SMDS_MeshVolume.hxx"
-#include <vector>
+#include "SMESH_SMDS.hxx"
+#include "SMDS_MeshVolume.hxx"
-class SMDS_VolumeOfNodes:public SMDS_MeshVolume
+class SMDS_
EXPORT SMDS_
VolumeOfNodes:public SMDS_MeshVolume
{
public:
{
public:
@@
-64,15
+64,27
@@
class SMDS_VolumeOfNodes:public SMDS_MeshVolume
const SMDS_MeshNode * node8);
bool ChangeNodes(const SMDS_MeshNode* nodes[],
const int nbNodes);
const SMDS_MeshNode * node8);
bool ChangeNodes(const SMDS_MeshNode* nodes[],
const int nbNodes);
+ ~SMDS_VolumeOfNodes();
void Print(std::ostream & OS) const;
int NbFaces() const;
int NbNodes() const;
int NbEdges() const;
SMDSAbs_ElementType GetType() const;
void Print(std::ostream & OS) const;
int NbFaces() const;
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;
protected:
SMDS_ElemIteratorPtr
elementsIterator(SMDSAbs_ElementType type) const;
- std::vector<const SMDS_MeshNode *> myNodes;
+ const SMDS_MeshNode** myNodes;
+ int myNbNodes;
};
#endif
};
#endif