File indexing completed on 2025-01-18 10:04:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _IntTools_Root_HeaderFile
0017 #define _IntTools_Root_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <Standard_Real.hxx>
0024 #include <TopAbs_State.hxx>
0025 #include <Standard_Boolean.hxx>
0026
0027
0028
0029
0030
0031 class IntTools_Root
0032 {
0033 public:
0034
0035 DEFINE_STANDARD_ALLOC
0036
0037
0038
0039
0040 Standard_EXPORT IntTools_Root();
0041
0042
0043
0044
0045 Standard_EXPORT IntTools_Root(const Standard_Real aRoot, const Standard_Integer aType);
0046
0047
0048
0049 Standard_EXPORT void SetRoot (const Standard_Real aRoot);
0050
0051
0052
0053 Standard_EXPORT void SetType (const Standard_Integer aType);
0054
0055
0056
0057
0058 Standard_EXPORT void SetStateBefore (const TopAbs_State aState);
0059
0060
0061
0062
0063 Standard_EXPORT void SetStateAfter (const TopAbs_State aState);
0064
0065
0066
0067 Standard_EXPORT void SetLayerHeight (const Standard_Real aHeight);
0068
0069
0070
0071
0072
0073 Standard_EXPORT void SetInterval (const Standard_Real t1, const Standard_Real t2, const Standard_Real f1, const Standard_Real f2);
0074
0075
0076
0077 Standard_EXPORT Standard_Real Root() const;
0078
0079
0080
0081
0082
0083
0084
0085 Standard_EXPORT Standard_Integer Type() const;
0086
0087
0088
0089 Standard_EXPORT TopAbs_State StateBefore() const;
0090
0091
0092
0093 Standard_EXPORT TopAbs_State StateAfter() const;
0094
0095
0096
0097 Standard_EXPORT Standard_Real LayerHeight() const;
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107 Standard_EXPORT Standard_Boolean IsValid() const;
0108
0109
0110
0111
0112
0113 Standard_EXPORT void Interval (Standard_Real& t1, Standard_Real& t2, Standard_Real& f1, Standard_Real& f2) const;
0114
0115
0116
0117
0118 protected:
0119
0120
0121
0122
0123
0124 private:
0125
0126
0127
0128 Standard_Real myRoot;
0129 Standard_Integer myType;
0130 Standard_Real myLayerHeight;
0131 TopAbs_State myStateBefore;
0132 TopAbs_State myStateAfter;
0133 Standard_Real myt1;
0134 Standard_Real myt2;
0135 Standard_Real myf1;
0136 Standard_Real myf2;
0137
0138
0139 };
0140
0141
0142
0143
0144
0145
0146
0147 #endif