if(aProfileWire.IsNull())
return;
+#ifdef DEB_CHANNEL
BRepTools::Write( aPathWire, "guideline.brep" );
BRepTools::Write( aProfileWire, "profile.brep" );
+#endif
HYDROData_Canal3dAnd2d aChannelConstructor( aProfileWire, aPathWire );
aChannelConstructor.Create3dPresentation();
TopoDS_Wire anInlet = aChannelConstructor.GetInlet();
TopoDS_Wire anOutlet = aChannelConstructor.GetOutlet();
+#ifdef DEB_CHANNEL
+ HYDROData_ShapesTool::DumpShapeSubShapes( std::cout, "Top shape edges:", GetTopShape(), TopAbs_EDGE );
+ HYDROData_ShapesTool::DumpShapeSubShapes( std::cout, "Left bank edges:", aLeftBank, TopAbs_EDGE );
+ HYDROData_ShapesTool::DumpShapeSubShapes( std::cout, "Right bank edges:", aRightBank, TopAbs_EDGE );
+ HYDROData_ShapesTool::DumpShapeSubShapes( std::cout, "Inlet edges:", anInlet, TopAbs_EDGE );
+ HYDROData_ShapesTool::DumpShapeSubShapes( std::cout, "Outlet edges:", anOutlet, TopAbs_EDGE );
+#endif
+
TopTools_SequenceOfShape aLeftBankEdges;
HYDROData_ShapesTool::ExploreShapeToShapes( aLeftBank, TopAbs_EDGE, aLeftBankEdges );