#include <ShHealOper_FillHoles.hxx>
#include <ShHealOper_Sewing.hxx>
#include <ShHealOper_EdgeDivide.hxx>
+#include <ShHealOper_ChangeOrientation.hxx>
#include <TopoDS.hxx>
#include <TopExp.hxx>
case DIVIDE_EDGE:
AddPointOnEdge(&HI, anOriginalShape, aShape);
break;
+ case CHANGE_ORIENTATION:
+ ChangeOrientation(&HI, anOriginalShape, aShape);
+ break;
default:
return 0;
}
}
+//=======================================================================
+//function : ChangeOrientation
+//purpose :
+//=======================================================================
+Standard_Boolean GEOMImpl_HealingDriver::ChangeOrientation (GEOMImpl_IHealing* theHI,
+ const TopoDS_Shape& theOriginalShape,
+ TopoDS_Shape& theOutShape) const
+{
+ ShHealOper_ChangeOrientation aHealer (theOriginalShape);
+
+ Standard_Boolean aResult = aHealer.Perform();
+
+ if (aResult)
+ theOutShape = aHealer.GetResultShape();
+ else
+ raiseNotDoneExeption( aHealer.GetErrorStatus() );
+
+ return aResult;
+}
+
+
//=======================================================================
//function : GEOMImpl_HealingDriver_Type_
//purpose :