#include <TopTools_IndexedMapOfShape.hxx>
#include <BRepLib_MakeWire.hxx>
-#define _DEVDEBUG_
+//#define _DEVDEBUG_
#include "HYDRO_trace.hxx"
#include <BRepTools.hxx>
#include <sstream>
for (int aPSI = 0; aPSI < aPSCount; ++aPSI)
{
HYDROData_TopoCurve aCurve;
- //DEBTRACE("Initialize curve " << aPSI);
+ DEBTRACE("Initialize curve " << aPSI);
if (!aCurve.Initialize(aCurves[aPSI]))
{
continue;
aSplitCurves.end();
for (int iw=0; aCIt != aLastCIt; ++aCIt, iw++)
{
- /*std::stringstream brepName;
+ std::stringstream brepName;
brepName << "theSplitWire_";
brepName << iw;
brepName << ".brep";
- BRepTools::Write(aCIt->Wire() , brepName.str().c_str() );*/
+ BRepTools::Write(aCIt->Wire() , brepName.str().c_str() );
aResult.push_back(aCIt->Wire());
}
}
const QColor& theColor = theOldPolyline->GetWireColor();
int n = theShapes.size();
- //DEBTRACE("theShapes.size() "<< n);
+ DEBTRACE("theShapes.size() "<< n);
int anIndex = 1;
for( int i=0; i<n; i++ )
{