Open CASCADE Technology
7.2.0
|
#include <Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx>
Public Member Functions | |
Extrema_PCFOfEPCOfELPCOfLocateExtPC () | |
Extrema_PCFOfEPCOfELPCOfLocateExtPC (const gp_Pnt &P, const Adaptor3d_Curve &C) | |
void | Initialize (const Adaptor3d_Curve &C) |
sets the field mycurve of the function. More... | |
void | SetPoint (const gp_Pnt &P) |
sets the field P of the function. More... | |
Standard_Boolean | Value (const Standard_Real U, Standard_Real &F) override |
Calculation of F(U). More... | |
Standard_Boolean | Derivative (const Standard_Real U, Standard_Real &DF) override |
Calculation of F'(U). More... | |
Standard_Boolean | Values (const Standard_Real U, Standard_Real &F, Standard_Real &DF) override |
Calculation of F(U) and F'(U). More... | |
virtual Standard_Integer | GetStateNumber () override |
Save the found extremum. More... | |
Standard_Integer | NbExt () const |
Return the nunber of found extrema. More... | |
Standard_Real | SquareDistance (const Standard_Integer N) const |
Returns the Nth distance. More... | |
Standard_Boolean | IsMin (const Standard_Integer N) const |
Shows if the Nth distance is a minimum. More... | |
const Extrema_POnCurv & | Point (const Standard_Integer N) const |
Returns the Nth extremum. More... | |
void | SubIntervalInitialize (const Standard_Real theUfirst, const Standard_Real theUlast) |
Determines boundaries of subinterval for find of root. More... | |
Standard_Real | SearchOfTolerance () |
Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0. More... | |
Public Member Functions inherited from math_FunctionWithDerivative | |
virtual | ~math_FunctionWithDerivative () |
Public Member Functions inherited from math_Function | |
virtual | ~math_Function () |
Virtual destructor, for safe inheritance. More... | |
Extrema_PCFOfEPCOfELPCOfLocateExtPC::Extrema_PCFOfEPCOfELPCOfLocateExtPC | ( | ) |
Extrema_PCFOfEPCOfELPCOfLocateExtPC::Extrema_PCFOfEPCOfELPCOfLocateExtPC | ( | const gp_Pnt & | P, |
const Adaptor3d_Curve & | C | ||
) |
|
overridevirtual |
Calculation of F'(U).
Implements math_FunctionWithDerivative.
|
overridevirtual |
Save the found extremum.
Reimplemented from math_Function.
void Extrema_PCFOfEPCOfELPCOfLocateExtPC::Initialize | ( | const Adaptor3d_Curve & | C | ) |
sets the field mycurve of the function.
Standard_Boolean Extrema_PCFOfEPCOfELPCOfLocateExtPC::IsMin | ( | const Standard_Integer | N | ) | const |
Shows if the Nth distance is a minimum.
Standard_Integer Extrema_PCFOfEPCOfELPCOfLocateExtPC::NbExt | ( | ) | const |
Return the nunber of found extrema.
const Extrema_POnCurv& Extrema_PCFOfEPCOfELPCOfLocateExtPC::Point | ( | const Standard_Integer | N | ) | const |
Returns the Nth extremum.
Standard_Real Extrema_PCFOfEPCOfELPCOfLocateExtPC::SearchOfTolerance | ( | ) |
Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.
void Extrema_PCFOfEPCOfELPCOfLocateExtPC::SetPoint | ( | const gp_Pnt & | P | ) |
sets the field P of the function.
Standard_Real Extrema_PCFOfEPCOfELPCOfLocateExtPC::SquareDistance | ( | const Standard_Integer | N | ) | const |
Returns the Nth distance.
void Extrema_PCFOfEPCOfELPCOfLocateExtPC::SubIntervalInitialize | ( | const Standard_Real | theUfirst, |
const Standard_Real | theUlast | ||
) |
Determines boundaries of subinterval for find of root.
|
overridevirtual |
Calculation of F(U).
Implements math_FunctionWithDerivative.
|
overridevirtual |
Calculation of F(U) and F'(U).
Implements math_FunctionWithDerivative.