Open CASCADE Technology  6.9.1
Public Member Functions
Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter Class Reference

#include <Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx>

Inheritance diagram for Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter:
Inheritance graph
[legend]

Public Member Functions

 Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter ()
 
 Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter (const gp_Pnt2d &P, const Adaptor2d_Curve2d &C)
 
void Initialize (const Adaptor2d_Curve2d &C)
 
void SetPoint (const gp_Pnt2d &P)
 
Standard_Boolean Value (const Standard_Real U, Standard_Real &F)
 Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
Standard_Boolean Derivative (const Standard_Real U, Standard_Real &DF)
 Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
Standard_Boolean Values (const Standard_Real U, Standard_Real &F, Standard_Real &DF)
 Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
 
virtual Standard_Integer GetStateNumber ()
 returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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...
 
Standard_Integer NbExt () const
 
Standard_Real SquareDistance (const Standard_Integer N) const
 
Standard_Boolean IsMin (const Standard_Integer N) const
 
const Extrema_POnCurv2dPoint (const Standard_Integer N) const
 
void SubIntervalInitialize (const Standard_Real theUfirst, const Standard_Real theUlast)
 
Standard_Real SearchOfTolerance ()
 
- Public Member Functions inherited from math_FunctionWithDerivative
virtual ~math_FunctionWithDerivative ()
 

Constructor & Destructor Documentation

Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter ( )
Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter ( const gp_Pnt2d P,
const Adaptor2d_Curve2d C 
)

Member Function Documentation

Standard_Boolean Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Derivative ( const Standard_Real  X,
Standard_Real D 
)
virtual

Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

virtual Standard_Integer Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::GetStateNumber ( )
virtual

returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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.

Reimplemented from math_Function.

void Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Initialize ( const Adaptor2d_Curve2d C)
Standard_Boolean Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::IsMin ( const Standard_Integer  N) const
Standard_Integer Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::NbExt ( ) const
const Extrema_POnCurv2d& Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Point ( const Standard_Integer  N) const
Standard_Real Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::SearchOfTolerance ( )
void Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::SetPoint ( const gp_Pnt2d P)
Standard_Real Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::SquareDistance ( const Standard_Integer  N) const
void Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::SubIntervalInitialize ( const Standard_Real  theUfirst,
const Standard_Real  theUlast 
)
Standard_Boolean Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Value ( const Standard_Real  X,
Standard_Real F 
)
virtual

Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.

Standard_Boolean Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter::Values ( const Standard_Real  X,
Standard_Real F,
Standard_Real D 
)
virtual

Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.

Implements math_FunctionWithDerivative.


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