void SMESH_Pattern::DumpPoints() const
{
-#ifdef _DEBUG_
- vector< TPoint >::const_iterator pVecIt = myPoints.begin();
- for ( int i = 0; pVecIt != myPoints.end(); pVecIt++, i++ )
- MESSAGE_ADD ( std::endl << i << ": " << *pVecIt );
-#endif
+ if (SALOME::VerbosityActivated())
+ {
+ vector< TPoint >::const_iterator pVecIt = myPoints.begin();
+ for ( int i = 0; pVecIt != myPoints.end(); pVecIt++, i++ )
+ MESSAGE_ADD ( std::endl << i << ": " << *pVecIt );
+ }
}
//=======================================================================
SMESH_Pattern::TPoint::TPoint()
{
-#ifdef _DEBUG_
- myInitXYZ.SetCoord(7,7,7);
- myInitUV.SetCoord(7.,7.);
- myInitU = 7;
- myXYZ.SetCoord(7,7,7);
- myUV.SetCoord(7.,7.);
- myU = 7;
-#endif
+ if (SALOME::VerbosityActivated())
+ {
+ myInitXYZ.SetCoord(7,7,7);
+ myInitUV.SetCoord(7.,7.);
+ myInitU = 7;
+ myXYZ.SetCoord(7,7,7);
+ myUV.SetCoord(7.,7.);
+ myU = 7;
+ }
}
//=======================================================================