// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <SWDRAW_ShapeProcess.ixx>
-#include <SWDRAW.hxx>
#include <DBRep.hxx>
#include <Draw_Interpretor.hxx>
-#include <TopoDS_Shape.hxx>
-
#include <ShapeProcess.hxx>
-#include <ShapeProcess_ShapeContext.hxx>
#include <ShapeProcess_OperLibrary.hxx>
+#include <ShapeProcess_ShapeContext.hxx>
+#include <SWDRAW.hxx>
+#include <SWDRAW_ShapeProcess.hxx>
+#include <TopoDS_Shape.hxx>
//=======================================================================
//function : ApplySequence
//purpose :
//=======================================================================
-
static Standard_Integer ApplySequence(Draw_Interpretor& di,
Standard_Integer argc, const char** argv)
{
- if (argc < 4) { di<<"Specify result, shape, resource name and prefix (optional)"<<"\n"; return 1 /* Error */; }
+ if (argc < 4) { di<<"Specify result, shape, resource name and prefix (optional)\n"; return 1 /* Error */; }
Standard_CString arg1 = argv[1];
Standard_CString arg2 = argv[2];
Standard_CString arg3 = argv[3];
TopoDS_Shape result = context->Result();
// seq.PrintPreparationResult ();
if ( result.IsNull() ) {
- di << "No result" << "\n";
+ di << "No result\n";
}
else if ( result == Shape ) {
- di << "Shape not modified" << "\n";
+ di << "Shape not modified\n";
}
DBRep::Set (arg1,result);
return 0;