Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeNurbCurve3d::OdGeNurbCurve3d Constructor (int, const OdGePolyline3d&, bool)
Syntax
C++
OdGeNurbCurve3d(int degree, const OdGePolyline3d& fitPolyline, bool isPeriodic = false);

Constructor for the OdGeNurbCurve3d class. 

 

Parameters
Description
degree
[in] Degree of curve.
fitPolyline
[in] Input polyline fit points of which are interpolated by the curve.
isPeriodic
[in] true if and only if the curve is periodic.

Constructs a 3D spline by a degree and fit points provided by a polyline. If isPeriodic is true then the first and the last fitPoints from fitPolyLine must be identical. 

High degree values make curve more flexible. For example degree 1 is used to define a segment, degree 2 is used to define a nurb circle, etc.

Copyright © 2002-2022. Open Design Alliance All rights reserved.