#include <Geom_Plane.hxx>
#include <BRepBuilderAPI_FindPlane.hxx>
-#define DEB_SPLIT_TO_ZONES 1
-#define DEB_SPLIT_TO_ZONES_CHECK_PARTITION 1
+//#define DEB_SPLIT_TO_ZONES 1
+//#define DEB_SPLIT_TO_ZONES_CHECK_PARTITION 1
#if (defined (DEB_SPLIT_TO_ZONES) || defined(DEB_SPLIT_TO_ZONES_CHECK_PARTITION))
#include <BRepTools.hxx>
static TCollection_AsciiString fileNameBefore("BeforeTranslation");
return Standard_False;
}
//======================================================================================
+
+void HYDROData_SplitToZonesTool::SetFileNames(const QString& theNameBefore, const QString& theNameAfter)
+{
+#ifdef DEB_SPLIT_TO_ZONES_CHECK_PARTITION
+ if(!theNameBefore.isNull() && !theNameBefore.isEmpty())
+ {
+ TCollection_AsciiString aName (theNameBefore.toStdString().data());
+ fileNameBefore = aName;
+ }
+ if(!theNameAfter.isNull() && !theNameAfter.isEmpty())
+ {
+ TCollection_AsciiString aName (theNameAfter.toStdString().data());
+ HYDROData_Transform::SetFileName (aName);
+ }
+#endif
+}
+//======================================================================================
Standard_Integer HYDROData_SplitToZonesTool::SplitFaces(const TopoDS_Compound& theComp,
HYDROData_Transform& theTool)
{