Open CASCADE Technology 7.8.0
Public Member Functions
Extrema_PCLocFOfLocEPCOfLocateExtPC2d Class Reference

#include <Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx>

Inheritance diagram for Extrema_PCLocFOfLocEPCOfLocateExtPC2d:
Inheritance graph
[legend]

Public Member Functions

 Extrema_PCLocFOfLocEPCOfLocateExtPC2d ()
 
 Extrema_PCLocFOfLocEPCOfLocateExtPC2d (const gp_Pnt2d &P, const Adaptor2d_Curve2d &C)
 
void Initialize (const Adaptor2d_Curve2d &C)
 sets the field mycurve of the function.
 
void SetPoint (const gp_Pnt2d &P)
 sets the field P of the function.
 
Standard_Boolean Value (const Standard_Real U, Standard_Real &F) override
 Calculation of F(U).
 
Standard_Boolean Derivative (const Standard_Real U, Standard_Real &DF) override
 Calculation of F'(U).
 
Standard_Boolean Values (const Standard_Real U, Standard_Real &F, Standard_Real &DF) override
 Calculation of F(U) and F'(U).
 
virtual Standard_Integer GetStateNumber () override
 Save the found extremum.
 
Standard_Integer NbExt () const
 Return the number of found extrema.
 
Standard_Real SquareDistance (const Standard_Integer N) const
 Returns the Nth distance.
 
Standard_Boolean IsMin (const Standard_Integer N) const
 Shows if the Nth distance is a minimum.
 
const Extrema_POnCurv2dPoint (const Standard_Integer N) const
 Returns the Nth extremum.
 
void SubIntervalInitialize (const Standard_Real theUfirst, const Standard_Real theUlast)
 Determines boundaries of subinterval for find of root.
 
Standard_Real SearchOfTolerance ()
 Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.
 
- 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.
 

Constructor & Destructor Documentation

◆ Extrema_PCLocFOfLocEPCOfLocateExtPC2d() [1/2]

Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Extrema_PCLocFOfLocEPCOfLocateExtPC2d ( )

◆ Extrema_PCLocFOfLocEPCOfLocateExtPC2d() [2/2]

Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Extrema_PCLocFOfLocEPCOfLocateExtPC2d ( const gp_Pnt2d P,
const Adaptor2d_Curve2d C 
)

Member Function Documentation

◆ Derivative()

Standard_Boolean Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Derivative ( const Standard_Real  U,
Standard_Real DF 
)
overridevirtual

Calculation of F'(U).

Implements math_FunctionWithDerivative.

◆ GetStateNumber()

virtual Standard_Integer Extrema_PCLocFOfLocEPCOfLocateExtPC2d::GetStateNumber ( )
overridevirtual

Save the found extremum.

Reimplemented from math_Function.

◆ Initialize()

void Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Initialize ( const Adaptor2d_Curve2d C)

sets the field mycurve of the function.

◆ IsMin()

Standard_Boolean Extrema_PCLocFOfLocEPCOfLocateExtPC2d::IsMin ( const Standard_Integer  N) const

Shows if the Nth distance is a minimum.

◆ NbExt()

Standard_Integer Extrema_PCLocFOfLocEPCOfLocateExtPC2d::NbExt ( ) const

Return the number of found extrema.

◆ Point()

const Extrema_POnCurv2d & Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Point ( const Standard_Integer  N) const

Returns the Nth extremum.

◆ SearchOfTolerance()

Standard_Real Extrema_PCLocFOfLocEPCOfLocateExtPC2d::SearchOfTolerance ( )

Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.

◆ SetPoint()

void Extrema_PCLocFOfLocEPCOfLocateExtPC2d::SetPoint ( const gp_Pnt2d P)

sets the field P of the function.

◆ SquareDistance()

Standard_Real Extrema_PCLocFOfLocEPCOfLocateExtPC2d::SquareDistance ( const Standard_Integer  N) const

Returns the Nth distance.

◆ SubIntervalInitialize()

void Extrema_PCLocFOfLocEPCOfLocateExtPC2d::SubIntervalInitialize ( const Standard_Real  theUfirst,
const Standard_Real  theUlast 
)

Determines boundaries of subinterval for find of root.

◆ Value()

Standard_Boolean Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Value ( const Standard_Real  U,
Standard_Real F 
)
overridevirtual

Calculation of F(U).

Implements math_FunctionWithDerivative.

◆ Values()

Standard_Boolean Extrema_PCLocFOfLocEPCOfLocateExtPC2d::Values ( const Standard_Real  U,
Standard_Real F,
Standard_Real DF 
)
overridevirtual

Calculation of F(U) and F'(U).

Implements math_FunctionWithDerivative.


The documentation for this class was generated from the following file: