C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The parameters of the construction of smooth curves based on a three-dimensional polyline. More...

#include <mb_data.h>

+ Collaboration diagram for MbFairCurveData:

Public Member Functions

 MbFairCurveData ()
 Empty constructor.
 
const IndexVectorArray & GetFixConstraints () const
 Get curve for result comparing.
 
const MbNurbs3DGetReferenceCurve () const
 Set curve for result comparing.
 
MbFairCurveDataoperator= (const MbFairCurveData &other)
 Assignment operator.
 

Public Attributes

MbeFairSmoothing fairing
 Data array for fixing points and tangents. More...
 
bool arrange
 Redistribution of points (false - without of distribution, true - with distribution) .
 
MbeFairSubdivision subdivision
 Curve subdivision coefficient .
 
MbeFairCurvature accountCurvature
 Accounting for curvature at end points.
 
MbeFairVector accountInflexVector
 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
 Save the vector at the inflection point at creating B-curve (0 - direction of segment of S-polygon, 1 - direction of tangent to curve).
 
MbeFixPntTng fixPntTng
 Fix the points on tangents / the tangents on points.
 
MbeFairApprox approx
 Approx method.
 
MbeFairMethod create
 Initial GD: 1 - base polyline, 2 - tangent polyline.
 
size_t degreeBSpline
 The degree m (3<=m<=10) of B-Spline curve.
 
MbeFairSplineFormat outFormat
 Output format of spline (2 - S-polygon, 3 - GB-polygon).
 
size_t nSegments
 Number of segments of spline.
 
size_t numSegment
 Number of segment.
 
double tParam
 Point internal param on segment of spline.
 
double clothoidRMin
 Curvature radius on end of initial part of Clothoid.
 
double clothoidLMax
 Max length of initial part of Clothoid.
 
size_t clothoidSegms
 Number of segments of curve approximated the Clothoid.
 
size_t numberOfIterationsBSpl
 The number of iterations for building the B-spline (given and actual).
 
double realAccuracyBSpl
 The accuracy of creating the B-spline (given and actual).
 
bool switchEndTangents
 Params of Approximation of V-curve. More...
 
bool switchEndCurvature
 Flags accounting curvature values.
 
MbVector3D firstTangent
 Tangent in the first point.
 
MbVector3D lastTangent
 Tangent in the last point.
 
double firstCurvature
 Curvature in the first point.
 
double lastCurvature
 Curvature in the last point.
 
bool smoothTorsion
 Sign of smoothing of torsion of curve (false - not smoothed, true - smoothed).
 
double clearanceNoisy
 Corridor of smoothing curve deviation from noisy points;.
 
size_t clearanceNoisyIteration
 Number of iterations of smoothing noisy points.
 
double scaleParam
 Scaling parameter.

 
bool switchFixFirstPointAtNoisy
 Flag of fixing a spline at the first point.
 
bool switchFixLastPointAtNoisy
 Flag of fixing a spline at the last point.
 
const MbNurbs3DreferenceCurve
 Curve for result comparing.
 
MbeFairWarning warning
 Output parameters. More...
 
MbResultType error
 The operation error.
 
MbApproxError errInfo
 Approximation error information.
 

Detailed Description

The parameters of the construction of smooth curves based on a three-dimensional polyline.

The data contains parameters for constructing splines with smooth curvature changes.

Member Data Documentation

◆ fairing

MbeFairSmoothing MbFairCurveData::fairing

Data array for fixing points and tangents.

Smoothing of curve: 0 - disable, 1 - enable, 2 - enable and correct acute angles

◆ switchEndTangents

bool MbFairCurveData::switchEndTangents

Params of Approximation of V-curve.

Flags accounting tangents values.

◆ warning

MbeFairWarning MbFairCurveData::warning

Output parameters.

The operation warning.


The documentation for this struct was generated from the following file: