- C3d aggiornamento delle librerie.
This commit is contained in:
Dario Sassi
2020-09-14 16:42:31 +00:00
parent 555eae9594
commit e8f0fa2d27
332 changed files with 59308 additions and 52918 deletions
+7 -1
View File
@@ -15,7 +15,7 @@
#include <templ_s_array.h>
#define FUNC_NUMB 4 ///< \ru Количество элементов расчетного массива кубической функции Эрмита. \en The number of elements of calculation array of a cubic Hermite function.
const_expr size_t FUNC_NUMB = 4; ///< \ru Количество элементов расчетного массива кубической функции Эрмита. \en The number of elements of calculation array of a cubic Hermite function.
//------------------------------------------------------------------------------
@@ -80,6 +80,8 @@ public:
// \ru Вычислить значение и производные. \en Calculate value and derivatives of object for given parameter. \~
virtual void Explore( double & t, bool ext,
double & val, double & fir, double * sec, double * thr ) const;
// \ru Вычислить аргумент t по значению функции. \en Calculate the argument t by the function value.
virtual double Argument( double & val ) const;
virtual void Inverse( MbRegTransform * iReg = NULL ); // \ru Изменить направление \en Change direction
virtual double Step( double t, double sag ) const;
@@ -112,6 +114,10 @@ public:
size_t GetValuesCount() const; // \ru Выдать количество опорных точек \en Get the number of control points
double GetParam( size_t index ) const; // \ru Дать значение параметра точки по номеру \en Get the value of point parameter by its number
double GetValue( size_t index ) const; // \ru Дать значение точки по номеру \en Get the value of point by its number
double GetDerive( size_t index ) const; // \ru Дать значение производной по номеру \en Get the value of derivative by its number
// \ru Получить коэффициенты кубической функции на указанном интервале.
// \en Get the coefficients of the cubic function on the specified interval.
void GetCubicFactors( size_t index, double & a, double & b, double & c, double & d ) const;
private:
bool CalculateDerivatives(); // \ru Расчет производных. \en Calculation of derivatives