Open CASCADE Technology 6.6.0
|
#include <Contap_TheArcFunctionOfContour.hxx>
Public Member Functions | |
Contap_TheArcFunctionOfContour () | |
void | Set (const Handle< Adaptor3d_HSurface > &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_HCurve2d > &A) |
Standard_Boolean | Value (const Standard_Real X, Standard_Real &F) |
Computes the value <F>of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. | |
Standard_Boolean | Derivative (const Standard_Real X, Standard_Real &D) |
Computes the derivative <D> of the function for the variable <X>. Returns True if the calculation were successfully done, False otherwise. | |
Standard_Boolean | Values (const Standard_Real X, Standard_Real &F, Standard_Real &D) |
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. | |
Standard_Integer | NbSamples () const |
virtual Standard_Integer | 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. | |
const gp_Pnt & | Valpoint (const Standard_Integer Index) const |
const IntSurf_Quadric & | Quadric () const |
Contap_TheArcFunctionOfContour::Contap_TheArcFunctionOfContour | ( | ) |
Standard_Boolean Contap_TheArcFunctionOfContour::Derivative | ( | const Standard_Real | X, |
Standard_Real & | D | ||
) | [virtual] |
Implements math_FunctionWithDerivative.
virtual Standard_Integer Contap_TheArcFunctionOfContour::GetStateNumber | ( | ) | [virtual] |
Reimplemented from math_Function.
Standard_Integer Contap_TheArcFunctionOfContour::NbSamples | ( | ) | const |
const IntSurf_Quadric& Contap_TheArcFunctionOfContour::Quadric | ( | ) | const |
void Contap_TheArcFunctionOfContour::Set | ( | const gp_Pnt & | Eye, |
const Standard_Real | Angle | ||
) |
void Contap_TheArcFunctionOfContour::Set | ( | const gp_Dir & | Direction | ) |
void Contap_TheArcFunctionOfContour::Set | ( | const gp_Pnt & | Eye | ) |
void Contap_TheArcFunctionOfContour::Set | ( | const Handle< Adaptor2d_HCurve2d > & | A | ) |
void Contap_TheArcFunctionOfContour::Set | ( | const gp_Dir & | Direction, |
const Standard_Real | Angle | ||
) |
void Contap_TheArcFunctionOfContour::Set | ( | const Handle< Adaptor3d_HSurface > & | S | ) |
const gp_Pnt& Contap_TheArcFunctionOfContour::Valpoint | ( | const Standard_Integer | Index | ) | const |
Standard_Boolean Contap_TheArcFunctionOfContour::Value | ( | const Standard_Real | X, |
Standard_Real & | F | ||
) | [virtual] |
Implements math_FunctionWithDerivative.
Standard_Boolean Contap_TheArcFunctionOfContour::Values | ( | const Standard_Real | X, |
Standard_Real & | F, | ||
Standard_Real & | D | ||
) | [virtual] |
Implements math_FunctionWithDerivative.