API Reference > OdDb Classes > OdDbSpline Class > OdDbSpline Methods > getNurbsData Method > OdDbSpline::getNurbsData Method (int&, bool&, bool&, bool&, OdGePoint3dArray&, OdGeDoubleArray&, OdGeDoubleArray&, double&, double&)
OdDbSpline::getNurbsData Method (int&, bool&, bool&, bool&, OdGePoint3dArray&, OdGeDoubleArray&, OdGeDoubleArray&, double&, double&)
Syntax
C++
void getNurbsData(int& degree, bool& rational, bool& closed, bool& periodic, OdGePoint3dArray& controlPoints, OdGeDoubleArray& knots, OdGeDoubleArray& weights, double& controlPtTol, double& knotTol) const;
Parameters 
Description 
int& degree 
[out] Receives the degree.  
bool& rational 
[out] Receives true if and only if this Spline entity is rational.  
bool& closed 
[out] Receives true if and only if this Spline entity is closed.  
bool& periodic 
[out] Receives true if and only if this Spline entity is periodic.  
OdGePoint3dArray& controlPoints 
[out] Receives an array of WCS control points.  
OdGeDoubleArray& knots 
[out] Receives the knot vector.  
OdGeDoubleArray& weights 
[out] Receives an array of weights.  
double& controlPtTol 
[out] Receives the control point tolerance.  
double& knotTol 
[out] Receives the knot tolerance. 

Returns the NURBS data for this Spline entity.

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