API Reference > OdGe Classes > OdGeNurbCurve3d Class > OdGeNurbCurve3d Methods > OdGeNurbCurve3d::addControlPointAt Method
OdGeNurbCurve3d::addControlPointAt Method
Syntax
C++
bool addControlPointAt(double newKnot, const OdGePoint3d& point, double weight = 1.0);
Parameters 
Description 
double newKnot 
[in] The knot parameter to add the control point at.  
const OdGePoint3d& point 
[in] Coordinates of the control point to be added.  
double weight = 1.0 
[in] The weight to be assigned to the control point. 

Returns true if and only if the control point is added successfully.

Adds a control point at the specified knot. 

 

If called for a non-rational spline, weight is ignored.

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