API Reference > OdGe Classes > OdGeCubicSplineCurve3d Class > OdGeCubicSplineCurve3d Constructor > OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d Constructor (OdGeKnotVector&, OdGePoint3dArray&, OdGeVector3dArray&, bool)
OdGeCubicSplineCurve3d::OdGeCubicSplineCurve3d Constructor (OdGeKnotVector&, OdGePoint3dArray&, OdGeVector3dArray&, bool)
Syntax
C++
OdGeCubicSplineCurve3d(const OdGeKnotVector& knots, const OdGePoint3dArray& fitPnts, const OdGeVector3dArray& firstDerivs, bool isPeriodic = false);
Parameters 
Description 
const OdGeKnotVector& knots 
[in] Knot vector.  
const OdGePoint3dArray& fitPnts 
[in] An array of 3D fit points.  
const OdGeVector3dArray& firstDerivs 
[in] Array of first derivatives at the fit points. 
bool isPeriodic = false 
[in] True if and only if the cubic spline curve is to be periodic (closed).  

Constructor for objects of the OdGeCubicSplineCurve3d class. Constructs a cubic spline curve based on fit points, knot vectors and first derivatives at the fit points. It can create periodic (closed) and non-periodic (open) cubic spline curves. 

 

Currently not implemented.

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