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

This class implements function which calculate square Eucluidean distance between point on surface and nearest point on Conic. More...

#include <Extrema_GlobOptFuncCQuadric.hxx>

Inheritance diagram for Extrema_GlobOptFuncCQuadric:
Inheritance graph
[legend]

Public Member Functions

 Extrema_GlobOptFuncCQuadric (const Adaptor3d_Curve *C)
 Curve and surface should exist during all the lifetime of Extrema_GlobOptFuncCQuadric.
 
 Extrema_GlobOptFuncCQuadric (const Adaptor3d_Curve *C, const double theTf, const double theTl)
 
 Extrema_GlobOptFuncCQuadric (const Adaptor3d_Curve *C, const Adaptor3d_Surface *S)
 
void LoadQuad (const Adaptor3d_Surface *S, const double theUf, const double theUl, const double theVf, const double theVl)
 
int NbVariables () const override
 Returns the number of variables of the function.
 
bool Value (const math_Vector &theX, double &theF) override
 Computes the values of the Functions <F> for the variable <X>. returns True if the computation was done successfully, otherwise false.
 
void QuadricParameters (const math_Vector &theCT, math_Vector &theUV) const
 Parameters of quadric for point on curve defined by theCT.
 
- Public Member Functions inherited from math_MultipleVarFunction
virtual int GetStateNumber ()
 return the state of the function corresponding to the latestt call of any methods associated to the function. This function is called by each of the algorithms described later which define the function Integer Algorithm::StateNumber(). The algorithm has the responsibility to call this function when it has found a solution (i.e. a root or a minimum) and has to maintain the association between the solution found and this StateNumber. Byu default, this method returns 0 (which means for the algorithm: no state has been saved). It is the responsibility of the programmer to decide if he needs to save the current state of the function and to return an Integer that allows retrieval of the state.
 
virtual ~math_MultipleVarFunction ()
 

Detailed Description

This class implements function which calculate square Eucluidean distance between point on surface and nearest point on Conic.

Constructor & Destructor Documentation

◆ Extrema_GlobOptFuncCQuadric() [1/3]

Extrema_GlobOptFuncCQuadric::Extrema_GlobOptFuncCQuadric ( const Adaptor3d_Curve * C)

Curve and surface should exist during all the lifetime of Extrema_GlobOptFuncCQuadric.

◆ Extrema_GlobOptFuncCQuadric() [2/3]

Extrema_GlobOptFuncCQuadric::Extrema_GlobOptFuncCQuadric ( const Adaptor3d_Curve * C,
const double theTf,
const double theTl )

◆ Extrema_GlobOptFuncCQuadric() [3/3]

Extrema_GlobOptFuncCQuadric::Extrema_GlobOptFuncCQuadric ( const Adaptor3d_Curve * C,
const Adaptor3d_Surface * S )

Member Function Documentation

◆ LoadQuad()

void Extrema_GlobOptFuncCQuadric::LoadQuad ( const Adaptor3d_Surface * S,
const double theUf,
const double theUl,
const double theVf,
const double theVl )

◆ NbVariables()

int Extrema_GlobOptFuncCQuadric::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_MultipleVarFunction.

◆ QuadricParameters()

void Extrema_GlobOptFuncCQuadric::QuadricParameters ( const math_Vector & theCT,
math_Vector & theUV ) const

Parameters of quadric for point on curve defined by theCT.

◆ Value()

bool Extrema_GlobOptFuncCQuadric::Value ( const math_Vector & X,
double & F )
overridevirtual

Computes the values of the Functions <F> for the variable <X>. returns True if the computation was done successfully, otherwise false.

Implements math_MultipleVarFunction.


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