Open CASCADE Technology 6.6.0
Public Member Functions
Extrema_PCFOfEPCOfELPCOfLocateExtPC Class Reference

#include <Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx>

Inheritance diagram for Extrema_PCFOfEPCOfELPCOfLocateExtPC:
Inheritance graph
[legend]

Public Member Functions

 Extrema_PCFOfEPCOfELPCOfLocateExtPC ()
 Extrema_PCFOfEPCOfELPCOfLocateExtPC (const gp_Pnt &P, const Adaptor3d_Curve &C)
void Initialize (const Adaptor3d_Curve &C)
void SetPoint (const gp_Pnt &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.

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.

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.

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.

Standard_Integer NbExt () const
Standard_Real SquareDistance (const Standard_Integer N) const
Standard_Boolean IsMin (const Standard_Integer N) const
Extrema_POnCurv Point (const Standard_Integer N) const

Constructor & Destructor Documentation

Extrema_PCFOfEPCOfELPCOfLocateExtPC::Extrema_PCFOfEPCOfELPCOfLocateExtPC ( )
Extrema_PCFOfEPCOfELPCOfLocateExtPC::Extrema_PCFOfEPCOfELPCOfLocateExtPC ( const gp_Pnt P,
const Adaptor3d_Curve C 
)

Member Function Documentation

Standard_Boolean Extrema_PCFOfEPCOfELPCOfLocateExtPC::Derivative ( const Standard_Real  X,
Standard_Real D 
) [virtual]
virtual Standard_Integer Extrema_PCFOfEPCOfELPCOfLocateExtPC::GetStateNumber ( ) [virtual]

Reimplemented from math_Function.

void Extrema_PCFOfEPCOfELPCOfLocateExtPC::Initialize ( const Adaptor3d_Curve C)
Standard_Boolean Extrema_PCFOfEPCOfELPCOfLocateExtPC::IsMin ( const Standard_Integer  N) const
Standard_Integer Extrema_PCFOfEPCOfELPCOfLocateExtPC::NbExt ( ) const
Extrema_POnCurv Extrema_PCFOfEPCOfELPCOfLocateExtPC::Point ( const Standard_Integer  N) const
void Extrema_PCFOfEPCOfELPCOfLocateExtPC::SetPoint ( const gp_Pnt P)
Standard_Real Extrema_PCFOfEPCOfELPCOfLocateExtPC::SquareDistance ( const Standard_Integer  N) const
Standard_Boolean Extrema_PCFOfEPCOfELPCOfLocateExtPC::Value ( const Standard_Real  X,
Standard_Real F 
) [virtual]
Standard_Boolean Extrema_PCFOfEPCOfELPCOfLocateExtPC::Values ( const Standard_Real  X,
Standard_Real F,
Standard_Real D 
) [virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines