API Reference > OdDg Classes > OdDgBSplineCurve2d Class > OdDgBSplineCurve2d Methods > OdDgBSplineCurve2d::insertFitPointAt Method
OdDgBSplineCurve2d::insertFitPointAt Method
Syntax
C++
OdResult insertFitPointAt(OdInt32 fitPointIndex, const OdGePoint2d& point);
Parameters 
Description 
OdInt32 fitPointIndex 
[in] Fit point index.  
const OdGePoint2d& point 
[out] Receives the fit point. 

Inserts a fit point into this curve entity after the specified index. 

 

If fitPointIndex < 0, point is inserted at before the first fit point. 

If fitPointIndex >= numFitPoints(), point is appended to the spline.

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