File indexing completed on 2025-01-18 10:03:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _ChFiDS_FaceInterference_HeaderFile
0018 #define _ChFiDS_FaceInterference_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Real.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TopAbs_Orientation.hxx>
0027 #include <Standard_Boolean.hxx>
0028 class Geom2d_Curve;
0029
0030
0031
0032 class ChFiDS_FaceInterference
0033 {
0034 public:
0035
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT ChFiDS_FaceInterference();
0040
0041 void SetInterference (const Standard_Integer LineIndex, const TopAbs_Orientation Trans, const Handle(Geom2d_Curve)& PCurv1, const Handle(Geom2d_Curve)& PCurv2);
0042
0043 Standard_EXPORT void SetTransition (const TopAbs_Orientation Trans);
0044
0045 void SetFirstParameter (const Standard_Real U1);
0046
0047 void SetLastParameter (const Standard_Real U1);
0048
0049 Standard_EXPORT void SetParameter (const Standard_Real U1, const Standard_Boolean IsFirst);
0050
0051 Standard_Integer LineIndex() const;
0052
0053 void SetLineIndex (const Standard_Integer I);
0054
0055 TopAbs_Orientation Transition() const;
0056
0057 const Handle(Geom2d_Curve)& PCurveOnFace() const;
0058
0059 const Handle(Geom2d_Curve)& PCurveOnSurf() const;
0060
0061 Handle(Geom2d_Curve)& ChangePCurveOnFace();
0062
0063 Handle(Geom2d_Curve)& ChangePCurveOnSurf();
0064
0065 Standard_Real FirstParameter() const;
0066
0067 Standard_Real LastParameter() const;
0068
0069 Standard_EXPORT Standard_Real Parameter (const Standard_Boolean IsFirst) const;
0070
0071
0072
0073
0074 protected:
0075
0076
0077
0078
0079
0080 private:
0081
0082
0083
0084 Standard_Real firstParam;
0085 Standard_Real lastParam;
0086 Handle(Geom2d_Curve) pCurveOnFace;
0087 Handle(Geom2d_Curve) pCurveOnSurf;
0088 Standard_Integer lineindex;
0089 TopAbs_Orientation LineTransition;
0090
0091
0092 };
0093
0094
0095 #include <ChFiDS_FaceInterference.lxx>
0096
0097
0098
0099
0100
0101 #endif