Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeNurbCurve3d::setWeightAt Method
Syntax
C++
OdGeNurbCurve3d& setWeightAt(int weightIndex, double weight);

Sets the weight at the specified index. 

 

Parameters
Description
weightIndex
[in] Weight index.
weight
[in] Weight at the specified fit point.

Reference to this OdGeNurbCurve3d object.

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.