Open CASCADE Technology 7.8.2.dev
|
Function of reframing between a point and a surface. This function is used to find a solution on a done point of the curve when using SurfRstConsRad or CSConstRad... The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates w, U, V where w is the parameter on the guide line, U,V are the parametric coordinates of a point on the partner surface. More...
#include <BRepBlend_SurfPointEvolRadInv.hxx>
Public Member Functions | |
BRepBlend_SurfPointEvolRadInv (const Handle< Adaptor3d_Surface > &S, const Handle< Adaptor3d_Curve > &C, const Handle< Law_Function > &Evol) | |
void | Set (const Standard_Integer Choix) |
Standard_Integer | NbEquations () const |
returns 3. | |
Standard_Boolean | Value (const math_Vector &X, math_Vector &F) |
computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
Standard_Boolean | Derivatives (const math_Vector &X, math_Matrix &D) |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
Standard_Boolean | Values (const math_Vector &X, math_Vector &F, math_Matrix &D) |
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. | |
void | Set (const gp_Pnt &P) |
Set the Point on which a solution has to be found. | |
void | GetTolerance (math_Vector &Tolerance, const Standard_Real Tol) const |
Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. | |
void | GetBounds (math_Vector &InfBound, math_Vector &SupBound) const |
Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. | |
Standard_Boolean | IsSolution (const math_Vector &Sol, const Standard_Real Tol) |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. | |
Public Member Functions inherited from Blend_SurfPointFuncInv | |
Standard_Integer | NbVariables () const |
Returns 3. | |
Public Member Functions inherited from math_FunctionSetWithDerivatives | |
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. | |
virtual | ~math_FunctionSet () |
Function of reframing between a point and a surface. This function is used to find a solution on a done point of the curve when using SurfRstConsRad or CSConstRad... The vector <X> used in Value, Values and Derivatives methods has to be the vector of the parametric coordinates w, U, V where w is the parameter on the guide line, U,V are the parametric coordinates of a point on the partner surface.
BRepBlend_SurfPointEvolRadInv::BRepBlend_SurfPointEvolRadInv | ( | const Handle< Adaptor3d_Surface > & | S, |
const Handle< Adaptor3d_Curve > & | C, | ||
const Handle< Law_Function > & | Evol ) |
|
virtual |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Implements Blend_SurfPointFuncInv.
|
virtual |
Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables.
Implements Blend_SurfPointFuncInv.
|
virtual |
Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space.
Implements Blend_SurfPointFuncInv.
|
virtual |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
Implements Blend_SurfPointFuncInv.
|
virtual |
returns 3.
Implements Blend_SurfPointFuncInv.
|
virtual |
Set the Point on which a solution has to be found.
Implements Blend_SurfPointFuncInv.
void BRepBlend_SurfPointEvolRadInv::Set | ( | const Standard_Integer | Choix | ) |
|
virtual |
computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Implements Blend_SurfPointFuncInv.
|
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 Blend_SurfPointFuncInv.