API Reference > OdDg Classes > OdDgBSplineCurve2d Class > OdDgBSplineCurve2d Methods > setFitData Method > OdDgBSplineCurve2d::setFitData Method (OdGePoint2dArray&, OdGeVector2d&, OdGeVector2d&, bool)
OdDgBSplineCurve2d::setFitData Method (OdGePoint2dArray&, OdGeVector2d&, OdGeVector2d&, bool)
Syntax
C++
OdResult setFitData(const OdGePoint2dArray& fitPoints, const OdGeVector2d& startTangent, const OdGeVector2d& endTangent, bool bClosed);
Parameters 
Description 
const OdGePoint2dArray& fitPoints 
[in] Fit points.  
const OdGeVector2d& startTangent 
[in] Start point tangent.  
const OdGeVector2d& endTangent 
[in] End point tangent. [in] Knot parametrization. 

Sets the fit data for this Spline entity.

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