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

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, the weight is ignored.

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