|
C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Scalar function of parameter. More...
#include <function.h>
Inheritance diagram for MbFunction:
Collaboration diagram for MbFunction:Public Member Functions | |
| bool | IsZero (double t, double accuracy=METRIC_REGION) const |
| The presence of a null function value. | |
| double | GetTMid () const |
| Return the middle of parametric range. | |
| double | GetParamLength () const |
| The parametric length. | |
| bool | IsParamOn (double t, double eps) const |
| Whether the parameter belongs to the function domain. | |
| void | PrepareWrite () const |
| Prepare for writing the registered object. | |
Common functions of mathematical object | |
| virtual MbeFunctionType | IsA () const =0 |
| A type of element. | |
| virtual MbFunction & | Duplicate () const =0 |
| Create a copy of the element. | |
| virtual bool | IsSame (const MbFunction &other, double accuracy=LENGTH_EPSILON) const =0 |
| Determine whether objects are equal. | |
| virtual bool | IsSimilar (const MbFunction &) const |
| Determine whether objects are similar. | |
| virtual bool | SetEqual (const MbFunction &)=0 |
| Make equal. | |
| virtual void | GetProperties (MbProperties &)=0 |
| Get properties of the object. | |
| virtual void | SetProperties (const MbProperties &)=0 |
| Set properties of the object. | |
Common functions | |
| virtual double | GetTMax () const =0 |
| Get the maximum value of parameter. | |
| virtual double | GetTMin () const =0 |
| Get the minimum value of parameter. | |
| virtual bool | IsClosed () const =0 |
| Get the closeness of a function. | |
| virtual void | SetClosed (bool cl)=0 |
| Set the closeness of a function. | |
| virtual bool | IsPeriodic () const |
| Periodicity of a closed curve. | |
| virtual double | Value (double &t) const =0 |
| The value of function for a given t. | |
| virtual double | FirstDer (double &t) const =0 |
| The first derivative with respect to t. | |
| virtual double | SecondDer (double &t) const =0 |
| The second derivative with respect to t. | |
| virtual double | ThirdDer (double &t) const =0 |
| The third derivative with respect to t. | |
| virtual double | _Value (double t) const |
| The value of extended function for a given t. | |
| virtual double | _FirstDer (double t) const |
| The first derivative of extended function with respect to t. | |
| virtual double | _SecondDer (double t) const |
| The second derivative of extended function with respect to t. | |
| virtual double | _ThirdDer (double t) const |
| The third derivative of extended function with respect to t. | |
| virtual void | Explore (double &t, bool ext, double &val, double &fir, double *sec, double *thr) const |
| Calculate value and derivatives of object for given parameter. More... | |
| MbeNewtonResult | ArgumentNewton (double value, bool ext, double funcEpsilon, size_t iterLimit, double &t) const |
| virtual double | Argument (double &val) const |
| virtual void | Inverse (MbRegTransform *iReg=nullptr)=0 |
| Change direction. | |
| virtual double | Step (double t, double sag) const =0 |
| Calculate a step by the sag for a given parameter t. | |
| virtual double | DeviationStep (double t, double angle) const =0 |
| Calculate a step by the angular deviation for a given parameter t. | |
| virtual double | MinValue (double &t) const =0 |
| The minimum value of function. | |
| virtual double | MaxValue (double &t) const =0 |
| The maximum value of function. | |
| virtual double | MidValue () const =0 |
| The middle value of function. | |
| virtual bool | IsGood () const =0 |
| Correctness of function. | |
| virtual bool | IsConst () const =0 |
| Whether the function is constant. | |
| virtual bool | IsLine () const =0 |
| Whether the function is linear. | |
| virtual MbFunction * | Trimmed (double t1, double t2, int sense) const =0 |
| Create a function in part of the function between the parameters t1 and t2 choosing the direction. | |
| virtual MbFunction * | BreakFunction (double t, bool beg)=0 |
| Function break by the parameter t, and cut off part of the function: begs == true - save the initial half, beg == false - save the final half. | |
| bool | CuttingFunction (SArray< double > ¶ms, bool beginSafe, double eps, RPArray< MbFunction > &cutted) |
| Function break by the parameters: begs == true - save the initial half, beg == false - save the final half. | |
| virtual void | SetOffsetFunc (double off, double scale)=0 |
| Shift a function. | |
| virtual bool | SetLimitParam (double newTMin, double newTMax) |
| Set the range of parameter. | |
| virtual void | SetLimitValue (size_t n, double newValue)=0 |
| Set the value at the end (1 - at start point, 2 - at end point). | |
| virtual double | GetLimitValue (size_t n) const =0 |
| Get the value at the end (1 - at start point, 2 - at end point). | |
| virtual void | SetLimitDerive (size_t n, double newValue, double dt) |
| Set the value of derivative at the end (1 - at start point, 2 - at end point). | |
| virtual double | GetLimitDerive (size_t n) const |
| Get the value of derivative at the end (1 - at start point, 2 - at end point). | |
| virtual bool | InsertValue (double t, double newValue) |
| Set the value for the parameter t. | |
| virtual void | GetCharacteristicParams (std::vector< double > &tSpecific, double t1, double t2) |
| Get the parameters of special behaviour on the interval from t1 to t2 (for cos it is Pi*n). | |
| virtual void | BreakPoints (std::vector< double > &vBreaks, double precision=ANGLE_REGION) const |
| \ ru Определение точек излома функции. The determination of function smoothness break points. | |
Public Member Functions inherited from MbRefItem | |
| virtual MbeRefType | RefType () const |
| Registration type (for copying, duplication). | |
| refcount_t | GetUseCount () const |
| Get count of references (get count of owners of an object). | |
| refcount_t | AddRef () const |
| Increase count of references by one. | |
| refcount_t | DecRef () const |
| Decrease count of references by one. | |
| refcount_t | Release () const |
| Decrease count of references by one and if count of references became zero, then remove itself. | |
Public Member Functions inherited from TapeBase | |
| TapeBase (RegistrableRec regs=noRegistrable) | |
| Constructor. | |
| TapeBase (const TapeBase &) | |
| Copy-constructor. | |
| virtual | ~TapeBase () |
| Destructor. | |
| RegistrableRec | GetRegistrable () const |
| Whether the stream class is registrable. | |
| void | SetRegistrable (RegistrableRec regs=registrable) const |
| Set the state of registration of the stream class. | |
| virtual const char * | GetPureName (const VersionContainer &) const |
| Get the class name. | |
| virtual bool | IsFamilyRegistrable () const |
| Whether the object belongs to a registrable family. | |
Additional Inherited Members | |
Protected Member Functions inherited from MbRefItem | |
| MbRefItem () | |
| Constructor without parameters. | |
Scalar function of parameter.
Scalar function of parameter.