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
Join modifications from branch OCC_development_for_3_2_0a2
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_MeshEdge.hxx
diff --git
a/src/SMDS/SMDS_MeshEdge.hxx
b/src/SMDS/SMDS_MeshEdge.hxx
index 290210ca324b7265467d3186264a23cc29c37a5e..c99b08198c7cadbed6a246056b101192bf155186 100644
(file)
--- a/
src/SMDS/SMDS_MeshEdge.hxx
+++ b/
src/SMDS/SMDS_MeshEdge.hxx
@@
-44,12
+44,22
@@
class SMDS_MeshEdge:public SMDS_MeshElement
int NbNodes() const;
int NbEdges() const;
friend bool operator<(const SMDS_MeshEdge& e1, const SMDS_MeshEdge& e2);
int NbNodes() const;
int NbEdges() const;
friend bool operator<(const SMDS_MeshEdge& e1, const SMDS_MeshEdge& e2);
+
+ /*!
+ * \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;
- pr
ivate
:
- const SMDS_MeshNode* myNodes[
2
];
+ pr
otected
:
+ const SMDS_MeshNode* myNodes[
3
];
};
#endif
};
#endif