API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Constructor > OdGeNurbCurve2d::OdGeNurbCurve2d Constructor (int, OdGePolyline2d&, bool)
OdGeNurbCurve2d::OdGeNurbCurve2d Constructor (int, OdGePolyline2d&, bool)
Syntax
C++
OdGeNurbCurve2d(int degree, const OdGePolyline2d& fitPolyline, bool isPeriodic = false);
Parameters 
Description 
int degree 
[in] Degree of curve.  
const OdGePolyline2d& fitPolyline 
[in] Input polyline fit points of which are interpolated by the curve.  
bool isPeriodic = false 
[in] True if and only if the curve is periodic (closed curve). 

Constructor for the OdGeNurbCurve2d class. 

 

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. 

Currently not implemented.

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