Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntWalk_TheFunctionOfTheInt2S Class Reference

#include <IntWalk_TheFunctionOfTheInt2S.hxx>

Inheritance diagram for IntWalk_TheFunctionOfTheInt2S:
Inheritance graph
[legend]

Public Member Functions

 IntWalk_TheFunctionOfTheInt2S (const occ::handle< Adaptor3d_Surface > &S1, const occ::handle< Adaptor3d_Surface > &S2)
 
int NbVariables () const override
 Returns the number of variables of the function.
 
int NbEquations () const override
 Returns the number of equations of the function.
 
bool 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.
 
bool 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.
 
bool 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.
 
void ComputeParameters (const IntImp_ConstIsoparametric ChoixIso, const NCollection_Array1< double > &Param, math_Vector &UVap, math_Vector &BornInf, math_Vector &BornSup, math_Vector &Tolerance)
 
double Root () const
 returns somme des fi*fi
 
gp_Pnt Point () const
 
bool IsTangent (const math_Vector &UVap, NCollection_Array1< double > &Param, IntImp_ConstIsoparametric &BestChoix)
 
gp_Dir Direction () const
 
gp_Dir2d DirectionOnS1 () const
 
gp_Dir2d DirectionOnS2 () const
 
const occ::handle< Adaptor3d_Surface > & AuxillarSurface1 () const
 
const occ::handle< Adaptor3d_Surface > & AuxillarSurface2 () const
 
- Public Member Functions inherited from math_FunctionSet
virtual int 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 ()
 

Constructor & Destructor Documentation

◆ IntWalk_TheFunctionOfTheInt2S()

IntWalk_TheFunctionOfTheInt2S::IntWalk_TheFunctionOfTheInt2S ( const occ::handle< Adaptor3d_Surface > & S1,
const occ::handle< Adaptor3d_Surface > & S2 )

Member Function Documentation

◆ AuxillarSurface1()

const occ::handle< Adaptor3d_Surface > & IntWalk_TheFunctionOfTheInt2S::AuxillarSurface1 ( ) const

◆ AuxillarSurface2()

const occ::handle< Adaptor3d_Surface > & IntWalk_TheFunctionOfTheInt2S::AuxillarSurface2 ( ) const

◆ ComputeParameters()

void IntWalk_TheFunctionOfTheInt2S::ComputeParameters ( const IntImp_ConstIsoparametric ChoixIso,
const NCollection_Array1< double > & Param,
math_Vector & UVap,
math_Vector & BornInf,
math_Vector & BornSup,
math_Vector & Tolerance )

◆ Derivatives()

bool IntWalk_TheFunctionOfTheInt2S::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 math_FunctionSetWithDerivatives.

◆ Direction()

gp_Dir IntWalk_TheFunctionOfTheInt2S::Direction ( ) const

◆ DirectionOnS1()

gp_Dir2d IntWalk_TheFunctionOfTheInt2S::DirectionOnS1 ( ) const

◆ DirectionOnS2()

gp_Dir2d IntWalk_TheFunctionOfTheInt2S::DirectionOnS2 ( ) const

◆ IsTangent()

bool IntWalk_TheFunctionOfTheInt2S::IsTangent ( const math_Vector & UVap,
NCollection_Array1< double > & Param,
IntImp_ConstIsoparametric & BestChoix )

◆ NbEquations()

int IntWalk_TheFunctionOfTheInt2S::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int IntWalk_TheFunctionOfTheInt2S::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Point()

gp_Pnt IntWalk_TheFunctionOfTheInt2S::Point ( ) const

◆ Root()

double IntWalk_TheFunctionOfTheInt2S::Root ( ) const

returns somme des fi*fi

◆ Value()

bool IntWalk_TheFunctionOfTheInt2S::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 math_FunctionSetWithDerivatives.

◆ Values()

bool IntWalk_TheFunctionOfTheInt2S::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 math_FunctionSetWithDerivatives.


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