Open CASCADE Technology  7.5.0
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. More...
 
 Extrema_GlobOptFuncConicS (const Adaptor3d_Surface *S)
 
 Extrema_GlobOptFuncConicS (const Adaptor3d_Surface *S, const Standard_Real theUf, const Standard_Real theUl, const Standard_Real theVf, const Standard_Real theVl)
 
void LoadConic (const Adaptor3d_Curve *S, const Standard_Real theTf, const Standard_Real theTl)
 
virtual Standard_Integer NbVariables () const
 Returns the number of variables of the function. More...
 
virtual Standard_Boolean Value (const math_Vector &theX, Standard_Real &theF)
 Computes the values of the Functions <F> for the variable <X>. returns True if the computation was done successfully, otherwise false. More...
 
Standard_Real ConicParameter (const math_Vector &theUV) const
 Parameter of conic for point on surface defined by theUV. More...
 
- Public Member Functions inherited from math_MultipleVarFunction
virtual Standard_Integer 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. More...
 
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 Standard_Real  theUf,
const Standard_Real  theUl,
const Standard_Real  theVf,
const Standard_Real  theVl 
)

Member Function Documentation

◆ ConicParameter()

Standard_Real 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 Standard_Real  theTf,
const Standard_Real  theTl 
)

◆ NbVariables()

virtual Standard_Integer Extrema_GlobOptFuncConicS::NbVariables ( ) const
virtual

Returns the number of variables of the function.

Implements math_MultipleVarFunction.

◆ Value()

virtual Standard_Boolean Extrema_GlobOptFuncConicS::Value ( const math_Vector X,
Standard_Real F 
)
virtual

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: