![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Deferred class for a function used to compute a blending surface between two surfaces, using a guide line. This function is used to find a solution on a restriction of one of the surface. The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates t,w,U,V where t is the parameter on the curve on surface, w is the parameter on the guide line, U,V are the parametric coordinates of a point on the partner surface. More...
#include <Blend_FuncInv.hxx>

Public Member Functions | |
| int | NbVariables () const override |
| Returns 4. | |
| int | NbEquations () const override=0 |
| returns the number of equations of the function. | |
| bool | Value (const math_Vector &X, math_Vector &F) override=0 |
| computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
| bool | Derivatives (const math_Vector &X, math_Matrix &D) override=0 |
| returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
| bool | Values (const math_Vector &X, math_Vector &F, math_Matrix &D) override=0 |
| returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
| virtual void | Set (const bool OnFirst, const occ::handle< Adaptor2d_Curve2d > &COnSurf)=0 |
| Sets the CurveOnSurface on which a solution has to be found. If <OnFirst> is set to true, the curve will be on the first surface, otherwise the curve is on the second one. | |
| virtual void | GetTolerance (math_Vector &Tolerance, const double Tol) const =0 |
| Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space. | |
| virtual void | GetBounds (math_Vector &InfBound, math_Vector &SupBound) const =0 |
| Returns in the vector InfBound the lowest values allowed for each of the 4 variables. Returns in the vector SupBound the greatest values allowed for each of the 4 variables. | |
| virtual bool | IsSolution (const math_Vector &Sol, const double Tol)=0 |
| Returns true if Sol is a zero of the function. Tol is the tolerance used in 3d space. | |
Public Member Functions inherited from math_FunctionSet | |
| virtual int | GetStateNumber () |
| Returns the state of the function corresponding to the latestcall of any methods associated with the function. This function is called by each of the algorithms described later which define the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state. | |
| virtual | ~math_FunctionSet () |
Deferred class for a function used to compute a blending surface between two surfaces, using a guide line. This function is used to find a solution on a restriction of one of the surface. The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates t,w,U,V where t is the parameter on the curve on surface, w is the parameter on the guide line, U,V are the parametric coordinates of a point on the partner surface.
|
overridepure virtual |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Implements math_FunctionSetWithDerivatives.
Implemented in BlendFunc_ChamfInv, BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_ConstThroatInv, BlendFunc_ConstThroatWithPenetrationInv, BlendFunc_EvolRadInv, and BlendFunc_RuledInv.
|
pure virtual |
Returns in the vector InfBound the lowest values allowed for each of the 4 variables. Returns in the vector SupBound the greatest values allowed for each of the 4 variables.
Implemented in BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, and BlendFunc_RuledInv.
|
pure virtual |
Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space.
Implemented in BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, and BlendFunc_RuledInv.
|
pure virtual |
Returns true if Sol is a zero of the function. Tol is the tolerance used in 3d space.
Implemented in BlendFunc_ChamfInv, BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_ConstThroatInv, BlendFunc_ConstThroatWithPenetrationInv, BlendFunc_EvolRadInv, and BlendFunc_RuledInv.
|
overridepure virtual |
returns the number of equations of the function.
Implements math_FunctionSetWithDerivatives.
Implemented in BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, and BlendFunc_RuledInv.
|
overridevirtual |
Returns 4.
Implements math_FunctionSetWithDerivatives.
|
pure virtual |
Sets the CurveOnSurface on which a solution has to be found. If <OnFirst> is set to true, the curve will be on the first surface, otherwise the curve is on the second one.
Implemented in BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, BlendFunc_RuledInv, BlendFunc_ChamfInv, and BlendFunc_ConstThroatInv.
|
overridepure virtual |
computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Implements math_FunctionSetWithDerivatives.
Implemented in BlendFunc_ChamfInv, BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_ConstThroatInv, BlendFunc_ConstThroatWithPenetrationInv, BlendFunc_EvolRadInv, and BlendFunc_RuledInv.
|
overridepure virtual |
returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Implements math_FunctionSetWithDerivatives.
Implemented in BlendFunc_ChAsymInv, BlendFunc_ConstRadInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, and BlendFunc_RuledInv.