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_FunctionTanCuCuOnCu_HeaderFile
0018 #define _Geom2dGcc_FunctionTanCuCuOnCu_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Geom2dAdaptor_Curve.hxx>
0024 #include <gp_Circ2d.hxx>
0025 #include <gp_Lin2d.hxx>
0026 #include <gp_Pnt2d.hxx>
0027 #include <Geom2dGcc_Type2.hxx>
0028 #include <math_FunctionSetWithDerivatives.hxx>
0029 #include <math_Vector.hxx>
0030 class gp_Vec2d;
0031 class math_Matrix;
0032
0033
0034
0035
0036 class Geom2dGcc_FunctionTanCuCuOnCu : public math_FunctionSetWithDerivatives
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const Geom2dAdaptor_Curve& C2, const gp_Circ2d& OnCi, const Standard_Real Rad);
0044
0045 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Circ2d& C1, const Geom2dAdaptor_Curve& C2, const gp_Circ2d& OnCi, const Standard_Real Rad);
0046
0047 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Lin2d& L1, const Geom2dAdaptor_Curve& C2, const gp_Circ2d& OnCi, const Standard_Real Rad);
0048
0049 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const gp_Pnt2d& P2, const gp_Circ2d& OnCi, const Standard_Real Rad);
0050
0051 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const Geom2dAdaptor_Curve& C2, const gp_Lin2d& OnLi, const Standard_Real Rad);
0052
0053 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Circ2d& C1, const Geom2dAdaptor_Curve& C2, const gp_Lin2d& OnLi, const Standard_Real Rad);
0054
0055 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Lin2d& L1, const Geom2dAdaptor_Curve& C2, const gp_Lin2d& OnLi, const Standard_Real Rad);
0056
0057 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const gp_Pnt2d& P2, const gp_Lin2d& OnLi, const Standard_Real Rad);
0058
0059 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const Geom2dAdaptor_Curve& C2, const Geom2dAdaptor_Curve& OnCu, const Standard_Real Rad);
0060
0061 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Circ2d& C1, const Geom2dAdaptor_Curve& C2, const Geom2dAdaptor_Curve& OnCu, const Standard_Real Rad);
0062
0063 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const gp_Lin2d& L1, const Geom2dAdaptor_Curve& C2, const Geom2dAdaptor_Curve& OnCu, const Standard_Real Rad);
0064
0065 Standard_EXPORT Geom2dGcc_FunctionTanCuCuOnCu(const Geom2dAdaptor_Curve& C1, const gp_Pnt2d& P1, const Geom2dAdaptor_Curve& OnCu, const Standard_Real Rad);
0066
0067 Standard_EXPORT void InitDerivative (const math_Vector& X, gp_Pnt2d& Point1, gp_Pnt2d& Point2, gp_Pnt2d& Point3, gp_Vec2d& Tan1, gp_Vec2d& Tan2, gp_Vec2d& Tan3, gp_Vec2d& D21, gp_Vec2d& D22, gp_Vec2d& D23);
0068
0069
0070 Standard_EXPORT Standard_Integer NbVariables() const;
0071
0072
0073 Standard_EXPORT Standard_Integer NbEquations() const;
0074
0075
0076 Standard_EXPORT Standard_Boolean Value (const math_Vector& X, math_Vector& F);
0077
0078
0079 Standard_EXPORT Standard_Boolean Derivatives (const math_Vector& X, math_Matrix& D);
0080
0081
0082
0083 Standard_EXPORT Standard_Boolean Values (const math_Vector& X, math_Vector& F, math_Matrix& D);
0084
0085
0086
0087
0088 protected:
0089
0090
0091
0092
0093
0094 private:
0095
0096
0097
0098 Geom2dAdaptor_Curve Curv1;
0099 Geom2dAdaptor_Curve Curv2;
0100 gp_Circ2d Circ1;
0101 gp_Lin2d Lin1;
0102 gp_Pnt2d Pnt2;
0103 gp_Circ2d Circon;
0104 gp_Lin2d Linon;
0105 Geom2dAdaptor_Curve Curvon;
0106 Standard_Real FirstRad;
0107 Geom2dGcc_Type2 TheType;
0108
0109
0110 };
0111
0112
0113
0114
0115
0116
0117
0118 #endif