File indexing completed on 2025-01-18 10:04:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PLib_Base_HeaderFile
0018 #define _PLib_Base_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Transient.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <TColStd_Array1OfReal.hxx>
0026 #include <Standard_Real.hxx>
0027
0028
0029 class PLib_Base;
0030 DEFINE_STANDARD_HANDLE(PLib_Base, Standard_Transient)
0031
0032
0033 class PLib_Base : public Standard_Transient
0034 {
0035
0036 public:
0037
0038
0039
0040
0041 Standard_EXPORT virtual void ToCoefficients (const Standard_Integer Dimension, const Standard_Integer Degree, const TColStd_Array1OfReal& CoeffinBase, TColStd_Array1OfReal& Coefficients) const = 0;
0042
0043
0044 Standard_EXPORT virtual void D0 (const Standard_Real U, TColStd_Array1OfReal& BasisValue) = 0;
0045
0046
0047
0048 Standard_EXPORT virtual void D1 (const Standard_Real U, TColStd_Array1OfReal& BasisValue, TColStd_Array1OfReal& BasisD1) = 0;
0049
0050
0051
0052 Standard_EXPORT virtual void D2 (const Standard_Real U, TColStd_Array1OfReal& BasisValue, TColStd_Array1OfReal& BasisD1, TColStd_Array1OfReal& BasisD2) = 0;
0053
0054
0055
0056 Standard_EXPORT virtual void D3 (const Standard_Real U, TColStd_Array1OfReal& BasisValue, TColStd_Array1OfReal& BasisD1, TColStd_Array1OfReal& BasisD2, TColStd_Array1OfReal& BasisD3) = 0;
0057
0058
0059 Standard_EXPORT virtual Standard_Integer WorkDegree() const = 0;
0060
0061
0062
0063
0064
0065
0066
0067 Standard_EXPORT virtual void ReduceDegree (const Standard_Integer Dimension, const Standard_Integer MaxDegree, const Standard_Real Tol, Standard_Real& BaseCoeff, Standard_Integer& NewDegree, Standard_Real& MaxError) const = 0;
0068
0069
0070
0071
0072 DEFINE_STANDARD_RTTIEXT(PLib_Base,Standard_Transient)
0073
0074 protected:
0075
0076
0077
0078
0079 private:
0080
0081
0082
0083
0084 };
0085
0086
0087
0088
0089
0090
0091
0092 #endif