Open CASCADE Technology 6.6.0
|
#include <Extrema_PCFOfEPCOfExtPC.hxx>
Public Member Functions | |
Extrema_PCFOfEPCOfExtPC () | |
Extrema_PCFOfEPCOfExtPC (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 |
Extrema_PCFOfEPCOfExtPC::Extrema_PCFOfEPCOfExtPC | ( | ) |
Extrema_PCFOfEPCOfExtPC::Extrema_PCFOfEPCOfExtPC | ( | const gp_Pnt & | P, |
const Adaptor3d_Curve & | C | ||
) |
Standard_Boolean Extrema_PCFOfEPCOfExtPC::Derivative | ( | const Standard_Real | X, |
Standard_Real & | D | ||
) | [virtual] |
Implements math_FunctionWithDerivative.
virtual Standard_Integer Extrema_PCFOfEPCOfExtPC::GetStateNumber | ( | ) | [virtual] |
Reimplemented from math_Function.
void Extrema_PCFOfEPCOfExtPC::Initialize | ( | const Adaptor3d_Curve & | C | ) |
Standard_Boolean Extrema_PCFOfEPCOfExtPC::IsMin | ( | const Standard_Integer | N | ) | const |
Standard_Integer Extrema_PCFOfEPCOfExtPC::NbExt | ( | ) | const |
Extrema_POnCurv Extrema_PCFOfEPCOfExtPC::Point | ( | const Standard_Integer | N | ) | const |
void Extrema_PCFOfEPCOfExtPC::SetPoint | ( | const gp_Pnt & | P | ) |
Standard_Real Extrema_PCFOfEPCOfExtPC::SquareDistance | ( | const Standard_Integer | N | ) | const |
Standard_Boolean Extrema_PCFOfEPCOfExtPC::Value | ( | const Standard_Real | X, |
Standard_Real & | F | ||
) | [virtual] |
Implements math_FunctionWithDerivative.
Standard_Boolean Extrema_PCFOfEPCOfExtPC::Values | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D | ||
) | [virtual] |
Implements math_FunctionWithDerivative.