Parameters |
Description |
int degree |
[in] Degree of curve. |
const OdGePoint3dArray& fitPoints |
[in] Interpolation points. |
const OdGeTol& fitTol = OdGeContext::gTol |
[in] Geometric tolerance. |
Reference to this OdGeNurbCurve3d object.
Sets the fit data for this spline.
Recomputes the spline from the input fit points and makes it of the specified degree. If fitTol is not 0, then the constructed spline may not pass through the fit points. But the maximum distance from any fit point to the constructed spline will be no greater than fitTol.
High degree values make curve more flexible. For example degree 1 is used to define a polyline, degree 2 is used to define a nurb circle, etc.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|