|
C3D Toolkit
Kernel - 118072, Vision - 2.18.1.1852
|
Parameters for the approximation by a NURBS curve. More...
#include <mb_smooth_nurbs_fit_curve.h>
Public Member Functions | |
| MbApproxWeightConstraint () | |
| Default constructor. | |
| MbApproxWeightConstraint (const MbApproxWeightConstraint &that) | |
| The copy constructor. | |
| MbApproxWeightConstraint (double weight, double weightDer, const Vector &deriv) | |
| The constructor by parameters. | |
| MbApproxWeightConstraint (double weight) | |
| The constructor by parameters. | |
| MbApproxWeightConstraint & | operator= (const MbApproxWeightConstraint &that) |
| The assignment operator. | |
| double | GetWeightPoint () const |
| Get point weight. | |
| double | GetWeightDer () const |
| Get derivative weight. | |
| const Vector & | GetDerivative () const |
| Get derivative. | |
| bool | IsDerivativeConstraintDefined () const |
| Whether derivative constraint defined. | |
| bool | IsPointFixed () const |
| Whether point fixed. | |
| bool | IsDerivativeFixed () const |
| Whether derivative fixed. | |
| void | SetWeightPoint (double wt) |
| Set point weight. | |
| void | SetWeightDerivative (double wt, const Vector &der) |
| Set derivative weight. | |
Public Attributes | |
| double | _weight |
| Point's weight. Negative weight means that point is fixed. | |
| double | _weightDer |
| Derivative's weight. Negative weight means that point is fixed. Zero weight means there is no constraint. | |
| Vector | _deriv |
| Derivative value. | |
Parameters for the approximation by a NURBS curve.
Parameters for the approximation by a NURBS curve. There are two constraint types - interpolational and approximational. A sign of an interpolation constrain is any negative weight.