#include <Contap_ArcFunction.hxx>
|
| Contap_ArcFunction () |
|
void | Set (const Handle< Adaptor3d_Surface > &S) |
|
void | Set (const gp_Dir &Direction) |
|
void | Set (const gp_Dir &Direction, const Standard_Real Angle) |
|
void | Set (const gp_Pnt &Eye) |
|
void | Set (const gp_Pnt &Eye, const Standard_Real Angle) |
|
void | Set (const Handle< Adaptor2d_Curve2d > &A) |
|
Standard_Boolean | Value (const Standard_Real X, Standard_Real &F) override |
| Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
|
|
Standard_Boolean | Derivative (const Standard_Real X, Standard_Real &D) override |
| Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
|
|
Standard_Boolean | Values (const Standard_Real X, Standard_Real &F, Standard_Real &D) override |
| Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. More...
|
|
Standard_Integer | NbSamples () const |
|
virtual Standard_Integer | GetStateNumber () override |
| returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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...
|
|
const gp_Pnt & | Valpoint (const Standard_Integer Index) const |
|
const IntSurf_Quadric & | Quadric () const |
|
const Handle< Adaptor3d_Surface > & | Surface () const |
| Returns mySurf field. More...
|
|
const gp_Pnt & | LastComputedPoint () const |
| Returns the point, which has been computed while the last calling Value() method. More...
|
|
virtual | ~math_FunctionWithDerivative () |
|
virtual | ~math_Function () |
| Virtual destructor, for safe inheritance. More...
|
|
◆ Contap_ArcFunction()
Contap_ArcFunction::Contap_ArcFunction |
( |
| ) |
|
◆ Derivative()
Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Implements math_FunctionWithDerivative.
◆ GetStateNumber()
returns the state of the function corresponding to the latest call of any methods associated with the function. This function is called by each of the algorithms described later which defined 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.
Reimplemented from math_Function.
◆ LastComputedPoint()
const gp_Pnt& Contap_ArcFunction::LastComputedPoint |
( |
| ) |
const |
Returns the point, which has been computed while the last calling Value() method.
◆ NbSamples()
◆ Quadric()
◆ Set() [1/6]
void Contap_ArcFunction::Set |
( |
const gp_Dir & |
Direction | ) |
|
◆ Set() [2/6]
◆ Set() [3/6]
void Contap_ArcFunction::Set |
( |
const gp_Pnt & |
Eye | ) |
|
◆ Set() [4/6]
◆ Set() [5/6]
◆ Set() [6/6]
◆ Surface()
◆ Valpoint()
◆ Value()
Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Implements math_FunctionWithDerivative.
◆ Values()
Computes the value <F> and the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise.
Implements math_FunctionWithDerivative.
The documentation for this class was generated from the following file: