API Reference > OdDb Classes > OdDbSpline Class > OdDbSpline Methods > setFitData Method > OdDbSpline::setFitData Method (OdGePoint3dArray&, int, double, OdGeVector3d&, OdGeVector3d&)
OdDbSpline::setFitData Method (OdGePoint3dArray&, int, double, OdGeVector3d&, OdGeVector3d&)
Syntax
C++
void setFitData(const OdGePoint3dArray& fitPoints, int degree, double fitTolerance, const OdGeVector3d& startTangent, const OdGeVector3d& endTangent);
Parameters 
Description 
const OdGePoint3dArray& fitPoints 
[in] Fit points.  
int degree 
[in] Degree.  
double fitTolerance 
[in] Fit tolerance.  
const OdGeVector3d& startTangent 
[in] Start point tangent.  
const OdGeVector3d& endTangent 
[in] End point tangent. 

Sets the fit data for this Spline entity.

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