File indexing completed on 2025-01-18 10:03:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Geom2dGcc_Lin2dTanOblIter_HeaderFile
0018 #define _Geom2dGcc_Lin2dTanOblIter_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <gp_Lin2d.hxx>
0024 #include <GccEnt_Position.hxx>
0025 #include <gp_Pnt2d.hxx>
0026 class Geom2dGcc_QCurve;
0027
0028
0029
0030
0031
0032
0033 class Geom2dGcc_Lin2dTanOblIter
0034 {
0035 public:
0036
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040
0041
0042
0043
0044
0045
0046 Standard_EXPORT Geom2dGcc_Lin2dTanOblIter(const Geom2dGcc_QCurve& Qualified1, const gp_Lin2d& TheLin, const Standard_Real Param1, const Standard_Real TolAng, const Standard_Real Angle = 0);
0047
0048
0049
0050 Standard_EXPORT Standard_Boolean IsDone() const;
0051
0052 Standard_EXPORT gp_Lin2d ThisSolution() const;
0053
0054 Standard_EXPORT void WhichQualifier (GccEnt_Position& Qualif1) const;
0055
0056 Standard_EXPORT void Tangency1 (Standard_Real& ParSol, Standard_Real& ParArg, gp_Pnt2d& PntSol) const;
0057
0058 Standard_EXPORT void Intersection2 (Standard_Real& ParSol, Standard_Real& ParArg, gp_Pnt2d& PntSol) const;
0059
0060 Standard_EXPORT Standard_Boolean IsParallel2() const;
0061
0062
0063
0064
0065 protected:
0066
0067
0068
0069
0070
0071 private:
0072
0073
0074
0075 Standard_Boolean WellDone;
0076 Standard_Boolean Paral2;
0077 gp_Lin2d linsol;
0078 GccEnt_Position qualifier1;
0079 gp_Pnt2d pnttg1sol;
0080 gp_Pnt2d pntint2sol;
0081 Standard_Real par1sol;
0082 Standard_Real par2sol;
0083 Standard_Real pararg1;
0084 Standard_Real pararg2;
0085
0086
0087 };
0088
0089
0090
0091
0092
0093
0094
0095 #endif