File indexing completed on 2026-09-20 09:19:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepBuild_SolidBuilder_HeaderFile
0018 #define _TopOpeBRepBuild_SolidBuilder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopOpeBRepBuild_LoopSet.hxx>
0024 #include <TopOpeBRepBuild_BlockIterator.hxx>
0025 #include <TopOpeBRepBuild_BlockBuilder.hxx>
0026 #include <TopOpeBRepBuild_SolidAreaBuilder.hxx>
0027 #include <Standard_Integer.hxx>
0028 class TopOpeBRepBuild_ShellFaceSet;
0029 class TopoDS_Shape;
0030 class TopOpeBRepBuild_ShapeSet;
0031
0032 class TopOpeBRepBuild_SolidBuilder
0033 {
0034 public:
0035 DEFINE_STANDARD_ALLOC
0036
0037 Standard_EXPORT TopOpeBRepBuild_SolidBuilder();
0038
0039
0040
0041 Standard_EXPORT TopOpeBRepBuild_SolidBuilder(TopOpeBRepBuild_ShellFaceSet& FS,
0042 const bool ForceClass = false);
0043
0044 Standard_EXPORT void InitSolidBuilder(TopOpeBRepBuild_ShellFaceSet& FS, const bool ForceClass);
0045
0046 Standard_EXPORT int InitSolid();
0047
0048 Standard_EXPORT bool MoreSolid() const;
0049
0050 Standard_EXPORT void NextSolid();
0051
0052 Standard_EXPORT int InitShell();
0053
0054 Standard_EXPORT bool MoreShell() const;
0055
0056 Standard_EXPORT void NextShell();
0057
0058 Standard_EXPORT bool IsOldShell() const;
0059
0060
0061
0062
0063
0064 Standard_EXPORT const TopoDS_Shape& OldShell() const;
0065
0066 Standard_EXPORT int InitFace();
0067
0068 Standard_EXPORT bool MoreFace() const;
0069
0070 Standard_EXPORT void NextFace();
0071
0072
0073 Standard_EXPORT const TopoDS_Shape& Face() const;
0074
0075 private:
0076 Standard_EXPORT void MakeLoops(TopOpeBRepBuild_ShapeSet& SS);
0077
0078 TopOpeBRepBuild_LoopSet myLoopSet;
0079 TopOpeBRepBuild_BlockIterator myBlockIterator;
0080 TopOpeBRepBuild_BlockBuilder myBlockBuilder;
0081 TopOpeBRepBuild_SolidAreaBuilder mySolidAreaBuilder;
0082 };
0083
0084 #endif