Open CASCADE Technology  7.4.0
Public Member Functions
BlendFunc_ConstRadInv Class Reference

#include <BlendFunc_ConstRadInv.hxx>

Inheritance diagram for BlendFunc_ConstRadInv:
Inheritance graph
[legend]

Public Member Functions

 BlendFunc_ConstRadInv (const Handle< Adaptor3d_HSurface > &S1, const Handle< Adaptor3d_HSurface > &S2, const Handle< Adaptor3d_HCurve > &C)
 
void Set (const Standard_Boolean OnFirst, const Handle< Adaptor2d_HCurve2d > &COnSurf) override
 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...
 
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. More...
 
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. More...
 
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. More...
 
Standard_Integer NbEquations () const override
 returns the number of equations of the function. More...
 
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. More...
 
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. More...
 
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. More...
 
void Set (const Standard_Real R, const Standard_Integer Choix)
 
- Public Member Functions inherited from Blend_FuncInv
Standard_Integer NbVariables () const
 Returns 4. 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 ()
 

Constructor & Destructor Documentation

◆ BlendFunc_ConstRadInv()

BlendFunc_ConstRadInv::BlendFunc_ConstRadInv ( const Handle< Adaptor3d_HSurface > &  S1,
const Handle< Adaptor3d_HSurface > &  S2,
const Handle< Adaptor3d_HCurve > &  C 
)

Member Function Documentation

◆ Derivatives()

Standard_Boolean BlendFunc_ConstRadInv::Derivatives ( const math_Vector X,
math_Matrix D 
)
overridevirtual

returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements Blend_FuncInv.

◆ GetBounds()

void BlendFunc_ConstRadInv::GetBounds ( math_Vector InfBound,
math_Vector SupBound 
) const
overridevirtual

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.

Implements Blend_FuncInv.

◆ GetTolerance()

void BlendFunc_ConstRadInv::GetTolerance ( math_Vector Tolerance,
const Standard_Real  Tol 
) const
overridevirtual

Returns in the vector Tolerance the parametric tolerance for each of the 4 variables; Tol is the tolerance used in 3d space.

Implements Blend_FuncInv.

◆ IsSolution()

Standard_Boolean BlendFunc_ConstRadInv::IsSolution ( const math_Vector Sol,
const Standard_Real  Tol 
)
overridevirtual

Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space.

Implements Blend_FuncInv.

◆ NbEquations()

Standard_Integer BlendFunc_ConstRadInv::NbEquations ( ) const
overridevirtual

returns the number of equations of the function.

Implements Blend_FuncInv.

◆ Set() [1/2]

void BlendFunc_ConstRadInv::Set ( const Standard_Boolean  OnFirst,
const Handle< Adaptor2d_HCurve2d > &  COnSurf 
)
overridevirtual

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.

Implements Blend_FuncInv.

◆ Set() [2/2]

void BlendFunc_ConstRadInv::Set ( const Standard_Real  R,
const Standard_Integer  Choix 
)

◆ Value()

Standard_Boolean BlendFunc_ConstRadInv::Value ( const math_Vector X,
math_Vector F 
)
overridevirtual

computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise.

Implements Blend_FuncInv.

◆ Values()

Standard_Boolean BlendFunc_ConstRadInv::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
overridevirtual

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_FuncInv.


The documentation for this class was generated from the following file: