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] The 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] 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. 

Currently not implemented.

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