2 // File: SMDS_MeshFace.cxx
3 // Created: Wed Jan 23 17:02:27 2002
4 // Author: Jean-Michel BOULCOURT
5 // <jmb@coulox.paris1.matra-dtv.fr>
8 #include "SMDS_MeshFace.ixx"
11 //=======================================================================
12 //function : SMDS_MeshFace
14 //=======================================================================
16 SMDS_MeshFace::SMDS_MeshFace(const Standard_Integer ID, const Standard_Integer nb)
17 :SMDS_MeshElement(ID,nb,SMDSAbs_Face)
22 //=======================================================================
25 //=======================================================================
27 Standard_Integer SMDS_MeshFace::NbEdges() const
32 //=======================================================================
35 //=======================================================================
37 void SMDS_MeshFace::Print(Standard_OStream& OS) const
39 OS << "face <" << myID <<" > : ";
40 for (Standard_Integer i=1; i<myNbNodes; ++i)
41 OS << GetConnection(i) << ",";
42 OS << GetConnection(myNbNodes) << ") " << endl;