- virtual bool IsPoly() const { return true; };
-
- bool ChangeNodes (std::vector<const SMDS_MeshNode *> nodes);
-
- bool ChangeNodes (const SMDS_MeshNode* nodes[],
- const int nbNodes);
- // to support the same interface, as SMDS_FaceOfNodes
+ virtual SMDSAbs_EntityType GetEntityType() const { return SMDSEntity_Polygon; }
+ virtual SMDSAbs_GeometryType GetGeomType() const { return SMDSGeom_POLYGON; }
+ virtual bool IsPoly() const { return true; }
+ virtual bool IsQuadratic() const { return false; }
+ virtual bool IsMediumNode(const SMDS_MeshNode* /*node*/) const { return false; }
+ virtual int NbCornerNodes() const { return NbNodes(); }