//! touching or coinciding cases;
//! - *Progress indicator* - provides interface to track the progress of
//! operation and stop the operation by user's break.
+//! - *Using the Oriented Bounding Boxes* - Allows using the Oriented Bounding Boxes of the shapes
+//! for filtering the intersections.
//!
class BOPAlgo_Options
{
//! Set the Progress Indicator object.
Standard_EXPORT void SetProgressIndicator(const Handle(Message_ProgressIndicator)& theObj);
+public:
+ //!@name Usage of Oriented Bounding boxes
+
+ //! Enables/Disables the usage of OBB
+ void SetUseOBB(const Standard_Boolean theUseOBB)
+ {
+ myUseOBB = theUseOBB;
+ }
+
+ //! Returns the flag defining usage of OBB
+ Standard_Boolean UseOBB() const
+ {
+ return myUseOBB;
+ }
+
protected:
//! Breaks the execution if the break signal
Standard_Boolean myRunParallel;
Standard_Real myFuzzyValue;
Handle(Message_ProgressIndicator) myProgressIndicator;
+ Standard_Boolean myUseOBB;
};