Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox Class Reference

#include <BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>

Inheritance diagram for BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox:

Public Member Functions

 BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox (const BRepAdaptor_Surface &S1, const BRepAdaptor_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 BRepAdaptor_Surface & AuxillarSurface1 () const
const BRepAdaptor_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

◆ BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox()

BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox ( const BRepAdaptor_Surface & S1,
const BRepAdaptor_Surface & S2 )

Member Function Documentation

◆ AuxillarSurface1()

const BRepAdaptor_Surface & BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::AuxillarSurface1 ( ) const

◆ AuxillarSurface2()

const BRepAdaptor_Surface & BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::AuxillarSurface2 ( ) const

◆ ComputeParameters()

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

◆ Derivatives()

bool BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::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 BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Direction ( ) const

◆ DirectionOnS1()

gp_Dir2d BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS1 ( ) const

◆ DirectionOnS2()

gp_Dir2d BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::DirectionOnS2 ( ) const

◆ IsTangent()

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

◆ NbEquations()

int BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Point()

gp_Pnt BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Point ( ) const

◆ Root()

double BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::Root ( ) const

returns somme des fi*fi

◆ Value()

bool BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::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 BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox::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: