Files
Extern/C3d/Include/op_general_parameter.h
SaraP 0a27141ada Extern :
- C3d aggiornamento librerie ( 118012).
2024-10-08 16:14:52 +02:00

60 lines
2.5 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
////////////////////////////////////////////////////////////////////////////////
/**
\file
\brief \ru Параметры операций.
\en Parameters of operations. \~
*/
////////////////////////////////////////////////////////////////////////////////
#ifndef __OP_GENERAL_PARAMETERS_H
#define __OP_GENERAL_PARAMETERS_H
#include <math_define.h>
//------------------------------------------------------------------------------
/** \brief \ru Параметры для многократного проецирования точек на оболочку.
\en Parameters for multiple projection of points onto the shell. \~
\details \ru Параметры для многократного проецирования точек на оболочку.
Возможны два метода - с помощью вызова метода оболчки, и с помощью проецирования на линеаризацию
оболочки и последующего уточнения.
\en Parameters for multiple projection of points onto the shell.
There are two methods are possible. First one is calling to shell projection method.
Second one is using projection onto shell triangulation as a hint for futher correction. \~
\ingroup Algorithms_3D
\warning \ru В разработке.
\en Under development. \~
*/
// ---
class MATH_CLASS MbShellProjectionParams
{
public:
//------------------------------------------------------------------------------
/** \brief \ru Перечисление методов проецирования на оболочку.
*/
// ---
enum class MethodProjection
{
byShellMethodCall, ///< \ru Вызов метода оболочки. \en Shell method calling.
byLinearizationCache ///< \ru С использованием кэша линеаризации. \en Using linearization cache.
};
private:
MethodProjection _method; ///< \ru Метод проецирования. \en Projection method.
public:
/// \ru Конструктор. \en Constructor.
MbShellProjectionParams( MethodProjection method )
: _method( method )
{}
/// \ru Деструктор. \en Destructor.
~MbShellProjectionParams() {}
///< \ru Получить способ проецирования. \en Get projection method.
MethodProjection GetMethod() const { return _method; }
OBVIOUS_PRIVATE_COPY( MbShellProjectionParams )
};
#endif // __OP_GENERAL_PARAMETERS_H