| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
This class gives a default sample (constant difference of parameter) for a function defined between two bound A,B. More...
#include <math_FunctionSample.hxx>

Public Member Functions | |
| math_FunctionSample (const Standard_Real A, const Standard_Real B, const Standard_Integer N) | |
| virtual void | Bounds (Standard_Real &A, Standard_Real &B) const | 
| Returns the bounds of parameters.   | |
| Standard_Integer | NbPoints () const | 
| Returns the number of sample points.   | |
| virtual Standard_Real | GetParameter (const Standard_Integer Index) const | 
| Returns the value of parameter of the point of range Index : A + ((Index-1)/(NbPoints-1))*B. An exception is raised if Index<=0 or Index>NbPoints.   | |
This class gives a default sample (constant difference of parameter) for a function defined between two bound A,B.
| math_FunctionSample::math_FunctionSample | ( | const Standard_Real | A, | 
| const Standard_Real | B, | ||
| const Standard_Integer | N | ||
| ) | 
      
  | 
  virtual | 
Returns the bounds of parameters.
      
  | 
  virtual | 
Returns the value of parameter of the point of range Index : A + ((Index-1)/(NbPoints-1))*B. An exception is raised if Index<=0 or Index>NbPoints.
Reimplemented in GeomLib_LogSample.
| Standard_Integer math_FunctionSample::NbPoints | ( | ) | const | 
Returns the number of sample points.