1bec402cd9
- C3d aggiornamento delle librerie ( 117962).
61 lines
3.3 KiB
C++
61 lines
3.3 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
||
/**
|
||
\file
|
||
\brief \ru Параметры операций над каркасом.
|
||
\en Parameters of operations on the wire frame. \~
|
||
|
||
*/
|
||
////////////////////////////////////////////////////////////////////////////////
|
||
|
||
#ifndef __OP_WIREFRAME_PARAMETERS_H
|
||
#define __OP_WIREFRAME_PARAMETERS_H
|
||
|
||
#include <wire_frame.h>
|
||
|
||
|
||
//------------------------------------------------------------------------------
|
||
/** \brief \ru Параметры скругления каркаса.
|
||
\en Parameters of wire frame fillets. \~
|
||
\details \ru Параметры скругления каркаса: \n
|
||
type - тип скругления( обычное или на поверхности ). \n
|
||
radiuses - радиусы скругления, i-й радиус соответствует стыку i-го и i+1-го ребра. \n
|
||
\en Parameters of wire frame fillets: \n
|
||
'type' is a fillet type( ordinary or on a surface ). \n
|
||
'radiuses' are the fillet radii, the i-th radius corresponds to the joint of the i-th and the i+1-th edges. \n \~
|
||
\warning \ru В разработке.
|
||
\en Under development. \~
|
||
\ingroup WireFrame_Parameters
|
||
*/ // ---
|
||
class MATH_CLASS MbWireFrameFilletsParams : public MbPrecision {
|
||
private:
|
||
MbeConnectingType _type; ///< \ru Тип выполняемых скруглений. \en Fillet type( ordinary or on a surface ).
|
||
c3d::DoubleVector _radiuses; ///< \ru Множество радиусов скругления. \en An array of fillet radii.
|
||
c3d::SNameMakerSPtr _snMaker; ///< \ru Именователь с версией операции. \en Names maker with operation version.
|
||
|
||
public:
|
||
/** \brief \ru Конструктор по параметрам.
|
||
\en Constructor by parameters.\~
|
||
\details \ru Конструктор по параметрам.
|
||
\en Constructor by parameters.\~
|
||
\param[in] type - \ru Тип выполняемых скруглений. \en Fillet type.\~
|
||
\param[in] radiuses - \ru Множество радиусов скругления. \en An array of fillet radii. \~
|
||
\param[in] nameMaker - \ru Именователь с версией операции. \en Names maker with operation version.\~
|
||
*/
|
||
MbWireFrameFilletsParams( MbeConnectingType type, const c3d::DoubleVector & radiuses, const MbSNameMaker & nameMaker );
|
||
/// \ru Конструктор для чтения. \en Constructor for reading.
|
||
MbWireFrameFilletsParams( TapeInit tapeInit );
|
||
/// \ru Деструктор. \ en Destructor.
|
||
~MbWireFrameFilletsParams() {}
|
||
|
||
public:
|
||
/// \ru Получить множество радиусов скругления. \en Get an array of fillet radii.
|
||
const c3d::DoubleVector & GetRadii() const { return _radiuses; }
|
||
/// \ru Получить тип выполняемых скруглений. \en Get the type of fillets.
|
||
MbeConnectingType GetConnectingType() const { return _type; }
|
||
/// \ru Получить именователь. \en Get names maker.
|
||
const MbSNameMaker & GetNameMaker() const { return *_snMaker; }
|
||
|
||
OBVIOUS_PRIVATE_COPY( MbWireFrameFilletsParams )
|
||
};
|
||
|
||
#endif // __OP_WIREFRAME_PARAMETERS_H
|