- C3d aggiornamento delle librerie ( 117910).
This commit is contained in:
SaraP
2022-08-09 08:56:28 +02:00
parent f29512578a
commit 4be7d59035
191 changed files with 6923 additions and 6366 deletions
+9 -8
View File
@@ -188,7 +188,7 @@ public:
virtual MbFunction * BreakFunction( double t, bool beg ) = 0;
/// \ru Разбить функцию параметрами: beg == true - соранить начальную половину, beg == false - соранить конечную половину.
/// \en Function break by the parameters: begs == true - save the initial half, beg == false - save the final half.
bool CuttingFunction( SArray<double> & params, bool beginSafe, double eps, RPArray<MbFunction> & cutted );
bool CuttingFunction( SArray<double> & params, bool beginSafe, double eps, RPArray<MbFunction> & cutted );
/// \ru Сместить функцию. \en Shift a function.
virtual void SetOffsetFunc( double off, double scale ) = 0;
/// \ru Установить область изменения параметра. \en Set the range of parameter.
@@ -209,23 +209,24 @@ public:
/** \} */
/// \ru Наличие нулевого значения функции. \en The presence of a null function value.
bool IsZero( double t, double accuracy = METRIC_REGION ) const;
bool IsPole( double t ) const { return IsZero( t, METRIC_REGION ); } // \ru Устаревший метод. \en Deprecated method.
bool IsZero( double t, double accuracy = METRIC_REGION ) const;
bool IsPole( double t ) const { return IsZero( t, METRIC_REGION ); } // \ru Устаревший метод. \en Deprecated method.
/// \ru Вернуть середину параметрического диапазона. \en Return the middle of parametric range.
double GetTMid() const { return ((GetTMin() + GetTMax()) * 0.5); }
double GetTMid() const { return ((GetTMin() + GetTMax()) * 0.5); }
/// \ru Параметрическая длина. \en The parametric length.
double GetParamLength () const { return GetTMax()-GetTMin(); }
double GetParamLength () const { return GetTMax()-GetTMin(); }
/// \ru Находится ли параметр в области определения функции. \en Whether the parameter belongs to the function domain.
bool IsParamOn( double t, double eps ) const { return ( GetTMin()-eps <= t && t <= GetTMax()+eps ); }
bool IsParamOn( double t, double eps ) const { return ( GetTMin()-eps <= t && t <= GetTMax()+eps ); }
/// \ru Подготовить к записи регистрируемый объект. \en Prepare for writing the registered object.
void PrepareWrite() const { SetRegistrable( (GetUseCount() > 1) ? registrable : noRegistrable ); }
void PrepareWrite() const { SetRegistrable( (GetUseCount() > 1) ? registrable : noRegistrable ); }
private:
void operator = ( const MbFunction & ); // \ru Не реализовано \en Not implemented
void operator = ( const MbFunction & ); // \ru Не реализовано \en Not implemented
DECLARE_PERSISTENT_CLASS( MbFunction )
};
IMPL_PERSISTENT_OPS( MbFunction )
#endif // __FUNCTION_H