API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::getControlPointAndWeight Method
OdModelerGeometry::getControlPointAndWeight Method
Syntax
C++
virtual OdResult getControlPointAndWeight(int iUIndex, int iVIndex, OdGePoint3d& point, double& weight, bool& bIsRational) const = 0;
Parameters 
Description 
int iUIndex 
[in] U direction index.  
int iVIndex 
[in] V direction index.  
OdGePoint3d& point 
[out] Control point.  
double& weight 
[out] Weight value.  
bool& bIsRational 
[out] Flag determining whether this control point is rational.
 

eOk if successful or an appropriate error code otherwise.

Retrieves the control point and weight on the ModelerGeometry object by the specified indices (U, V). 

 

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