API Reference > OdGe Classes > OdGeNurbCurve3d Class > OdGeNurbCurve3d Constructor > OdGeNurbCurve3d::OdGeNurbCurve3d Constructor (OdGePoint3dArray&, OdGeVector3dArray&, OdGeTol&, bool)
OdGeNurbCurve3d::OdGeNurbCurve3d Constructor (OdGePoint3dArray&, OdGeVector3dArray&, OdGeTol&, bool)
Syntax
C++
OdGeNurbCurve3d(const OdGePoint3dArray& fitPoints, const OdGeVector3dArray& fitTangents, const OdGeTol& fitTolerance = OdGeContext::gTol, bool isPeriodic = false);
Parameters 
Description 
const OdGePoint3dArray& fitPoints 
[in] Array of points through which to fit the curve.  
const OdGeVector3dArray& fitTangents 
[in] Input vectors interpolating the curve's derivatives at fitPoints.  
const OdGeTol& fitTolerance = OdGeContext::gTol 
[in] Tolerance to which the curve should approximate fitPoints.  
bool isPeriodic = false 
[in] True if and only if the curve is periodic. 

Constructor for the OdGeNurbCurve3d class. 

 

Constructs a 3D curve interpolating a given array of 3D points within given tolerance. If isPeriodic is true, then the first and the last fitPoints must be identical. Same must be true for fitTangents.

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