Open CASCADE Technology  7.3.0
Public Member Functions

Extrema_FuncExtSS Class Reference

Function to find extrema of the distance between two surfaces. More...

#include <Extrema_FuncExtSS.hxx>

Inheritance diagram for Extrema_FuncExtSS:
Inheritance graph
[legend]

Public Member Functions

 Extrema_FuncExtSS ()
 
 Extrema_FuncExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2)
 
void Initialize (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2)
 sets the field mysurf of the function. More...
 
Standard_Integer NbVariables () const override
 Returns the number of variables of the function. More...
 
Standard_Integer NbEquations () const override
 Returns the number of equations of the function. More...
 
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...
 
const Extrema_POnSurfPointOnS1 (const Standard_Integer N) const
 Return the Nth extremum on S1. More...
 
const Extrema_POnSurfPointOnS2 (const Standard_Integer N) const
 Renvoie le Nieme extremum sur S2. More...
 
- Public Member Functions inherited from math_FunctionSet
virtual ~math_FunctionSet ()
 

Detailed Description

Function to find extrema of the distance between two surfaces.

Constructor & Destructor Documentation

◆ Extrema_FuncExtSS() [1/2]

Extrema_FuncExtSS::Extrema_FuncExtSS ( )

◆ Extrema_FuncExtSS() [2/2]

Extrema_FuncExtSS::Extrema_FuncExtSS ( const Adaptor3d_Surface S1,
const Adaptor3d_Surface S2 
)

Member Function Documentation

◆ Derivatives()

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

Calculate Fi'(U,V).

Implements math_FunctionSetWithDerivatives.

◆ GetStateNumber()

virtual Standard_Integer Extrema_FuncExtSS::GetStateNumber ( )
overridevirtual

Save the found extremum.

Reimplemented from math_FunctionSet.

◆ Initialize()

void Extrema_FuncExtSS::Initialize ( const Adaptor3d_Surface S1,
const Adaptor3d_Surface S2 
)

sets the field mysurf of the function.

◆ NbEquations()

Standard_Integer Extrema_FuncExtSS::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbExt()

Standard_Integer Extrema_FuncExtSS::NbExt ( ) const

Return the number of found extrema.

◆ NbVariables()

Standard_Integer Extrema_FuncExtSS::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ PointOnS1()

const Extrema_POnSurf& Extrema_FuncExtSS::PointOnS1 ( const Standard_Integer  N) const

Return the Nth extremum on S1.

◆ PointOnS2()

const Extrema_POnSurf& Extrema_FuncExtSS::PointOnS2 ( const Standard_Integer  N) const

Renvoie le Nieme extremum sur S2.

◆ SquareDistance()

Standard_Real Extrema_FuncExtSS::SquareDistance ( const Standard_Integer  N) const

Return the value of the Nth distance.

◆ Value()

Standard_Boolean Extrema_FuncExtSS::Value ( const math_Vector UV,
math_Vector F 
)
overridevirtual

Calculate Fi(U,V).

Implements math_FunctionSetWithDerivatives.

◆ Values()

Standard_Boolean Extrema_FuncExtSS::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: