C++
GE_DLLEXPIMPORT AcGeNurbCurve2d( int degree, const AcGePolyline2d& fitPolyline, Adesk::Boolean isPeriodic = Adesk::kFalse );
Description
Constructs a 2D rational 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.
Parameters
Parameters | Description |
---|---|
degree | Input degree of spline |
fitPolyline | Input polyline whose fit points are interpolated by the spline curve |
isPeriodic | Returns flag indicating if spline is a closed curve |