File indexing completed on 2025-01-18 10:05:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepBuild_AreaBuilder_HeaderFile
0018 #define _TopOpeBRepBuild_AreaBuilder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopOpeBRepBuild_ListOfListOfLoop.hxx>
0025 #include <TopOpeBRepBuild_ListIteratorOfListOfListOfLoop.hxx>
0026 #include <Standard_Boolean.hxx>
0027 #include <TopAbs_State.hxx>
0028 #include <TopOpeBRepBuild_ListOfLoop.hxx>
0029 #include <TopOpeBRepBuild_LoopEnum.hxx>
0030 #include <Standard_Integer.hxx>
0031 class TopOpeBRepBuild_LoopSet;
0032 class TopOpeBRepBuild_LoopClassifier;
0033 class TopOpeBRepBuild_Loop;
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054 class TopOpeBRepBuild_AreaBuilder
0055 {
0056 public:
0057
0058 DEFINE_STANDARD_ALLOC
0059
0060
0061 Standard_EXPORT TopOpeBRepBuild_AreaBuilder();
0062
0063
0064
0065 Standard_EXPORT TopOpeBRepBuild_AreaBuilder(TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
0066
0067 Standard_EXPORT virtual ~TopOpeBRepBuild_AreaBuilder();
0068
0069
0070
0071 Standard_EXPORT virtual void InitAreaBuilder (TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
0072
0073
0074 Standard_EXPORT Standard_Integer InitArea();
0075
0076 Standard_EXPORT Standard_Boolean MoreArea() const;
0077
0078 Standard_EXPORT void NextArea();
0079
0080
0081 Standard_EXPORT Standard_Integer InitLoop();
0082
0083 Standard_EXPORT Standard_Boolean MoreLoop() const;
0084
0085 Standard_EXPORT void NextLoop();
0086
0087
0088 Standard_EXPORT const Handle(TopOpeBRepBuild_Loop)& Loop() const;
0089
0090 Standard_EXPORT virtual void ADD_Loop_TO_LISTOFLoop (const Handle(TopOpeBRepBuild_Loop)& L, TopOpeBRepBuild_ListOfLoop& LOL, const Standard_Address s = NULL) const;
0091
0092 Standard_EXPORT virtual void REM_Loop_FROM_LISTOFLoop (TopOpeBRepBuild_ListIteratorOfListOfLoop& ITLOL, TopOpeBRepBuild_ListOfLoop& LOL, const Standard_Address s = NULL) const;
0093
0094 Standard_EXPORT virtual void ADD_LISTOFLoop_TO_LISTOFLoop (TopOpeBRepBuild_ListOfLoop& LOL1, TopOpeBRepBuild_ListOfLoop& LOL2, const Standard_Address s = NULL, const Standard_Address s1 = NULL, const Standard_Address s2 = NULL) const;
0095
0096
0097
0098
0099 protected:
0100
0101
0102 Standard_EXPORT TopAbs_State CompareLoopWithListOfLoop (TopOpeBRepBuild_LoopClassifier& LC, const Handle(TopOpeBRepBuild_Loop)& L, const TopOpeBRepBuild_ListOfLoop& LOL, const TopOpeBRepBuild_LoopEnum le) const;
0103
0104 Standard_EXPORT void Atomize (TopAbs_State& state, const TopAbs_State newstate) const;
0105
0106
0107 TopOpeBRepBuild_ListOfListOfLoop myArea;
0108 TopOpeBRepBuild_ListIteratorOfListOfListOfLoop myAreaIterator;
0109 TopOpeBRepBuild_ListIteratorOfListOfLoop myLoopIterator;
0110 Standard_Boolean myUNKNOWNRaise;
0111
0112
0113 private:
0114
0115
0116
0117
0118
0119 };
0120
0121
0122
0123
0124
0125
0126
0127 #endif