// 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 _TopOpeBRepBuild_SolidBuilder_HeaderFile #define _TopOpeBRepBuild_SolidBuilder_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TopOpeBRepBuild_LoopSet_HeaderFile #include #endif #ifndef _TopOpeBRepBuild_BlockIterator_HeaderFile #include #endif #ifndef _TopOpeBRepBuild_BlockBuilder_HeaderFile #include #endif #ifndef _TopOpeBRepBuild_SolidAreaBuilder_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TopOpeBRepBuild_ShellFaceSet; class TopoDS_Shape; class TopOpeBRepBuild_ShapeSet; class TopOpeBRepBuild_SolidBuilder { 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); } Standard_EXPORT TopOpeBRepBuild_SolidBuilder(); //! Create a SolidBuilder to build the areas on
//! the shapes (shells, blocks of faces) described by .
Standard_EXPORT TopOpeBRepBuild_SolidBuilder(TopOpeBRepBuild_ShellFaceSet& FS,const Standard_Boolean ForceClass = Standard_False); Standard_EXPORT void InitSolidBuilder(TopOpeBRepBuild_ShellFaceSet& FS,const Standard_Boolean ForceClass) ; Standard_EXPORT Standard_Integer InitSolid() ; Standard_EXPORT Standard_Boolean MoreSolid() const; Standard_EXPORT void NextSolid() ; Standard_EXPORT Standard_Integer InitShell() ; Standard_EXPORT Standard_Boolean MoreShell() const; Standard_EXPORT void NextShell() ; Standard_EXPORT Standard_Boolean IsOldShell() const; //! Returns current shell
//! This shell may be :
//! * an old shell OldShell(), which has not been reconstructed;
//! * a new shell made of faces described by ...NewFace() methods.
Standard_EXPORT const TopoDS_Shape& OldShell() const; Standard_EXPORT Standard_Integer InitFace() ; Standard_EXPORT Standard_Boolean MoreFace() const; Standard_EXPORT void NextFace() ; //! Returns current new face of current new shell.
Standard_EXPORT const TopoDS_Shape& Face() const; protected: private: Standard_EXPORT void MakeLoops(TopOpeBRepBuild_ShapeSet& SS) ; TopOpeBRepBuild_LoopSet myLoopSet; TopOpeBRepBuild_BlockIterator myBlockIterator; TopOpeBRepBuild_BlockBuilder myBlockBuilder; TopOpeBRepBuild_SolidAreaBuilder mySolidAreaBuilder; }; // other Inline functions and methods (like "C++: function call" methods) #endif