// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _BOP_SFSCorrector_HeaderFile #define _BOP_SFSCorrector_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BOP_PShellFaceSet_HeaderFile #include #endif #ifndef _BOP_ShellFaceSet_HeaderFile #include #endif #ifndef _BOP_ListOfConnexityBlock_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class BOP_ShellFaceSet; //! the algorithm is to change the Shell Faces Set (SFS)contents.
//! The NewSFS will contain only shells
//! instead of shells and faces.
//!
class BOP_SFSCorrector { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Empty constructor;
Standard_EXPORT BOP_SFSCorrector(); //! Modifier
Standard_EXPORT void SetSFS(const BOP_ShellFaceSet& aSFS) ; //! Performs the algorithm of two steps
//! 1. Make conexity blocks ( DoConnexityBlocks() )
//! 2. Make corrections ( DoCorrections() )
Standard_EXPORT void Do() ; //! Selector
Standard_EXPORT Standard_Boolean IsDone() const; //! Selector
//! - 1 - Nothing is done because only constructor has been called
Standard_EXPORT Standard_Integer ErrorStatus() const; //! Selector
Standard_EXPORT BOP_ShellFaceSet& SFS() ; //! Selector
//! Returns the resulting SFS
Standard_EXPORT BOP_ShellFaceSet& NewSFS() ; protected: private: //! Internal Purpose
Standard_EXPORT void DoConnexityBlocks() ; //! Internal Purpose
Standard_EXPORT void DoCorrections() ; BOP_PShellFaceSet mySFS; BOP_ShellFaceSet myNewSFS; BOP_ListOfConnexityBlock myConnexityBlocks; Standard_Boolean myIsDone; Standard_Integer myErrorStatus; }; // other Inline functions and methods (like "C++: function call" methods) #endif