Open CASCADE Technology  7.6.0
Public Member Functions

ProjLib_PrjFunc Class Reference

#include <ProjLib_PrjFunc.hxx>

Inheritance diagram for ProjLib_PrjFunc:
Inheritance graph
[legend]

Public Member Functions

 ProjLib_PrjFunc (const Adaptor3d_Curve *C, const Standard_Real FixVal, const Adaptor3d_Surface *S, const Standard_Integer Fix)
 
Standard_Integer NbVariables () const
 returns the number of variables of the function. More...
 
Standard_Integer NbEquations () const
 returns the number of equations of the function. More...
 
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. More...
 
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. More...
 
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. More...
 
gp_Pnt2d Solution () const
 returns point on surface 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

◆ ProjLib_PrjFunc()

ProjLib_PrjFunc::ProjLib_PrjFunc ( const Adaptor3d_Curve C,
const Standard_Real  FixVal,
const Adaptor3d_Surface S,
const Standard_Integer  Fix 
)

Member Function Documentation

◆ Derivatives()

Standard_Boolean ProjLib_PrjFunc::Derivatives ( const math_Vector X,
math_Matrix D 
)
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.

◆ NbEquations()

Standard_Integer ProjLib_PrjFunc::NbEquations ( ) const
virtual

returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

Standard_Integer ProjLib_PrjFunc::NbVariables ( ) const
virtual

returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Solution()

gp_Pnt2d ProjLib_PrjFunc::Solution ( ) const

returns point on surface

◆ Value()

Standard_Boolean ProjLib_PrjFunc::Value ( const math_Vector X,
math_Vector F 
)
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.

◆ Values()

Standard_Boolean ProjLib_PrjFunc::Values ( const math_Vector X,
math_Vector F,
math_Matrix D 
)
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.


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