File indexing completed on 2026-09-21 09:16:45
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 class ChFiDS_FaceInterference
0032 {
0033 public:
0034 DEFINE_STANDARD_ALLOC
0035
0036 Standard_EXPORT ChFiDS_FaceInterference();
0037
0038 void SetInterference(const int LineIndex,
0039 const TopAbs_Orientation Trans,
0040 const occ::handle<Geom2d_Curve>& PCurv1,
0041 const occ::handle<Geom2d_Curve>& PCurv2);
0042
0043 Standard_EXPORT void SetTransition(const TopAbs_Orientation Trans);
0044
0045 void SetFirstParameter(const double U1);
0046
0047 void SetLastParameter(const double U1);
0048
0049 Standard_EXPORT void SetParameter(const double U1, const bool IsFirst);
0050
0051 int LineIndex() const;
0052
0053 void SetLineIndex(const int I);
0054
0055 TopAbs_Orientation Transition() const;
0056
0057 const occ::handle<Geom2d_Curve>& PCurveOnFace() const;
0058
0059 const occ::handle<Geom2d_Curve>& PCurveOnSurf() const;
0060
0061 occ::handle<Geom2d_Curve>& ChangePCurveOnFace();
0062
0063 occ::handle<Geom2d_Curve>& ChangePCurveOnSurf();
0064
0065 double FirstParameter() const;
0066
0067 double LastParameter() const;
0068
0069 Standard_EXPORT double Parameter(const bool IsFirst) const;
0070
0071 private:
0072 double firstParam;
0073 double lastParam;
0074 occ::handle<Geom2d_Curve> pCurveOnFace;
0075 occ::handle<Geom2d_Curve> pCurveOnSurf;
0076 int lineindex;
0077 TopAbs_Orientation LineTransition;
0078 };
0079
0080 #include <ChFiDS_FaceInterference.lxx>
0081
0082 #endif