Open CASCADE Technology 6.6.0
|
#include <Extrema_CCFOfELCC2dOfLocateExtCC2d.hxx>
Public Member Functions | |
Extrema_CCFOfELCC2dOfLocateExtCC2d (const Standard_Real thetol=1.0e-10) | |
Extrema_CCFOfELCC2dOfLocateExtCC2d (const Adaptor2d_Curve2d &C1, const Adaptor2d_Curve2d &C2, const Standard_Real thetol=1.0e-10) | |
void | SetCurve (const Standard_Integer theRank, const Adaptor2d_Curve2d &C1) |
void | SetTolerance (const Standard_Real theTol) |
virtual Standard_Integer | NbVariables () const |
Returns the number of variables of the function. | |
virtual Standard_Integer | NbEquations () const |
Returns the number of equations of the function. | |
virtual Standard_Boolean | Value (const math_Vector &UV, math_Vector &F) |
Computes the values <F> of the Functions for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
Standard_Boolean | Derivatives (const math_Vector &UV, math_Matrix &DF) |
Returns the values <D> of the derivatives for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
Standard_Boolean | Values (const math_Vector &UV, math_Vector &F, math_Matrix &DF) |
returns the values <F> of the functions and the derivatives <D> for the variable <X>. Returns True if the computation was done successfully, False otherwise. | |
virtual Standard_Integer | GetStateNumber () |
Returns the state of the function corresponding to the latestcall of any methods associated with the function. This function is called by each of the algorithms described later which define 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 |
void | Points (const Standard_Integer N, Extrema_POnCurv2d &P1, Extrema_POnCurv2d &P2) const |
Standard_Address | CurvePtr (const Standard_Integer theRank) const |
Standard_Real | Tolerance () const |
Extrema_CCFOfELCC2dOfLocateExtCC2d::Extrema_CCFOfELCC2dOfLocateExtCC2d | ( | const Standard_Real | thetol = 1.0e-10 | ) |
Extrema_CCFOfELCC2dOfLocateExtCC2d::Extrema_CCFOfELCC2dOfLocateExtCC2d | ( | const Adaptor2d_Curve2d & | C1, |
const Adaptor2d_Curve2d & | C2, | ||
const Standard_Real | thetol = 1.0e-10 |
||
) |
Standard_Address Extrema_CCFOfELCC2dOfLocateExtCC2d::CurvePtr | ( | const Standard_Integer | theRank | ) | const |
Standard_Boolean Extrema_CCFOfELCC2dOfLocateExtCC2d::Derivatives | ( | const math_Vector & | X, |
math_Matrix & | D | ||
) | [virtual] |
Implements math_FunctionSetWithDerivatives.
virtual Standard_Integer Extrema_CCFOfELCC2dOfLocateExtCC2d::GetStateNumber | ( | ) | [virtual] |
Reimplemented from math_FunctionSet.
virtual Standard_Integer Extrema_CCFOfELCC2dOfLocateExtCC2d::NbEquations | ( | ) | const [virtual] |
Implements math_FunctionSetWithDerivatives.
Standard_Integer Extrema_CCFOfELCC2dOfLocateExtCC2d::NbExt | ( | ) | const |
virtual Standard_Integer Extrema_CCFOfELCC2dOfLocateExtCC2d::NbVariables | ( | ) | const [virtual] |
Implements math_FunctionSetWithDerivatives.
void Extrema_CCFOfELCC2dOfLocateExtCC2d::Points | ( | const Standard_Integer | N, |
Extrema_POnCurv2d & | P1, | ||
Extrema_POnCurv2d & | P2 | ||
) | const |
void Extrema_CCFOfELCC2dOfLocateExtCC2d::SetCurve | ( | const Standard_Integer | theRank, |
const Adaptor2d_Curve2d & | C1 | ||
) |
void Extrema_CCFOfELCC2dOfLocateExtCC2d::SetTolerance | ( | const Standard_Real | theTol | ) |
Standard_Real Extrema_CCFOfELCC2dOfLocateExtCC2d::SquareDistance | ( | const Standard_Integer | N | ) | const |
Standard_Real Extrema_CCFOfELCC2dOfLocateExtCC2d::Tolerance | ( | ) | const |
virtual Standard_Boolean Extrema_CCFOfELCC2dOfLocateExtCC2d::Value | ( | const math_Vector & | X, |
math_Vector & | F | ||
) | [virtual] |
Implements math_FunctionSetWithDerivatives.
Standard_Boolean Extrema_CCFOfELCC2dOfLocateExtCC2d::Values | ( | const math_Vector & | X, |
math_Vector & | F, | ||
math_Matrix & | D | ||
) | [virtual] |
Implements math_FunctionSetWithDerivatives.