#include "HYDROData_Polyline3D.h"
#include "HYDROData_Profile.h"
#include "HYDROData_PolylineXY.h"
+#include "HYDROData_Projection.h"
#include <TopoDS.hxx>
#include <TopoDS_Wire.hxx>
#include <BRepOffsetAPI_MakePipe.hxx>
#include <BRepCheck_Analyzer.hxx>
#include <TopoDS_Vertex.hxx>
+#include <TopoDS_Face.hxx>
#include <TopExp.hxx>
//#define DEB_CHANNEL 1
#ifdef DEB_CHANNEL
}
// build 2d shape -- temporary solution!!
+ TopoDS_Face aProj = HYDROData_Projection::MakeProjection( GetShape3D() );
+ SetTopShape( aProj );
+
+ /*
//aMkSweep.Generated() - it seems doesn't work
//TopoDS_Vertex aV1,aV2;
//TopExp::Vertices (aProfileWire, aV1, aV2);
BRepTools::Write(aChannel2d, "Chan2dNV.brep");
}
#endif
- }
+ }*/
}
QColor HYDROData_Channel::DefaultFillingColor()