Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/smesh.git] / src / SMDS / SMDS_MeshVolume.cxx
index 20e40f3b60bca9eeab9fa8ca6b692b1918559331..7300675e288aebe7e4163f9e0c38ca0c0d9196a4 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  Author : Jean-Michel BOULCOURT
 //  Module : SMESH
 
-using namespace std;
-#include "SMDS_MeshVolume.ixx"
-#include <Standard_ConstructionError.hxx>
-
-//=======================================================================
-//function : SMDS_MeshVolume
-//purpose  : 
-//=======================================================================
-
-SMDS_MeshVolume::SMDS_MeshVolume(const Standard_Integer ID, const Standard_Integer nb) 
-:SMDS_MeshElement(ID,nb,SMDSAbs_Volume)
-{
-}
-
+#include "SMDS_MeshVolume.hxx"
 //=======================================================================
 //function : Print
 //purpose  : 
 //=======================================================================
 
-void SMDS_MeshVolume::Print(Standard_OStream& OS) const
+SMDSAbs_ElementType SMDS_MeshVolume::GetType() const
 {
-  OS << "volume <" << myID <<"> : " ;
-  for (Standard_Integer i=1; i<myNbNodes; ++i)
-    OS << GetConnection(i) << ",";
-  OS << GetConnection(myNbNodes) << ") " << endl;
+       return SMDSAbs_Volume;
 }
 
-