File indexing completed on 2025-01-18 10:05:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepDS_Check_HeaderFile
0018 #define _TopOpeBRepDS_Check_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TopOpeBRepDS_DataMapOfCheckStatus.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <TopOpeBRepDS_ListOfInterference.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TopOpeBRepDS_Kind.hxx>
0028 #include <TopTools_ListOfShape.hxx>
0029 #include <Standard_OStream.hxx>
0030 #include <Standard_CString.hxx>
0031 #include <TopOpeBRepDS_CheckStatus.hxx>
0032 #include <TopAbs_ShapeEnum.hxx>
0033 class TopOpeBRepDS_HDataStructure;
0034
0035
0036 class TopOpeBRepDS_Check;
0037 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_Check, Standard_Transient)
0038
0039
0040 class TopOpeBRepDS_Check : public Standard_Transient
0041 {
0042
0043 public:
0044
0045
0046 Standard_EXPORT TopOpeBRepDS_Check();
0047
0048 Standard_EXPORT TopOpeBRepDS_Check(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
0049
0050
0051 Standard_EXPORT Standard_Boolean ChkIntg();
0052
0053
0054
0055 Standard_EXPORT Standard_Boolean ChkIntgInterf (const TopOpeBRepDS_ListOfInterference& LI);
0056
0057
0058
0059
0060 Standard_EXPORT Standard_Boolean CheckDS (const Standard_Integer i, const TopOpeBRepDS_Kind K);
0061
0062
0063 Standard_EXPORT Standard_Boolean ChkIntgSamDom();
0064
0065
0066
0067
0068 Standard_EXPORT Standard_Boolean CheckShapes (const TopTools_ListOfShape& LS) const;
0069
0070
0071
0072
0073
0074 Standard_EXPORT Standard_Boolean OneVertexOnPnt();
0075
0076 Standard_EXPORT const Handle(TopOpeBRepDS_HDataStructure)& HDS() const;
0077
0078 Standard_EXPORT Handle(TopOpeBRepDS_HDataStructure)& ChangeHDS();
0079
0080 Standard_EXPORT Standard_OStream& PrintIntg (Standard_OStream& S);
0081
0082
0083 Standard_EXPORT Standard_OStream& Print (const TopOpeBRepDS_CheckStatus stat, Standard_OStream& S);
0084
0085
0086 Standard_EXPORT Standard_OStream& PrintShape (const TopAbs_ShapeEnum SE, Standard_OStream& S);
0087
0088
0089 Standard_EXPORT Standard_OStream& PrintShape (const Standard_Integer index, Standard_OStream& S);
0090
0091
0092
0093
0094 DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_Check,Standard_Transient)
0095
0096 protected:
0097
0098
0099
0100
0101 private:
0102
0103
0104 Standard_EXPORT Standard_OStream& PrintMap (TopOpeBRepDS_DataMapOfCheckStatus& MapStat, const Standard_CString eltstr, Standard_OStream& S);
0105
0106 Standard_EXPORT Standard_OStream& PrintElts (TopOpeBRepDS_DataMapOfCheckStatus& MapStat, const TopOpeBRepDS_CheckStatus Stat, Standard_Boolean& b, Standard_OStream& S);
0107
0108 Handle(TopOpeBRepDS_HDataStructure) myHDS;
0109 TopOpeBRepDS_DataMapOfCheckStatus myMapSurfaceStatus;
0110 TopOpeBRepDS_DataMapOfCheckStatus myMapCurveStatus;
0111 TopOpeBRepDS_DataMapOfCheckStatus myMapPointStatus;
0112 TopOpeBRepDS_DataMapOfCheckStatus myMapShapeStatus;
0113
0114
0115 };
0116
0117
0118
0119
0120
0121
0122
0123 #endif