b38b0825ee
- C3d aggiornamento delle librerie ( 114902).
72 lines
4.3 KiB
C++
72 lines
4.3 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Создание оболочки из нурбс-поверхностей
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __NURBS_SURFACES_SHELL_H
|
|
#define __NURBS_SURFACES_SHELL_H
|
|
|
|
#include <templ_rp_array.h>
|
|
#include <math_define.h>
|
|
#include <mb_operation_result.h>
|
|
|
|
|
|
class MATH_CLASS MbCreator;
|
|
class MATH_CLASS MbSNameMaker;
|
|
class MATH_CLASS MbFaceShell;
|
|
struct NurbsSurfaceValues;
|
|
class IProgressIndicator;
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
/** \brief \ru Построить оболочку из NURBS-поверхностей.
|
|
\en Construct a shell from NURBS-surfaces. \~
|
|
\details \ru Построить оболочку из NURBS-поверхностей MbSplineSurface по заданному множеству точек условно расположенных в узлах четырехугольной сетки. \n
|
|
\en Construct a shell from NURBS-surfaces MbSplineSurface by a given set of points conventionally located at the nodes of a quadrangle grid. \n \~
|
|
\param[in] params - \ru Параметры построения.
|
|
\en Parameters of a shell creation. \~
|
|
\param[in] operNames - \ru Именователь граней.
|
|
\en An object for naming faces. \~
|
|
\param[in] isPhantom - \ru Режим создания фантома.
|
|
\en Create in the phantom mode. \~
|
|
\param[out] res - \ru Код результата операции.
|
|
\en Operation result code. \~
|
|
\param[out] indicator - \ru Индикатор хода построения позволяющий прервать построение.
|
|
\en Construction process indicator which allow to interrupt the construction. \~
|
|
\result \ru Возвращает построенную оболочку.
|
|
\en Returns the constructed shell. \~
|
|
\ingroup Model_Creators
|
|
*/
|
|
// ---
|
|
MATH_FUNC (MbFaceShell *) CreateNurbsSurfacesShell( NurbsSurfaceValues & params,
|
|
const MbSNameMaker & operNames,
|
|
bool isPhantom,
|
|
MbResultType & res,
|
|
IProgressIndicator * indicator = nullptr );
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Проверить оболочку из нурбс-поверхностей
|
|
/** \brief \ru Проверить оболочку из NURBS-поверхностей.
|
|
\en Check a shell from NURBS-surfaces. \~
|
|
\details \ru Проверить построенную оболочку из NURBS-поверхностей MbSplineSurface по заданному множеству точек условно расположенных в узлах четырехугольной сетки. \n
|
|
\en Check a constructed shell from NURBS-surfaces MbSplineSurface by a given set of points conventionally located at the nodes of a quadrangle grid. \n \~
|
|
\param[in] params - \ru Параметры построения.
|
|
\en Parameters of a shell creation. \~
|
|
\param[in] shell - \ru Оболочка, построенная по заданным параметрам.
|
|
\en The shell constructed by given parameters. \~
|
|
\param[out] indicator - \ru Индикатор хода построения позволяющий прервать построение.
|
|
\en Construction process indicator which allow to interrupt the construction. \~
|
|
\result \ru Возвращает код результата операции.
|
|
\en Returns operation result code. \~
|
|
\ingroup Model_Creators
|
|
*/
|
|
// ---
|
|
MATH_FUNC (MbResultType) CheckNurbsSurfacesShell( const NurbsSurfaceValues & params,
|
|
const MbFaceShell & shell,
|
|
IProgressIndicator * indicator = nullptr );
|
|
|
|
|
|
#endif // __NURBS_SURFACES_SHELL_H
|