Open CASCADE Technology 7.8.2.dev
Extrema_CCLocFOfLocECC Class Reference

#include <Extrema_CCLocFOfLocECC.hxx>

Inheritance diagram for Extrema_CCLocFOfLocECC:

Public Member Functions

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

Constructor & Destructor Documentation

◆ Extrema_CCLocFOfLocECC() [1/2]

Extrema_CCLocFOfLocECC::Extrema_CCLocFOfLocECC ( const Standard_Real thetol = 1.0e-10)

◆ Extrema_CCLocFOfLocECC() [2/2]

Extrema_CCLocFOfLocECC::Extrema_CCLocFOfLocECC ( const Adaptor3d_Curve & C1,
const Adaptor3d_Curve & C2,
const Standard_Real thetol = 1.0e-10 )

Member Function Documentation

◆ CurvePtr()

Standard_Address Extrema_CCLocFOfLocECC::CurvePtr ( const Standard_Integer theRank) const

Returns a pointer to the curve specified in the constructor or in SetCurve() method.

◆ Derivatives()

Standard_Boolean Extrema_CCLocFOfLocECC::Derivatives ( const math_Vector & UV,
math_Matrix & DF )
overridevirtual

Calculate Fi'(U,V).

Implements math_FunctionSetWithDerivatives.

◆ GetStateNumber()

virtual Standard_Integer Extrema_CCLocFOfLocECC::GetStateNumber ( )
overridevirtual

Save the found extremum.

Reimplemented from math_FunctionSet.

◆ NbEquations()

virtual Standard_Integer Extrema_CCLocFOfLocECC::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbExt()

Standard_Integer Extrema_CCLocFOfLocECC::NbExt ( ) const

Return the number of found extrema.

◆ NbVariables()

virtual Standard_Integer Extrema_CCLocFOfLocECC::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ Points()

void Extrema_CCLocFOfLocECC::Points ( const Standard_Integer N,
Extrema_POnCurv & P1,
Extrema_POnCurv & P2 ) const

Return the points of the Nth extreme distance.

◆ SearchOfTolerance()

Standard_Real Extrema_CCLocFOfLocECC::SearchOfTolerance ( const Standard_Address C)

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

◆ SetCurve()

void Extrema_CCLocFOfLocECC::SetCurve ( const Standard_Integer theRank,
const Adaptor3d_Curve & C1 )

◆ SetTolerance()

void Extrema_CCLocFOfLocECC::SetTolerance ( const Standard_Real theTol)

◆ SquareDistance()

Standard_Real Extrema_CCLocFOfLocECC::SquareDistance ( const Standard_Integer N) const

Return the value of the Nth distance.

◆ SubIntervalInitialize()

void Extrema_CCLocFOfLocECC::SubIntervalInitialize ( const math_Vector & theUfirst,
const math_Vector & theUlast )

Determines of boundaries of subinterval for find of root.

◆ Tolerance()

Standard_Real Extrema_CCLocFOfLocECC::Tolerance ( ) const

Returns a tolerance specified in the constructor or in SetTolerance() method.

◆ Value()

virtual Standard_Boolean Extrema_CCLocFOfLocECC::Value ( const math_Vector & UV,
math_Vector & F )
overridevirtual

Calculate Fi(U,V).

Implements math_FunctionSetWithDerivatives.

◆ Values()

Standard_Boolean Extrema_CCLocFOfLocECC::Values ( const math_Vector & UV,
math_Vector & F,
math_Matrix & DF )
overridevirtual

Calculate Fi(U,V) and Fi'(U,V).

Implements math_FunctionSetWithDerivatives.


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