Salome HOME
PR: debug SMDS memimp
[modules/smesh.git] / src / SMDS / SMDS_MeshElement.cxx
index 5f16698859141299412367615a6251e3a8b85b2c..6f5b5eb54b8844b645a2924c0b17449587932c89 100644 (file)
 
 using namespace std;
 
-SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID)
+SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID), myMeshId(-1), myShapeId(-1), myIdInShape(-1)
 {
 }
 
-SMDS_MeshElement::SMDS_MeshElement(int id, UShortType meshId, ShortType shapeId):
-  myID(id), myMeshId(meshId), myShapeId(shapeId)
+SMDS_MeshElement::SMDS_MeshElement(int id, ShortType meshId, ShortType shapeId):
+  myID(id), myMeshId(meshId), myShapeId(shapeId), myIdInShape(-1)
 {
 }
 
@@ -243,8 +243,3 @@ int SMDS_MeshElement::GetNodeIndex( const SMDS_MeshNode* node ) const
       return i;
   return -1;
 }
-
-SMDS_MeshCell::SMDS_MeshCell()
-{
-    myVtkID = -1;
-};
\ No newline at end of file