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
NPAL16812: Elements Info dialog is added. The size of dialog is modified.
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_FaceOfNodes.hxx
diff --git
a/src/SMDS/SMDS_FaceOfNodes.hxx
b/src/SMDS/SMDS_FaceOfNodes.hxx
index 0203c1b105895b5cc4d71e4c5166bd07fe310920..f1a3010b8cf46088ac28b165f9138c1d289d1cf4 100644
(file)
--- a/
src/SMDS/SMDS_FaceOfNodes.hxx
+++ b/
src/SMDS/SMDS_FaceOfNodes.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
#ifndef _SMDS_FaceOfNodes_HeaderFile
#define _SMDS_FaceOfNodes_HeaderFile
#ifndef _SMDS_FaceOfNodes_HeaderFile
#define _SMDS_FaceOfNodes_HeaderFile
@@
-44,12
+44,23
@@
class SMDS_FaceOfNodes:public SMDS_MeshFace
int NbEdges() const;
int NbFaces() const;
int NbNodes() const;
int NbEdges() const;
int NbFaces() const;
int NbNodes() 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;
private:
protected:
SMDS_ElemIteratorPtr
elementsIterator(SMDSAbs_ElementType type) const;
private:
- std::vector<const SMDS_MeshNode*> myNodes;
+ const SMDS_MeshNode* myNodes[4];
+ int myNbNodes;
};
};