Open CASCADE Technology
6.5.4
|
#include <BRepGProp_TFunctionOfVinertGK.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | BRepGProp_TFunctionOfVinertGK (const BRepGProp_Face &theSurface, const gp_Pnt &theVertex, const Standard_Boolean IsByPoint, const Standard_Address theCoeffs, const Standard_Real theUMin, const Standard_Real theTolerance) |
void | Init () |
void | SetNbKronrodPoints (const Standard_Integer theNbPoints) |
void | SetValueType (const GProp_ValueType aType) |
void | SetTolerance (const Standard_Real aTol) |
Standard_Real | ErrorReached () const |
Standard_Real | AbsolutError () const |
virtual Standard_Boolean | Value (const Standard_Real X, Standard_Real &F) |
Computes the value of the function <F> for a given value of variable <X>. returns True if the computation was done successfully, False otherwise. | |
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. |
DEFINE_STANDARD_ALLOC BRepGProp_TFunctionOfVinertGK::BRepGProp_TFunctionOfVinertGK | ( | const BRepGProp_Face & | theSurface, |
const gp_Pnt & | theVertex, | ||
const Standard_Boolean | IsByPoint, | ||
const Standard_Address | theCoeffs, | ||
const Standard_Real | theUMin, | ||
const Standard_Real | theTolerance | ||
) |
virtual Standard_Integer BRepGProp_TFunctionOfVinertGK::GetStateNumber | ( | ) | [virtual] |
Reimplemented from math_Function.
virtual Standard_Boolean BRepGProp_TFunctionOfVinertGK::Value | ( | const Standard_Real | X, |
Standard_Real & | F | ||
) | [virtual] |
Implements math_Function.