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

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

#include <Extrema_GlobOptFuncConicS.hxx>

Inheritance diagram for Extrema_GlobOptFuncConicS:
Inheritance graph
[legend]

Public Member Functions

 Extrema_GlobOptFuncConicS (const Adaptor3d_Curve *C, const Adaptor3d_Surface *S)
 Curve and surface should exist during all the lifetime of Extrema_GlobOptFuncConicS.
 
 Extrema_GlobOptFuncConicS (const Adaptor3d_Surface *S)
 
 Extrema_GlobOptFuncConicS (const Adaptor3d_Surface *S, const double theUf, const double theUl, const double theVf, const double theVl)
 
void LoadConic (const Adaptor3d_Curve *S, const double theTf, const double theTl)
 
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.
 
double ConicParameter (const math_Vector &theUV) const
 Parameter of conic for point on surface defined by theUV.
 
- 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_GlobOptFuncConicS() [1/3]

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

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

◆ Extrema_GlobOptFuncConicS() [2/3]

Extrema_GlobOptFuncConicS::Extrema_GlobOptFuncConicS ( const Adaptor3d_Surface * S)

◆ Extrema_GlobOptFuncConicS() [3/3]

Extrema_GlobOptFuncConicS::Extrema_GlobOptFuncConicS ( const Adaptor3d_Surface * S,
const double theUf,
const double theUl,
const double theVf,
const double theVl )

Member Function Documentation

◆ ConicParameter()

double Extrema_GlobOptFuncConicS::ConicParameter ( const math_Vector & theUV) const

Parameter of conic for point on surface defined by theUV.

◆ LoadConic()

void Extrema_GlobOptFuncConicS::LoadConic ( const Adaptor3d_Curve * S,
const double theTf,
const double theTl )

◆ NbVariables()

int Extrema_GlobOptFuncConicS::NbVariables ( ) const
overridevirtual

Returns the number of variables of the function.

Implements math_MultipleVarFunction.

◆ Value()

bool Extrema_GlobOptFuncConicS::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: