]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMDS/SMDS_PolygonalFaceOfNodes.hxx
Salome HOME
Correct test script for mesh information
[modules/smesh.git] / src / SMDS / SMDS_PolygonalFaceOfNodes.hxx
index 3c9f9a50832d3f77f011c24641e9a20f6a209320..34a7f4dab4d8662452a9d7a7e1f508a06ace8b82 100644 (file)
@@ -40,6 +40,7 @@ class SMDS_EXPORT SMDS_PolygonalFaceOfNodes:public SMDS_MeshFace
   SMDS_PolygonalFaceOfNodes (std::vector<const SMDS_MeshNode *> nodes);
 
   virtual SMDSAbs_ElementType GetType() const;
+  virtual SMDSAbs_EntityType  GetEntityType() const { return SMDSEntity_Polygon; }
   virtual bool IsPoly() const { return true; };
 
   bool ChangeNodes (std::vector<const SMDS_MeshNode *> nodes);
@@ -58,8 +59,6 @@ class SMDS_EXPORT SMDS_PolygonalFaceOfNodes:public SMDS_MeshFace
    * \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;