File indexing completed on 2026-09-24 09:17:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopBas_TestInterference_HeaderFile
0018 #define _TopBas_TestInterference_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Real.hxx>
0025 #include <TopAbs_Orientation.hxx>
0026
0027 class TopBas_TestInterference
0028 {
0029 public:
0030 DEFINE_STANDARD_ALLOC
0031
0032 Standard_EXPORT TopBas_TestInterference();
0033
0034 Standard_EXPORT TopBas_TestInterference(const double& Inters,
0035 const int& Bound,
0036 const TopAbs_Orientation Orient,
0037 const TopAbs_Orientation Trans,
0038 const TopAbs_Orientation BTrans);
0039
0040 void Intersection(const double& I);
0041
0042 void Boundary(const int& B);
0043
0044 void Orientation(const TopAbs_Orientation O);
0045
0046 void Transition(const TopAbs_Orientation Tr);
0047
0048 void BoundaryTransition(const TopAbs_Orientation BTr);
0049
0050 const double& Intersection() const;
0051
0052 double& ChangeIntersection();
0053
0054 const int& Boundary() const;
0055
0056 int& ChangeBoundary();
0057
0058 TopAbs_Orientation Orientation() const;
0059
0060 TopAbs_Orientation Transition() const;
0061
0062 TopAbs_Orientation BoundaryTransition() const;
0063
0064 private:
0065 double myIntersection;
0066 int myBoundary;
0067 TopAbs_Orientation myOrientation;
0068 TopAbs_Orientation myTransition;
0069 TopAbs_Orientation myBTransition;
0070 };
0071
0072
0073
0074
0075
0076 inline void TopBas_TestInterference::Intersection(const double& I)
0077 {
0078 myIntersection = I;
0079 }
0080
0081
0082
0083 inline void TopBas_TestInterference::Boundary(const int& B)
0084 {
0085 myBoundary = B;
0086 }
0087
0088
0089
0090 inline void TopBas_TestInterference::Orientation(const TopAbs_Orientation Or)
0091 {
0092 myOrientation = Or;
0093 }
0094
0095
0096
0097 inline void TopBas_TestInterference::Transition(const TopAbs_Orientation Or)
0098 {
0099 myTransition = Or;
0100 }
0101
0102
0103
0104 inline void TopBas_TestInterference::BoundaryTransition(const TopAbs_Orientation Or)
0105 {
0106 myBTransition = Or;
0107 }
0108
0109
0110
0111 inline const double& TopBas_TestInterference::Intersection() const
0112 {
0113 return myIntersection;
0114 }
0115
0116
0117
0118 inline double& TopBas_TestInterference::ChangeIntersection()
0119 {
0120 return myIntersection;
0121 }
0122
0123
0124
0125 inline const int& TopBas_TestInterference::Boundary() const
0126 {
0127 return myBoundary;
0128 }
0129
0130
0131
0132 inline int& TopBas_TestInterference::ChangeBoundary()
0133 {
0134 return myBoundary;
0135 }
0136
0137
0138
0139 inline TopAbs_Orientation TopBas_TestInterference::Orientation() const
0140 {
0141 return myOrientation;
0142 }
0143
0144
0145
0146 inline TopAbs_Orientation TopBas_TestInterference::Transition() const
0147 {
0148 return myTransition;
0149 }
0150
0151
0152
0153 inline TopAbs_Orientation TopBas_TestInterference::BoundaryTransition() const
0154 {
0155 return myBTransition;
0156 }
0157
0158 #endif