API Reference > OdDb Classes > OdDbSpline Class > OdDbSpline Methods > OdDbSpline::insertControlPointAt Method
OdDbSpline::insertControlPointAt Method
Syntax
C++
OdResult insertControlPointAt(double knotParam, const OdGePoint3d& ctrlPt, double weight = 1.0);
Parameters 
Description 
double knotParam 
[in] The knot parameter to add the control point at.  
const OdGePoint3d& ctrlPt 
[in] Coordinates of the control point to be added.  
double weight = 1.0 
[in] The weight to be assigned to the control point. 

eOk if successful, or an appropriate error code if not.

Inserts a control point at the specified knot. 

 

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

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