Salome HOME
New DS implementation
[modules/smesh.git] / src / SMDS / SMDS_MeshFace.cxx
index 7441cc55181e657348cb242aac5e349d52fc56b5..b7014293af806d0fca34a72f82dfae5b7fd11eaa 100644 (file)
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : SMDS_MeshFace.cxx
-//  Author : Jean-Michel BOULCOURT
-//  Module : SMESH
-
-using namespace std;
-#include "SMDS_MeshFace.ixx"
-
-
-//=======================================================================
-//function : SMDS_MeshFace
-//purpose  : 
-//=======================================================================
-
-SMDS_MeshFace::SMDS_MeshFace(const Standard_Integer ID, const Standard_Integer nb) 
-:SMDS_MeshElement(ID,nb,SMDSAbs_Face)
-{
-}
-
-
-//=======================================================================
-//function : NbEdges
-//purpose  : 
-//=======================================================================
-
-Standard_Integer SMDS_MeshFace::NbEdges() const
-{
-  return myNbNodes;
-}
 
-//=======================================================================
-//function : Print
-//purpose  : 
-//=======================================================================
+#include "SMDS_MeshFace.hxx"
 
-void SMDS_MeshFace::Print(Standard_OStream& OS) const
+SMDSAbs_ElementType SMDS_MeshFace::GetType() const
 {
-  OS << "face <" << myID <<" > : ";
-  for (Standard_Integer i=1; i<myNbNodes; ++i)
-    OS << GetConnection(i) << ",";
-  OS << GetConnection(myNbNodes) << ") " << endl;
+       return SMDSAbs_Face;
 }
-
-