+//================================================================================
+/*!
+ * \brief Return number of nodes in a proxy sub-mesh. The method is meaningful
+ * for a sub-mesh containing nodes of 2D viscous layer.
+ */
+//================================================================================
+
+int SMESH_ProxyMesh::SubMesh::NbNodes() const
+{
+ return _uvPtStructVec.size();
+}
+
+//================================================================================
+/*!
+ * \brief Return nodes of a proxy sub-mesh. The method is meaningful
+ * for a sub-mesh containing nodes of 2D viscous layer.
+ */
+//================================================================================
+
+SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes() const
+{
+ if ( !_uvPtStructVec.empty() )
+ return SMDS_NodeIteratorPtr ( new SMDS_SetIterator
+ < SMDS_pNode,
+ UVPtStructVec::const_iterator,
+ UVPtStruct::NodeAccessor >
+ ( _uvPtStructVec.begin(), _uvPtStructVec.end() ));
+
+ return SMDS_NodeIteratorPtr
+ ( new SMDS_SetIterator< SMDS_pNode, std::vector< SMDS_pElement >::const_iterator>
+ ( _elements.begin(), _elements.end() ));
+}
+