Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Extrema_FuncExtCS Class Reference

Function to find extrema of the distance between a curve and a surface. More...

#include <Extrema_FuncExtCS.hxx>

Inheritance diagram for Extrema_FuncExtCS:
Inheritance graph
[legend]

Public Member Functions

 Extrema_FuncExtCS ()
 
 Extrema_FuncExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S)
 
void Initialize (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S)
 sets the field mysurf of the function.
 
int NbVariables () const override
 Returns the number of variables of the function.
 
int NbEquations () const override
 Returns the number of equations of the function.
 
bool Value (const math_Vector &UV, math_Vector &F) override
 Calculation of Fi(U,V).
 
bool Derivatives (const math_Vector &UV, math_Matrix &DF) override
 Calculation of Fi'(U,V).
 
bool Values (const math_Vector &UV, math_Vector &F, math_Matrix &DF) override
 Calculation of Fi(U,V) and Fi'(U,V).
 
int GetStateNumber () override
 Save the found extremum.
 
int NbExt () const
 Return the number of found extrema.
 
double SquareDistance (const int N) const
 Return the value of the Nth distance.
 
const Extrema_POnCurvPointOnCurve (const int N) const
 Returns the Nth extremum on C.
 
const Extrema_POnSurfPointOnSurface (const int N) const
 Return the Nth extremum on S.
 
NCollection_Sequence< double > & SquareDistances ()
 Change Sequence of SquareDistance.
 
NCollection_Sequence< Extrema_POnCurv > & PointsOnCurve ()
 Change Sequence of PointOnCurv.
 
NCollection_Sequence< Extrema_POnSurf > & PointsOnSurf ()
 Change Sequence of PointOnSurf.
 
- Public Member Functions inherited from math_FunctionSet
virtual ~math_FunctionSet ()
 

Detailed Description

Function to find extrema of the distance between a curve and a surface.

Constructor & Destructor Documentation

◆ Extrema_FuncExtCS() [1/2]

Extrema_FuncExtCS::Extrema_FuncExtCS ( )

◆ Extrema_FuncExtCS() [2/2]

Extrema_FuncExtCS::Extrema_FuncExtCS ( const Adaptor3d_Curve & C,
const Adaptor3d_Surface & S )

Member Function Documentation

◆ Derivatives()

bool Extrema_FuncExtCS::Derivatives ( const math_Vector & UV,
math_Matrix & DF )
overridevirtual

Calculation of Fi'(U,V).

Implements math_FunctionSetWithDerivatives.

◆ GetStateNumber()

int Extrema_FuncExtCS::GetStateNumber ( )
overridevirtual

Save the found extremum.

Reimplemented from math_FunctionSet.

◆ Initialize()

void Extrema_FuncExtCS::Initialize ( const Adaptor3d_Curve & C,
const Adaptor3d_Surface & S )

sets the field mysurf of the function.

◆ NbEquations()

int Extrema_FuncExtCS::NbEquations ( ) const
overridevirtual

Returns the number of equations of the function.

Implements math_FunctionSetWithDerivatives.

◆ NbExt()

int Extrema_FuncExtCS::NbExt ( ) const

Return the number of found extrema.

◆ NbVariables()

int Extrema_FuncExtCS::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_FunctionSetWithDerivatives.

◆ PointOnCurve()

const Extrema_POnCurv & Extrema_FuncExtCS::PointOnCurve ( const int N) const

Returns the Nth extremum on C.

◆ PointOnSurface()

const Extrema_POnSurf & Extrema_FuncExtCS::PointOnSurface ( const int N) const

Return the Nth extremum on S.

◆ PointsOnCurve()

NCollection_Sequence< Extrema_POnCurv > & Extrema_FuncExtCS::PointsOnCurve ( )
inline

Change Sequence of PointOnCurv.

◆ PointsOnSurf()

NCollection_Sequence< Extrema_POnSurf > & Extrema_FuncExtCS::PointsOnSurf ( )
inline

Change Sequence of PointOnSurf.

◆ SquareDistance()

double Extrema_FuncExtCS::SquareDistance ( const int N) const

Return the value of the Nth distance.

◆ SquareDistances()

NCollection_Sequence< double > & Extrema_FuncExtCS::SquareDistances ( )
inline

Change Sequence of SquareDistance.

◆ Value()

bool Extrema_FuncExtCS::Value ( const math_Vector & UV,
math_Vector & F )
overridevirtual

Calculation of Fi(U,V).

Implements math_FunctionSetWithDerivatives.

◆ Values()

bool Extrema_FuncExtCS::Values ( const math_Vector & UV,
math_Vector & F,
math_Matrix & DF )
overridevirtual

Calculation of Fi(U,V) and Fi'(U,V).

Implements math_FunctionSetWithDerivatives.


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