API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Methods > OdGeNurbCurve2d::numWeights Method
OdGeNurbCurve2d::numWeights Method
Syntax
C++
int numWeights() const;

Number of weights in the spline as an integer value.

Returns the number of weights in the spline.

Returns numControlPoints() if this spline is rational, 0 if it is not.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.