Open CASCADE Technology 7.8.2.dev
|
Class for a function used to compute a ConstThroatWithPenetration chamfer on a surface's boundary. More...
#include <BlendFunc_ConstThroatWithPenetrationInv.hxx>
Public Member Functions | |
BlendFunc_ConstThroatWithPenetrationInv (const Handle< Adaptor3d_Surface > &S1, const Handle< Adaptor3d_Surface > &S2, const Handle< Adaptor3d_Curve > &C) | |
Standard_Boolean | IsSolution (const math_Vector &Sol, const Standard_Real Tol) override |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. | |
Standard_Boolean | Value (const math_Vector &X, math_Vector &F) override |
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) override |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
Public Member Functions inherited from BlendFunc_ConstThroatInv | |
BlendFunc_ConstThroatInv (const Handle< Adaptor3d_Surface > &S1, const Handle< Adaptor3d_Surface > &S2, const Handle< Adaptor3d_Curve > &C) | |
virtual void | Set (const Standard_Real theThroat, const Standard_Real, const Standard_Integer Choix) override |
virtual void | Set (const Standard_Boolean OnFirst, const Handle< Adaptor2d_Curve2d > &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. | |
Public Member Functions inherited from BlendFunc_GenChamfInv | |
BlendFunc_GenChamfInv (const Handle< Adaptor3d_Surface > &S1, const Handle< Adaptor3d_Surface > &S2, const Handle< Adaptor3d_Curve > &C) | |
void | GetTolerance (math_Vector &Tolerance, const Standard_Real Tol) const override |
Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space. | |
void | GetBounds (math_Vector &InfBound, math_Vector &SupBound) const override |
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. | |
Standard_Integer | NbEquations () const override |
returns the number of equations of the function. | |
Standard_Boolean | Values (const math_Vector &X, math_Vector &F, math_Matrix &D) override |
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. | |
Public Member Functions inherited from Blend_FuncInv | |
Standard_Integer | NbVariables () const |
Returns 4. | |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from BlendFunc_ConstThroatInv | |
Standard_Real | Throat |
Standard_Real | param |
Standard_Real | sign1 |
Standard_Real | sign2 |
gp_Pnt | ptgui |
gp_Vec | nplan |
Standard_Real | normtg |
Standard_Real | theD |
gp_Vec | d1gui |
gp_Vec | d2gui |
gp_Pnt | pts1 |
gp_Pnt | pts2 |
gp_Vec | d1u1 |
gp_Vec | d1v1 |
gp_Vec | d1u2 |
gp_Vec | d1v2 |
Protected Attributes inherited from BlendFunc_GenChamfInv | |
Handle< Adaptor3d_Surface > | surf1 |
Handle< Adaptor3d_Surface > | surf2 |
Handle< Adaptor3d_Curve > | curv |
Handle< Adaptor2d_Curve2d > | csurf |
Standard_Integer | choix |
Standard_Boolean | first |
Class for a function used to compute a ConstThroatWithPenetration chamfer on a surface's boundary.
BlendFunc_ConstThroatWithPenetrationInv::BlendFunc_ConstThroatWithPenetrationInv | ( | const Handle< Adaptor3d_Surface > & | S1, |
const Handle< Adaptor3d_Surface > & | S2, | ||
const Handle< Adaptor3d_Curve > & | C ) |
|
overridevirtual |
returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Reimplemented from BlendFunc_ConstThroatInv.
|
overridevirtual |
Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.
Reimplemented from BlendFunc_ConstThroatInv.
|
overridevirtual |
computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.
Reimplemented from BlendFunc_ConstThroatInv.