File indexing completed on 2026-09-19 09:29:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepDS_ShapeWithState_HeaderFile
0018 #define _TopOpeBRepDS_ShapeWithState_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Shape.hxx>
0025 #include <NCollection_List.hxx>
0026 #include <TopAbs_State.hxx>
0027 #include <Standard_Boolean.hxx>
0028 class TopoDS_Shape;
0029
0030 class TopOpeBRepDS_ShapeWithState
0031 {
0032 public:
0033 DEFINE_STANDARD_ALLOC
0034
0035 Standard_EXPORT TopOpeBRepDS_ShapeWithState();
0036
0037 Standard_EXPORT const NCollection_List<TopoDS_Shape>& Part(const TopAbs_State aState) const;
0038
0039 Standard_EXPORT void AddPart(const TopoDS_Shape& aShape, const TopAbs_State aState);
0040
0041 Standard_EXPORT void AddParts(const NCollection_List<TopoDS_Shape>& aListOfShape,
0042 const TopAbs_State aState);
0043
0044 Standard_EXPORT void SetState(const TopAbs_State aState);
0045
0046 Standard_EXPORT TopAbs_State State() const;
0047
0048 Standard_EXPORT void SetIsSplitted(const bool anIsSplitted);
0049
0050 Standard_EXPORT bool IsSplitted() const;
0051
0052 private:
0053 NCollection_List<TopoDS_Shape> myPartIn;
0054 NCollection_List<TopoDS_Shape> myPartOut;
0055 NCollection_List<TopoDS_Shape> myPartOn;
0056 TopAbs_State myState;
0057 bool myIsSplitted;
0058 };
0059
0060 #endif