Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
Extrema_PCFOfEPCOfExtPC2d Class Reference

#include <Extrema_PCFOfEPCOfExtPC2d.hxx>

Inheritance diagram for Extrema_PCFOfEPCOfExtPC2d:
Inheritance graph
[legend]

Public Member Functions

 Extrema_PCFOfEPCOfExtPC2d ()
 
 Extrema_PCFOfEPCOfExtPC2d (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 void Delete ()
 
virtual ~math_FunctionWithDerivative ()
 

Constructor & Destructor Documentation

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

Member Function Documentation

Standard_Boolean Extrema_PCFOfEPCOfExtPC2d::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 Extrema_PCFOfEPCOfExtPC2d::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 Extrema_PCFOfEPCOfExtPC2d::Initialize ( const Adaptor2d_Curve2d C)
Standard_Boolean Extrema_PCFOfEPCOfExtPC2d::IsMin ( const Standard_Integer  N) const
Standard_Integer Extrema_PCFOfEPCOfExtPC2d::NbExt ( ) const
const Extrema_POnCurv2d& Extrema_PCFOfEPCOfExtPC2d::Point ( const Standard_Integer  N) const
Standard_Real Extrema_PCFOfEPCOfExtPC2d::SearchOfTolerance ( )
void Extrema_PCFOfEPCOfExtPC2d::SetPoint ( const gp_Pnt2d P)
Standard_Real Extrema_PCFOfEPCOfExtPC2d::SquareDistance ( const Standard_Integer  N) const
void Extrema_PCFOfEPCOfExtPC2d::SubIntervalInitialize ( const Standard_Real  theUfirst,
const Standard_Real  theUlast 
)
Standard_Boolean Extrema_PCFOfEPCOfExtPC2d::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 Extrema_PCFOfEPCOfExtPC2d::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: