File indexing completed on 2026-09-21 09:16:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepCheck_Shell_HeaderFile
0018 #define _BRepCheck_Shell_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <Standard_Integer.hxx>
0023 #include <TopoDS_Shape.hxx>
0024 #include <NCollection_List.hxx>
0025 #include <TopTools_ShapeMapHasher.hxx>
0026 #include <NCollection_IndexedDataMap.hxx>
0027 #include <BRepCheck_Result.hxx>
0028 class TopoDS_Shell;
0029 class TopoDS_Shape;
0030
0031 class BRepCheck_Shell : public BRepCheck_Result
0032 {
0033
0034 public:
0035 Standard_EXPORT BRepCheck_Shell(const TopoDS_Shell& S);
0036
0037 Standard_EXPORT void InContext(const TopoDS_Shape& ContextShape) override;
0038
0039 Standard_EXPORT void Minimum() override;
0040
0041 Standard_EXPORT void Blind() override;
0042
0043
0044
0045
0046
0047 Standard_EXPORT BRepCheck_Status Closed(const bool Update = false);
0048
0049
0050
0051
0052
0053 Standard_EXPORT BRepCheck_Status Orientation(const bool Update = false);
0054
0055 Standard_EXPORT void SetUnorientable();
0056
0057 Standard_EXPORT bool IsUnorientable() const;
0058
0059 Standard_EXPORT int NbConnectedSet(NCollection_List<TopoDS_Shape>& theSets);
0060
0061 DEFINE_STANDARD_RTTIEXT(BRepCheck_Shell, BRepCheck_Result)
0062
0063 private:
0064 int myNbori;
0065 bool myCdone;
0066 BRepCheck_Status myCstat;
0067 bool myOdone;
0068 BRepCheck_Status myOstat;
0069 NCollection_IndexedDataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>
0070 myMapEF;
0071 };
0072
0073 #endif