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