Open CASCADE Technology
7.4.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 | |
Standard_Integer | NbVariables () const |
Returns 4. More... | |
virtual Standard_Integer | NbEquations () const =0 |
returns the number of equations of the function. More... | |
virtual Standard_Boolean | Value (const math_Vector &X, math_Vector &F)=0 |
computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. More... | |
virtual Standard_Boolean | Derivatives (const math_Vector &X, math_Matrix &D)=0 |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. More... | |
virtual Standard_Boolean | Values (const math_Vector &X, math_Vector &F, math_Matrix &D)=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. More... | |
virtual void | Set (const Standard_Boolean OnFirst, const Handle< Adaptor2d_HCurve2d > &COnSurf)=0 |
Sets the CurveOnSurface on which a solution has to be found. If <OnFirst> is set to Standard_True, the curve will be on the first surface, otherwise the curve is on the second one. More... | |
virtual void | GetTolerance (math_Vector &Tolerance, const Standard_Real 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. More... | |
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. More... | |
virtual Standard_Boolean | IsSolution (const math_Vector &Sol, const Standard_Real Tol)=0 |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. More... | |
Public Member Functions inherited from math_FunctionSet | |
virtual Standard_Integer | 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. More... | |
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.
|
pure 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_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, BlendFunc_ChamfInv, BlendFunc_ConstThroatWithPenetrationInv, and BlendFunc_ConstThroatInv.
|
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_GenChamfInv, BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, 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_GenChamfInv, BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, and BlendFunc_RuledInv.
|
pure virtual |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
Implemented in BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, BlendFunc_ChamfInv, BlendFunc_ConstThroatWithPenetrationInv, and BlendFunc_ConstThroatInv.
|
pure virtual |
returns the number of equations of the function.
Implements math_FunctionSetWithDerivatives.
Implemented in BlendFunc_GenChamfInv, BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, and BlendFunc_RuledInv.
|
virtual |
Returns 4.
Implements math_FunctionSetWithDerivatives.
|
pure virtual |
Sets the CurveOnSurface on which a solution has to be found. If <OnFirst> is set to Standard_True, the curve will be on the first surface, otherwise the curve is on the second one.
Implemented in BlendFunc_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_GenChamfInv, BlendFunc_ConstRadInv, and BlendFunc_RuledInv.
|
pure 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_ChAsymInv, BlendFunc_EvolRadInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, BlendFunc_ChamfInv, BlendFunc_ConstThroatWithPenetrationInv, and BlendFunc_ConstThroatInv.
|
pure 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_EvolRadInv, BlendFunc_ConstRadInv, BlendFunc_RuledInv, and BlendFunc_GenChamfInv.