Open CASCADE Technology  7.2.0
Public Member Functions

GeomLib_LogSample Class Reference

#include <GeomLib_LogSample.hxx>

Inheritance diagram for GeomLib_LogSample:
Inheritance graph
[legend]

Public Member Functions

 GeomLib_LogSample (const Standard_Real A, const Standard_Real B, const Standard_Integer N)
 
virtual Standard_Real GetParameter (const Standard_Integer Index) const override
 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. More...
 
- Public Member Functions inherited from math_FunctionSample
 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. More...
 
Standard_Integer NbPoints () const
 Returns the number of sample points. More...
 

Constructor & Destructor Documentation

◆ GeomLib_LogSample()

GeomLib_LogSample::GeomLib_LogSample ( const Standard_Real  A,
const Standard_Real  B,
const Standard_Integer  N 
)

Member Function Documentation

◆ GetParameter()

virtual Standard_Real GeomLib_LogSample::GetParameter ( const Standard_Integer  Index) const
overridevirtual

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 from math_FunctionSample.


The documentation for this class was generated from the following file: