C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
mb_smooth_nurbs_fit_curve.h File Reference

The module of geometric constructions. More...

#include <mb_cart_point3d.h>
#include <mb_cart_point.h>
#include <templ_sptr.h>
#include <mb_operation_result.h>
#include <vector>

Classes

struct  MbApproxWeightConstraint< Vector >
 Parameters for the approximation by a NURBS curve. More...
 
class  MbApproxNurbsParameters< Point, Vector, Nurbs >
 Parameters for the approximation polyline by a NURBS curve. More...
 
struct  MbApproxError
 Approximation error information. More...
 
struct  MbApproxNurbsCurveResult< Nurbs >
 Output data for the approximation polyline by a NURBS curve. More...
 

Enumerations

enum  MbeSmoothingMethod { sm_Curvature , sm_CurvatureVariance }
 NURBS smoothing method. More...
 

Functions

template<class Point >
double ParameterizeByLength (const std::vector< Point > &aPt, c3d::DoubleVector &aPrm, double epsDegenerated=PARAM_EPSILON)
 Parameterization by length. More...
 
MbResultType ApproximatePolylineByNurbs (const MbApproxNurbsParameters< MbCartPoint3D, MbVector3D, MbNurbs3D > &param, MbApproxNurbsCurveResult< MbNurbs3D > &result)
 Approximate 3D points by NURBS curve. More...
 
MbResultType ApproximatePolylineByNurbs (const MbApproxNurbsParameters< MbCartPoint, MbVector, MbNurbs > &param, MbApproxNurbsCurveResult< MbNurbs > &result)
 Approximate 2D points by NURBS curve. More...
 

Detailed Description

The module of geometric constructions.

Data structures and functions for points approximation by NURBS curve with smoothing and points and derivatives constraints.