Open CASCADE Technology 7.8.2.dev
AdvApprox_EvaluatorFunction Class Referenceabstract

Interface for a class implementing a function to be approximated by AdvApprox_ApproxAFunction. More...

#include <AdvApprox_EvaluatorFunction.hxx>

Public Member Functions

 AdvApprox_EvaluatorFunction ()
 Empty constructor.
 
virtual ~AdvApprox_EvaluatorFunction ()
 Destructor should be declared as virtual.
 
virtual void Evaluate (Standard_Integer *Dimension, Standard_Real StartEnd[2], Standard_Real *Parameter, Standard_Integer *DerivativeRequest, Standard_Real *Result, Standard_Integer *ErrorCode)=0
 Function evaluation method to be defined by descendant.
 
void operator() (Standard_Integer *Dimension, Standard_Real StartEnd[2], Standard_Real *Parameter, Standard_Integer *DerivativeRequest, Standard_Real *Result, Standard_Integer *ErrorCode)
 Shortcut for function-call style usage.
 

Detailed Description

Interface for a class implementing a function to be approximated by AdvApprox_ApproxAFunction.

Constructor & Destructor Documentation

◆ AdvApprox_EvaluatorFunction()

AdvApprox_EvaluatorFunction::AdvApprox_EvaluatorFunction ( )
inline

Empty constructor.

◆ ~AdvApprox_EvaluatorFunction()

virtual AdvApprox_EvaluatorFunction::~AdvApprox_EvaluatorFunction ( )
inlinevirtual

Destructor should be declared as virtual.

Member Function Documentation

◆ Evaluate()

virtual void AdvApprox_EvaluatorFunction::Evaluate ( Standard_Integer * Dimension,
Standard_Real StartEnd[2],
Standard_Real * Parameter,
Standard_Integer * DerivativeRequest,
Standard_Real * Result,
Standard_Integer * ErrorCode )
pure virtual

Function evaluation method to be defined by descendant.

◆ operator()()

void AdvApprox_EvaluatorFunction::operator() ( Standard_Integer * Dimension,
Standard_Real StartEnd[2],
Standard_Real * Parameter,
Standard_Integer * DerivativeRequest,
Standard_Real * Result,
Standard_Integer * ErrorCode )
inline

Shortcut for function-call style usage.


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