API Reference > OdGe Classes > OdGeNurbSurface Class > OdGeNurbSurface Methods > OdGeNurbSurface::getWeights Method
OdGeNurbSurface::getWeights Method
Syntax
C++
bool getWeights(OdGeDoubleArray& weights) const;
Parameters 
Description 
OdGeDoubleArray& weights 
[out] Array of weight values. 

true if and only if this surface has weighted control points.

Retrieves the array of weights. 

 

The weight array is an array of double values, each value is associated with a corresponding control vertex. If the weight increases, the surface pulls toward the corresponding control point. If the weight decreases, the surface pushes from the corresponding control point.

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