File indexing completed on 2025-01-18 10:03:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HatchGen_IntersectionPoint_HeaderFile
0018 #define _HatchGen_IntersectionPoint_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 #include <TopAbs_State.hxx>
0027 #include <Standard_Boolean.hxx>
0028
0029
0030
0031 class HatchGen_IntersectionPoint
0032 {
0033 public:
0034
0035 DEFINE_STANDARD_ALLOC
0036
0037
0038
0039 Standard_EXPORT void SetIndex (const Standard_Integer Index);
0040
0041
0042 Standard_EXPORT Standard_Integer Index() const;
0043
0044
0045 Standard_EXPORT void SetParameter (const Standard_Real Parameter);
0046
0047
0048 Standard_EXPORT Standard_Real Parameter() const;
0049
0050
0051 Standard_EXPORT void SetPosition (const TopAbs_Orientation Position);
0052
0053
0054 Standard_EXPORT TopAbs_Orientation Position() const;
0055
0056
0057 Standard_EXPORT void SetStateBefore (const TopAbs_State State);
0058
0059
0060 Standard_EXPORT TopAbs_State StateBefore() const;
0061
0062
0063 Standard_EXPORT void SetStateAfter (const TopAbs_State State);
0064
0065
0066 Standard_EXPORT TopAbs_State StateAfter() const;
0067
0068
0069 Standard_EXPORT void SetSegmentBeginning (const Standard_Boolean State = Standard_True);
0070
0071
0072 Standard_EXPORT Standard_Boolean SegmentBeginning() const;
0073
0074
0075 Standard_EXPORT void SetSegmentEnd (const Standard_Boolean State = Standard_True);
0076
0077
0078 Standard_EXPORT Standard_Boolean SegmentEnd() const;
0079
0080
0081 Standard_EXPORT virtual void Dump (const Standard_Integer Index = 0) const = 0;
0082
0083 protected:
0084
0085
0086 Standard_EXPORT HatchGen_IntersectionPoint();
0087
0088
0089 ~HatchGen_IntersectionPoint() {}
0090
0091 protected:
0092
0093 Standard_Integer myIndex;
0094 Standard_Real myParam;
0095 TopAbs_Orientation myPosit;
0096 TopAbs_State myBefore;
0097 TopAbs_State myAfter;
0098 Standard_Boolean mySegBeg;
0099 Standard_Boolean mySegEnd;
0100 };
0101
0102 #endif