API Reference > OdGe Classes > OdGeNurbCurve2d Class > OdGeNurbCurve2d Constructor > OdGeNurbCurve2d::OdGeNurbCurve2d Constructor (OdGePoint2dArray&, OdGeTol&)
OdGeNurbCurve2d::OdGeNurbCurve2d Constructor (OdGePoint2dArray&, OdGeTol&)
Syntax
C++
OdGeNurbCurve2d(const OdGePoint2dArray& fitPoints, const OdGeTol& fitTolerance = OdGeContext::gTol);
Parameters 
Description 
const OdGePoint2dArray& fitPoints 
[in] Array of 2D points through which to fit the curve.  
const OdGeTol& fitTolerance = OdGeContext::gTol 
[in] Input maximal deviation of the curve from the fitPoints. 

Constructor for the OdGeNurbCurve2d class. 

 

Constructs a 2D curve interpolating a given array of 2D points within given tolerance.

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