-// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <gp_Ax1.hxx>
#include <gp_Vec.hxx>
#include <gp_XY.hxx>
+#include <smIdType.hxx>
#include <list>
#include <string>
{
_EdgeSubMesh(const SMDS_Mesh* mesh, int index=0): SubMesh(mesh,index) {}
//virtual int NbElements() const { return _elements.size()+1; }
- virtual int NbNodes() const { return Max( 0, _uvPtStructVec.size()-2 ); }
+ virtual smIdType NbNodes() const { return Max( 0, _uvPtStructVec.size()-2 ); }
void SetUVPtStructVec(UVPtStructVec& vec) { _uvPtStructVec.swap( vec ); }
UVPtStructVec& GetUVPtStructVec() { return _uvPtStructVec; }
};
bool SetNewLength( const double length );
-#ifdef _DEBUG_
- int _ID;
-#endif
+ int _ID; // debug
};
//--------------------------------------------------------------------------------
/*!
_error->myAlgo = smError->myAlgo;
smError = _error;
}
-#ifdef _DEBUG_
- cout << "_ViscousBuilder2D::error " << text << endl;
-#endif
+
+ if (SALOME::VerbosityActivated())
+ cout << "_ViscousBuilder2D::error " << text << endl;
+
return false;
}
lEdge._ray.SetDirection( lEdge._normal2D );
lEdge._isBlocked = false;
lEdge._length2D = 0;
-#ifdef _DEBUG_
- lEdge._ID = _nbLE++;
-#endif
+
+ if (SALOME::VerbosityActivated())
+ lEdge._ID = _nbLE++;
}
//================================================================================