API Reference > OdDb Classes > OdDbSpline Class > OdDbSpline Methods > getNurbsData Method > OdDbSpline::getNurbsData Method (int&, bool&, bool&, bool&, OdGePoint3dArray&, OdGeKnotVector&, OdGeDoubleArray&, double&)
OdDbSpline::getNurbsData Method (int&, bool&, bool&, bool&, OdGePoint3dArray&, OdGeKnotVector&, OdGeDoubleArray&, double&)
Syntax
C++
void getNurbsData(int& degree, bool& rational, bool& closed, bool& periodic, OdGePoint3dArray& controlPoints, OdGeKnotVector& knots, OdGeDoubleArray& weights, double& controlPtTol) 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.  
OdGeKnotVector& knots 
[out] Receives the knot vector.  
OdGeDoubleArray& weights 
[out] Receives an array of weights.  
double& controlPtTol 
[out] Receives the control point tolerance. 

Returns the NURBS data for this Spline entity.

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