Extern :
- C3d aggiornamento librerie ( 118015).
This commit is contained in:
+11
-9
@@ -559,7 +559,8 @@ public:
|
||||
MbeFairCurvature accountCurvature; ///< \ru Учет кривизны в концевых точках. \en Accounting for curvature at end points. \~
|
||||
MbeFairVector accountInflexVector; ///< \ru Учет вектора в точке перегиба при построении NURBzS кривой (0 - направление звена S-полигона, 1 - направление касательной). \en How to take into account the vector at the inflection point at creating NURBzS (0 - direction of segment of S-polygon, 1 - direction of tangent to curve). \~
|
||||
bool tangentCorrectBspline;///< \ru Сохранение вектора в точке перегиба при построении B-кривой (0 - направление звена S-полигона, 1 - направление касательной). \en Save the vector at the inflection point at creating B-curve (0 - direction of segment of S-polygon, 1 - direction of tangent to curve). \~
|
||||
|
||||
bool yesLoop; ///< \ru Разрешить петли S-полигона. \en Allow loops of S-polygon \~
|
||||
bool yesShiftClosedArray; ///< \ru Флаг разрешает сдвиг замкнутого контура. \en The flag enables closed loop shifting. \~
|
||||
MbeFixPntTng fixPntTng; ///< \ru Фиксировать точки на касательных / касательные в точках. \en Fix the points on tangents / the tangents on points.
|
||||
MbeFairApprox approx; ///< \ru Метод аппроксимации. \en Approx method. \~
|
||||
MbeFairMethod create; ///< \ru Исходные ГО: 1 - опорная ломаная, 2 - касательная ломаная. \en Initial GD: 1 - base polyline, 2 - tangent polyline. \~
|
||||
@@ -572,10 +573,11 @@ public:
|
||||
double clothoidLMax; ///< \ru Максимальная длина начального участка клотоиды. \en Max length of initial part of Clothoid. \~
|
||||
size_t clothoidSegms; ///< \ru Количество сегментов аппроксимирующей клотоиду кривой. \en Number of segments of curve approximated the Clothoid. \~
|
||||
|
||||
size_t numberOfIterationsBSpl; ///< \ru Количество итераций построения B-сплайна (заданное и фактическое). \en The number of iterations for building the B-spline (given and actual).
|
||||
double realAccuracyBSpl; ///< \ru Точность построения B-сплайна (заданная и фактическая). \en The accuracy of creating the B-spline (given and actual).
|
||||
size_t numberOfIterationsBSpl; ///< \ru Количество итераций построения B-сплайна (заданное и фактическое). \en The number of iterations for building the B-spline (given and actual).
|
||||
double realAccuracyBSpl; ///< \ru Точность построения B-сплайна (заданная и фактическая). \en The accuracy of creating the B-spline (given and actual).
|
||||
|
||||
/// \ru Параметры аппроксимации V-кривой. \en Params of Approximation of V-curve.
|
||||
size_t defaultEndTngs; ///< \ru Способ построения концевых касательных на окружности (1) аффинное построение (0) упрощенное (2)
|
||||
bool switchEndTangents; ///< \ru Флаги учета значений концевых касательных. \en Flags accounting tangents values.
|
||||
bool switchEndCurvature; ///< \ru Флаги учета значений кривизны. \en Flags accounting curvature values.
|
||||
MbVector3D firstTangent; ///< \ru Касательная в начальной точке. \en Tangent in the first point.
|
||||
@@ -584,12 +586,12 @@ public:
|
||||
double lastCurvature; ///< \ru Значение кривизны в конечной точке. \en Curvature in the last point.
|
||||
bool smoothTorsion; ///< \ru Флаг сглаживания кручения пространственной кривой (false - незамкнут, true - замкнут). \en Sign of smoothing of torsion of curve (false - not smoothed, true - smoothed).
|
||||
double clearanceNoisy; ///< \ru Коридор отклонения сглаживающей кривой от зашумленных точек; \en Corridor of smoothing curve deviation from noisy points;
|
||||
size_t clearanceNoisyIteration; ///< \ru Количество итераций сглаживания зашумленных точек. \en Number of iterations of smoothing noisy points.
|
||||
double scaleParam; ///< \ru Параметр масштабирования. \en Scaling parameter.
|
||||
size_t clearanceNoisyIteration; ///< \ru Количество итераций сглаживания зашумленных точек. \en Number of iterations of smoothing noisy points.
|
||||
double scaleParam; ///< \ru Параметр масштабирования. \en Scaling parameter.
|
||||
bool switchFixFirstPointAtNoisy; ///< \ru Флаг фиксации сплайна в начальной точке. \en Flag of fixing a spline at the first point.
|
||||
bool switchFixLastPointAtNoisy; ///< \ru Флаг фиксации сплайна в конечной точке. \en Flag of fixing a spline at the last point.
|
||||
|
||||
const MbNurbs3D * referenceCurve; ///< \ru Кривая для сравнения с результатом аппроксимации. \en Curve for result comparing.
|
||||
const MbNurbs3D * referenceCurve; ///< \ru Кривая для сравнения с результатом аппроксимации. \en Curve for result comparing.
|
||||
|
||||
/// \ru Выходные параметры. \en Output parameters.
|
||||
MbeFairWarning warning; ///< \ru Предупреждение о работе. \en The operation warning. \~
|
||||
@@ -603,12 +605,11 @@ public:
|
||||
public:
|
||||
/// \ru Пустой конструктор. \en Empty constructor.
|
||||
MbFairCurveData() :
|
||||
fairing( fairSmooth_Yes ), arrange( false ), subdivision( fairSubdiv_Single ),
|
||||
fairing( fairSmooth_Yes ), arrange( false ), yesLoop( false ), yesShiftClosedArray( true ), subdivision( fairSubdiv_Single ),
|
||||
accountCurvature( fairCur_No ), accountInflexVector( fairVector_Tangent ),
|
||||
tangentCorrectBspline( true ),
|
||||
fixPntTng( fixPntTng_NotFix ),
|
||||
//approx( fairApprox_KnotsSpline ), create( 1 ), degreeBSpline( 8 ),
|
||||
approx( fairApprox_IsoSpline ), create( fairMethod_Polyline ), degreeBSpline( 8 ), //DEBUG 2020 25
|
||||
approx( fairApprox_IsoSpline ), create( fairMethod_Polyline ), degreeBSpline( 8 ),
|
||||
outFormat( fairFormat_Close ),
|
||||
nSegments( 4 ), numSegment( 0 ), tParam( 0.1 ),
|
||||
clothoidRMin( 50.0 ), clothoidLMax( 200.0 ), clothoidSegms( 10 ), numberOfIterationsBSpl( 1000 ),
|
||||
@@ -616,6 +617,7 @@ public:
|
||||
prt( nullptr ),
|
||||
#endif
|
||||
realAccuracyBSpl( METRIC_ACCURACY*0.1 ),
|
||||
defaultEndTngs( 0 ),
|
||||
switchEndTangents( false ), switchEndCurvature( false ),
|
||||
firstCurvature( 0.0 ), lastCurvature( 0.0 ), smoothTorsion( false ),
|
||||
clearanceNoisy( 0.002 ), clearanceNoisyIteration( 10 ), scaleParam( 1.0 ),
|
||||
|
||||
Reference in New Issue
Block a user