File indexing completed on 2025-01-18 10:03:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BSplSLib_EvaluatorFunction_HeaderFile
0018 #define _BSplSLib_EvaluatorFunction_HeaderFile
0019
0020 #ifndef _Standard_Integer_HeaderFile
0021 #include <Standard_Integer.hxx>
0022 #endif
0023 #ifndef _Standard_Real_HeaderFile
0024 #include <Standard_Real.hxx>
0025 #endif
0026 #ifndef _Standard_PrimitiveTypes_HeaderFile
0027 #endif
0028
0029
0030
0031 class BSplSLib_EvaluatorFunction
0032 {
0033 public:
0034
0035
0036 BSplSLib_EvaluatorFunction () {}
0037
0038
0039 virtual ~BSplSLib_EvaluatorFunction () {}
0040
0041
0042 virtual void Evaluate (const Standard_Integer theDerivativeRequest,
0043 const Standard_Real theUParameter,
0044 const Standard_Real theVParameter,
0045 Standard_Real& theResult,
0046 Standard_Integer& theErrorCode) const = 0;
0047
0048
0049 void operator () (const Standard_Integer theDerivativeRequest,
0050 const Standard_Real theUParameter,
0051 const Standard_Real theVParameter,
0052 Standard_Real& theResult,
0053 Standard_Integer& theErrorCode) const
0054 {
0055 Evaluate (theDerivativeRequest, theUParameter, theVParameter, theResult, theErrorCode);
0056 }
0057
0058 private:
0059
0060
0061 BSplSLib_EvaluatorFunction (const BSplSLib_EvaluatorFunction&) {}
0062
0063
0064 void operator = (const BSplSLib_EvaluatorFunction&) {}
0065 };
0066
0067 #endif