File indexing completed on 2025-01-18 10:05:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepDS_Transition_HeaderFile
0018 #define _TopOpeBRepDS_Transition_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopAbs_State.hxx>
0024 #include <TopAbs_ShapeEnum.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TopAbs_Orientation.hxx>
0027
0028
0029 class TopOpeBRepDS_Transition
0030 {
0031 public:
0032
0033 DEFINE_STANDARD_ALLOC
0034
0035
0036 Standard_EXPORT TopOpeBRepDS_Transition();
0037
0038 Standard_EXPORT TopOpeBRepDS_Transition(const TopAbs_State StateBefore, const TopAbs_State StateAfter, const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE, const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE);
0039
0040 Standard_EXPORT TopOpeBRepDS_Transition(const TopAbs_Orientation O);
0041
0042 Standard_EXPORT void Set (const TopAbs_State StateBefore, const TopAbs_State StateAfter, const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE, const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE);
0043
0044 Standard_EXPORT void StateBefore (const TopAbs_State S);
0045
0046 Standard_EXPORT void StateAfter (const TopAbs_State S);
0047
0048 Standard_EXPORT void ShapeBefore (const TopAbs_ShapeEnum SE);
0049
0050 Standard_EXPORT void ShapeAfter (const TopAbs_ShapeEnum SE);
0051
0052 Standard_EXPORT void Before (const TopAbs_State S, const TopAbs_ShapeEnum ShapeBefore = TopAbs_FACE);
0053
0054 Standard_EXPORT void After (const TopAbs_State S, const TopAbs_ShapeEnum ShapeAfter = TopAbs_FACE);
0055
0056 Standard_EXPORT void Index (const Standard_Integer I);
0057
0058 Standard_EXPORT void IndexBefore (const Standard_Integer I);
0059
0060 Standard_EXPORT void IndexAfter (const Standard_Integer I);
0061
0062 Standard_EXPORT TopAbs_State Before() const;
0063
0064 Standard_EXPORT TopAbs_ShapeEnum ONBefore() const;
0065
0066 Standard_EXPORT TopAbs_State After() const;
0067
0068 Standard_EXPORT TopAbs_ShapeEnum ONAfter() const;
0069
0070 Standard_EXPORT TopAbs_ShapeEnum ShapeBefore() const;
0071
0072 Standard_EXPORT TopAbs_ShapeEnum ShapeAfter() const;
0073
0074 Standard_EXPORT Standard_Integer Index() const;
0075
0076 Standard_EXPORT Standard_Integer IndexBefore() const;
0077
0078 Standard_EXPORT Standard_Integer IndexAfter() const;
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088 Standard_EXPORT void Set (const TopAbs_Orientation O);
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100 Standard_EXPORT TopAbs_Orientation Orientation (const TopAbs_State S, const TopAbs_ShapeEnum T = TopAbs_FACE) const;
0101
0102 Standard_EXPORT TopOpeBRepDS_Transition Complement() const;
0103
0104
0105 Standard_EXPORT Standard_Boolean IsUnknown() const;
0106
0107
0108
0109
0110
0111 protected:
0112
0113
0114
0115
0116
0117 private:
0118
0119
0120
0121
0122 Standard_EXPORT TopAbs_Orientation OrientationON (const TopAbs_State S, const TopAbs_ShapeEnum T) const;
0123
0124
0125 TopAbs_State myStateBefore;
0126 TopAbs_State myStateAfter;
0127 TopAbs_ShapeEnum myShapeBefore;
0128 TopAbs_ShapeEnum myShapeAfter;
0129 Standard_Integer myIndexBefore;
0130 Standard_Integer myIndexAfter;
0131
0132
0133 };
0134
0135
0136
0137
0138
0139
0140
0141 #endif