API Reference > OdGe Classes > OdGeCubicSplineCurve2d Class > OdGeCubicSplineCurve2d Constructor > OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d Constructor (OdGePoint2dArray&, OdGeTol&)
OdGeCubicSplineCurve2d::OdGeCubicSplineCurve2d Constructor (OdGePoint2dArray&, OdGeTol&)
Syntax
C++
OdGeCubicSplineCurve2d(const OdGePoint2dArray& fitPnts, const OdGeTol& tol = OdGeContext::gTol);
Parameters 
Description 
const OdGePoint2dArray& fitPnts 
[in] An array of 2D fit points.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Constructor for the OdGeCubicSplineCurve2d class. Constructs a periodic (closed) cubic spline curve. The last fit point must equal the first. Currently not implemented. 

 

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