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