Salome HOME
Add SMDS_SetIterator.hxx, element->GetNode(index), fix some errors
[modules/smesh.git] / src / SMDS / SMDS_QuadraticFaceOfNodes.hxx
index 8ce72f3fbd1cb43bef4266af7df08c3f9d49ccf6..77cda784af0e96d7b5365245c397646c004a761d 100644 (file)
@@ -29,9 +29,6 @@
 
 #include "SMDS_MeshFace.hxx"
 
-typedef SMDS_Iterator<const SMDS_MeshNode *> SMDS_NodeIterator;
-typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshNode *> > SMDS_NodeIteratorPtr;
-
 class SMDS_WNT_EXPORT SMDS_QuadraticFaceOfNodes:public SMDS_MeshFace
 {
 public:
@@ -66,6 +63,17 @@ public:
 
   SMDS_NodeIteratorPtr interlacedNodesIterator() const;
 
+  SMDS_ElemIteratorPtr interlacedNodesElemIterator() 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:
   virtual SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const;