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

#include <Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter.hxx>

Inheritance diagram for Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter:
Inheritance graph
[legend]

Public Member Functions

 Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter (const Adaptor2d_Curve2d &curve1, const Adaptor2d_Curve2d &curve2)
 
int NbVariables () const override
 returns 2.
 
int NbEquations () const override
 returns 2.
 
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.
 
- 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

◆ Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter()

Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter::Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter ( const Adaptor2d_Curve2d & curve1,
const Adaptor2d_Curve2d & curve2 )

Member Function Documentation

◆ Derivatives()

bool Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter::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.

◆ NbEquations()

int Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter::NbEquations ( ) const
overridevirtual

returns 2.

Implements math_FunctionSetWithDerivatives.

◆ NbVariables()

int Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter::NbVariables ( ) const
overridevirtual

returns 2.

Implements math_FunctionSetWithDerivatives.

◆ Value()

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