API Reference > OdDg Classes > OdDgBSplineCurve2d Class > OdDgBSplineCurve2d Methods > getFitData Method > OdDgBSplineCurve2d::getFitData Method (OdGePoint2dArray&, OdUInt32&, bool&, OdGeVector2d&, OdGeVector2d&)
OdDgBSplineCurve2d::getFitData Method (OdGePoint2dArray&, OdUInt32&, bool&, OdGeVector2d&, OdGeVector2d&)
Syntax
C++
OdResult getFitData(OdGePoint2dArray& fitPoints, OdUInt32& uOrder, bool& tangentsExist, OdGeVector2d& startTangent, OdGeVector2d& endTangent) const;
Parameters 
Description 
OdGePoint2dArray& fitPoints 
[out] Receives the fit points.  
OdUInt32& uOrder 
[out] Receives the order.  
bool& tangentsExist 
[out] Receives true if and only if start and end tangents are used.  
OdGeVector2d& startTangent 
[out] Receives the start point tangent.  
OdGeVector2d& endTangent 
[out] Receives the end point tangent.  
bUniformKnots 
[out] Receives the knot parametrization type (uniform or chordLength). 

Returns the fit data for this Spline entity. 

 

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