File indexing completed on 2026-09-12 09:17:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomFill_FunctionDraft_HeaderFile
0018 #define _GeomFill_FunctionDraft_HeaderFile
0019
0020 #include <Adaptor3d_Surface.hxx>
0021 #include <math_FunctionSetWithDerivatives.hxx>
0022 #include <math_Vector.hxx>
0023
0024 class math_Matrix;
0025 class gp_Vec;
0026 class GeomFill_Tensor;
0027
0028 class GeomFill_FunctionDraft : public math_FunctionSetWithDerivatives
0029 {
0030 public:
0031 DEFINE_STANDARD_ALLOC
0032
0033 Standard_EXPORT GeomFill_FunctionDraft(const occ::handle<Adaptor3d_Surface>& S,
0034 const occ::handle<Adaptor3d_Curve>& C);
0035
0036
0037 Standard_EXPORT int NbVariables() const override;
0038
0039
0040 Standard_EXPORT int NbEquations() const override;
0041
0042
0043
0044
0045
0046 Standard_EXPORT bool Value(const math_Vector& X, math_Vector& F) override;
0047
0048
0049
0050
0051
0052 Standard_EXPORT bool Derivatives(const math_Vector& X, math_Matrix& D) override;
0053
0054
0055
0056
0057
0058 Standard_EXPORT bool Values(const math_Vector& X, math_Vector& F, math_Matrix& D) override;
0059
0060
0061
0062 Standard_EXPORT bool DerivT(const occ::handle<Adaptor3d_Curve>& C,
0063 const double Param,
0064 const double W,
0065 const gp_Vec& dN,
0066 const double teta,
0067 math_Vector& F);
0068
0069
0070
0071 Standard_EXPORT bool Deriv2T(const occ::handle<Adaptor3d_Curve>& C,
0072 const double Param,
0073 const double W,
0074 const gp_Vec& d2N,
0075 const double teta,
0076 math_Vector& F);
0077
0078
0079
0080 Standard_EXPORT bool DerivTX(const gp_Vec& dN, const double teta, math_Matrix& D);
0081
0082
0083
0084 Standard_EXPORT bool Deriv2X(const math_Vector& X, GeomFill_Tensor& T);
0085
0086 private:
0087 occ::handle<Adaptor3d_Curve> TheCurve;
0088 occ::handle<Adaptor3d_Surface> TheSurface;
0089 };
0090
0091 #endif