Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSpline::insertControlPointAt Method
Syntax
C++
OdResult insertControlPointAt(double knotParam, const OdGePoint3d& ctrlPt, double weight = 1.0);

Inserts a control point at the specified knot. 

 

Parameters
Description
knotParam
[in] The knot parameter to add the control point at.
ctrlPt
[in] Coordinates of the control point to be added.
weight
[in] The weight to be assigned to the control point.

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

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

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