#include <TopoDS_AlertWithShape.hxx>
//! Boolean operation was stoped by user
-DEFINE_SIMPLE_ALERT(BOPAlgo_AlertBOPUserBreak)
+DEFINE_SIMPLE_ALERT(BOPAlgo_AlertUserBreak)
//! Boolean operation of given type is not allowed on the given inputs
DEFINE_SIMPLE_ALERT(BOPAlgo_AlertBOPNotAllowed)
//
// 3. Test self-interference
if(mySelfInterMode) {
- TestSelfInterferences(aPS.Next());
+ TestSelfInterferences();
if (UserBreak(aPS))
{
return;
//function : TestSelfInterferences
//purpose :
//=======================================================================
-void BOPAlgo_ArgumentAnalyzer::TestSelfInterferences(const Message_ProgressRange& theRange)
+void BOPAlgo_ArgumentAnalyzer::TestSelfInterferences()
{
Standard_Integer ii;
//
- Message_ProgressScope aPS(theRange, NULL, 2);
for(ii = 0; ii < 2; ii++) {
const TopoDS_Shape& aS = (ii == 0) ? myShape1 : myShape2;
if(aS.IsNull()) {
aChecker.SetRunParallel(myRunParallel);
aChecker.SetFuzzyValue(myFuzzyValue);
//
- aChecker.Perform(aPS.Next());
- if (UserBreak(aPS))
- {
- return;
- }
+ aChecker.Perform();
+
Standard_Boolean hasError = aChecker.HasErrors();
//
const BOPDS_DS& aDS=*(aChecker.PDS());
Standard_EXPORT void TestTypes();
- Standard_EXPORT void TestSelfInterferences(const Message_ProgressRange& theRange);
+ Standard_EXPORT void TestSelfInterferences();
Standard_EXPORT void TestSmallEdge();