Open CASCADE Technology
7.0.0
|
#include <Extrema_CCLocFOfLocECC2d.hxx>
Public Member Functions | |
Extrema_CCLocFOfLocECC2d (const Standard_Real thetol=1.0e-10) | |
Extrema_CCLocFOfLocECC2d (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 override |
Returns the number of variables of the function. More... | |
virtual Standard_Integer | NbEquations () const override |
Returns the number of equations of the function. More... | |
virtual Standard_Boolean | Value (const math_Vector &UV, math_Vector &F) override |
Calculate Fi(U,V). More... | |
Standard_Boolean | Derivatives (const math_Vector &UV, math_Matrix &DF) override |
Calculate Fi'(U,V). More... | |
Standard_Boolean | Values (const math_Vector &UV, math_Vector &F, math_Matrix &DF) override |
Calculate Fi(U,V) and Fi'(U,V). More... | |
virtual Standard_Integer | GetStateNumber () override |
Save the found extremum. More... | |
Standard_Integer | NbExt () const |
Return the number of found extrema. More... | |
Standard_Real | SquareDistance (const Standard_Integer N) const |
Return the value of the Nth distance. More... | |
void | Points (const Standard_Integer N, Extrema_POnCurv2d &P1, Extrema_POnCurv2d &P2) const |
Return the points of the Nth extreme distance. More... | |
Standard_Address | CurvePtr (const Standard_Integer theRank) const |
Returns a pointer to the curve specified in the constructor or in SetCurve() method. More... | |
Standard_Real | Tolerance () const |
Returns a tolerance specified in the constructor or in SetTolerance() method. More... | |
void | SubIntervalInitialize (const math_Vector &theUfirst, const math_Vector &theUlast) |
Determines of boundaries of subinterval for find of root. More... | |
Standard_Real | SearchOfTolerance (const Standard_Address C) |
Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0. More... | |
Public Member Functions inherited from math_FunctionSet | |
virtual | ~math_FunctionSet () |
Extrema_CCLocFOfLocECC2d::Extrema_CCLocFOfLocECC2d | ( | const Standard_Real | thetol = 1.0e-10 | ) |
Extrema_CCLocFOfLocECC2d::Extrema_CCLocFOfLocECC2d | ( | const Adaptor2d_Curve2d & | C1, |
const Adaptor2d_Curve2d & | C2, | ||
const Standard_Real | thetol = 1.0e-10 |
||
) |
Standard_Address Extrema_CCLocFOfLocECC2d::CurvePtr | ( | const Standard_Integer | theRank | ) | const |
Returns a pointer to the curve specified in the constructor or in SetCurve() method.
|
overridevirtual |
Calculate Fi'(U,V).
Implements math_FunctionSetWithDerivatives.
|
overridevirtual |
Save the found extremum.
Reimplemented from math_FunctionSet.
|
overridevirtual |
Returns the number of equations of the function.
Implements math_FunctionSetWithDerivatives.
Standard_Integer Extrema_CCLocFOfLocECC2d::NbExt | ( | ) | const |
Return the number of found extrema.
|
overridevirtual |
Returns the number of variables of the function.
Implements math_FunctionSetWithDerivatives.
void Extrema_CCLocFOfLocECC2d::Points | ( | const Standard_Integer | N, |
Extrema_POnCurv2d & | P1, | ||
Extrema_POnCurv2d & | P2 | ||
) | const |
Return the points of the Nth extreme distance.
Standard_Real Extrema_CCLocFOfLocECC2d::SearchOfTolerance | ( | const Standard_Address | C | ) |
Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.
void Extrema_CCLocFOfLocECC2d::SetCurve | ( | const Standard_Integer | theRank, |
const Adaptor2d_Curve2d & | C1 | ||
) |
void Extrema_CCLocFOfLocECC2d::SetTolerance | ( | const Standard_Real | theTol | ) |
Standard_Real Extrema_CCLocFOfLocECC2d::SquareDistance | ( | const Standard_Integer | N | ) | const |
Return the value of the Nth distance.
void Extrema_CCLocFOfLocECC2d::SubIntervalInitialize | ( | const math_Vector & | theUfirst, |
const math_Vector & | theUlast | ||
) |
Determines of boundaries of subinterval for find of root.
Standard_Real Extrema_CCLocFOfLocECC2d::Tolerance | ( | ) | const |
Returns a tolerance specified in the constructor or in SetTolerance() method.
|
overridevirtual |
Calculate Fi(U,V).
Implements math_FunctionSetWithDerivatives.
|
overridevirtual |
Calculate Fi(U,V) and Fi'(U,V).
Implements math_FunctionSetWithDerivatives.