File indexing completed on 2025-01-18 10:02:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _AdvApp2Var_Iso_HeaderFile
0018 #define _AdvApp2Var_Iso_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <GeomAbs_IsoType.hxx>
0025 #include <Standard_Real.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <Standard_Boolean.hxx>
0028 #include <TColStd_HArray1OfReal.hxx>
0029 #include <TColStd_HArray2OfReal.hxx>
0030 #include <AdvApp2Var_EvaluatorFunc2Var.hxx>
0031 class AdvApp2Var_Context;
0032 class AdvApp2Var_Node;
0033
0034
0035 class AdvApp2Var_Iso : public Standard_Transient
0036 {
0037 DEFINE_STANDARD_RTTIEXT(AdvApp2Var_Iso, Standard_Transient)
0038 public:
0039
0040 Standard_EXPORT AdvApp2Var_Iso();
0041
0042 Standard_EXPORT AdvApp2Var_Iso(const GeomAbs_IsoType type, const Standard_Integer iu, const Standard_Integer iv);
0043
0044 Standard_EXPORT AdvApp2Var_Iso(const GeomAbs_IsoType type, const Standard_Real cte, const Standard_Real Ufirst, const Standard_Real Ulast, const Standard_Real Vfirst, const Standard_Real Vlast, const Standard_Integer pos, const Standard_Integer iu, const Standard_Integer iv);
0045
0046 Standard_EXPORT Standard_Boolean IsApproximated() const;
0047
0048 Standard_EXPORT Standard_Boolean HasResult() const;
0049
0050 Standard_EXPORT void MakeApprox (const AdvApp2Var_Context& Conditions, const Standard_Real a, const Standard_Real b, const Standard_Real c, const Standard_Real d, const AdvApp2Var_EvaluatorFunc2Var& func, AdvApp2Var_Node& NodeBegin, AdvApp2Var_Node& NodeEnd);
0051
0052 Standard_EXPORT void ChangeDomain (const Standard_Real a, const Standard_Real b);
0053
0054 Standard_EXPORT void ChangeDomain (const Standard_Real a, const Standard_Real b, const Standard_Real c, const Standard_Real d);
0055
0056 Standard_EXPORT void SetConstante (const Standard_Real newcte);
0057
0058 Standard_EXPORT void SetPosition (const Standard_Integer newpos);
0059
0060 Standard_EXPORT void ResetApprox();
0061
0062 Standard_EXPORT void OverwriteApprox();
0063
0064 Standard_EXPORT GeomAbs_IsoType Type() const;
0065
0066 Standard_EXPORT Standard_Real Constante() const;
0067
0068 Standard_EXPORT Standard_Real T0() const;
0069
0070 Standard_EXPORT Standard_Real T1() const;
0071
0072 Standard_EXPORT Standard_Real U0() const;
0073
0074 Standard_EXPORT Standard_Real U1() const;
0075
0076 Standard_EXPORT Standard_Real V0() const;
0077
0078 Standard_EXPORT Standard_Real V1() const;
0079
0080 Standard_EXPORT Standard_Integer UOrder() const;
0081
0082 Standard_EXPORT Standard_Integer VOrder() const;
0083
0084 Standard_EXPORT Standard_Integer Position() const;
0085
0086 Standard_EXPORT Standard_Integer NbCoeff() const;
0087
0088 Standard_EXPORT const Handle(TColStd_HArray1OfReal)& Polynom() const;
0089
0090 Standard_EXPORT Handle(TColStd_HArray1OfReal) SomTab() const;
0091
0092 Standard_EXPORT Handle(TColStd_HArray1OfReal) DifTab() const;
0093
0094 Standard_EXPORT Handle(TColStd_HArray2OfReal) MaxErrors() const;
0095
0096 Standard_EXPORT Handle(TColStd_HArray2OfReal) MoyErrors() const;
0097
0098 private:
0099
0100 AdvApp2Var_Iso(const AdvApp2Var_Iso& Other);
0101 AdvApp2Var_Iso& operator= (const AdvApp2Var_Iso& theOther);
0102
0103 private:
0104
0105 GeomAbs_IsoType myType;
0106 Standard_Real myConstPar;
0107 Standard_Real myU0;
0108 Standard_Real myU1;
0109 Standard_Real myV0;
0110 Standard_Real myV1;
0111 Standard_Integer myPosition;
0112 Standard_Integer myExtremOrder;
0113 Standard_Integer myDerivOrder;
0114 Standard_Integer myNbCoeff;
0115 Standard_Boolean myApprIsDone;
0116 Standard_Boolean myHasResult;
0117 Handle(TColStd_HArray1OfReal) myEquation;
0118 Handle(TColStd_HArray2OfReal) myMaxErrors;
0119 Handle(TColStd_HArray2OfReal) myMoyErrors;
0120 Handle(TColStd_HArray1OfReal) mySomTab;
0121 Handle(TColStd_HArray1OfReal) myDifTab;
0122
0123 };
0124
0125 #endif