myFuzzyValue = Max(theFuzz, Precision::Confusion());
}
-Standard_EXPORT Standard_Boolean BOPAlgo_Options::UserBreak(const Message_ProgressScope& aPS)
+Standard_Boolean BOPAlgo_Options::UserBreak(const Message_ProgressScope& thePS)
{
- if (aPS.UserBreak())
+ if (thePS.UserBreak())
{
AddError(new BOPAlgo_AlertUserBreak);
return Standard_True;
}
- else
- {
- return Standard_False;
- }
+ return Standard_False;
}
protected:
- //! Return true if the break signal and add error to myReport
- Standard_EXPORT Standard_Boolean UserBreak(const Message_ProgressScope& aPS);
+ //! Adds error to the report if the break signal was caught. Returns true in this case, false otherwise.
+ Standard_EXPORT Standard_Boolean UserBreak(const Message_ProgressScope& thePS);
protected: