Parameters |
Description |
int weightIndex |
[in] Weight index. |
double weight |
[in] Weight value at the fit point with the specified index. |
Reference to this OdGeNurbCurve2d object.
Sets the weight at the specified index.
The closer the weight value is to zero, the closer the curve is to a straight line near the corresponding control point. If the weight increases, the curve pulls toward the corresponding control point. If the weight decreases, the curve pushes from the corresponding control point.
Copyright © 2002–2022. Open Design Alliance. All rights reserved.
|