NurbsCurve3D.getData Method

Parent Object: NurbsCurve3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/NurbsCurve3D.h>

Description

Gets the data that defines a transient 3D NURBS rational b-spline object.

Syntax

"nurbsCurve3D_var" is a variable referencing a NurbsCurve3D object.

(returnValue, controlPoints, degree, knots, isRational, weights, isPeriodic) = nurbsCurve3D_var.getData()

#include <Core/Geometry/NurbsCurve3D.h

// Declare the output arguments.
Point3D[] controlPoints;
integer degree;
double[] knots;
boolean isRational;
double[] weights;
boolean isPeriodic;
boolean returnValue = nurbsCurve3D_var->getData(controlPoints, degree, knots, isRational, weights, isPeriodic);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
controlPoints Point3D[] The output array of control point that define the path of the spline.
degree integer The output degree of curvature of the spline.
knots double[] The output array of numbers that define the knot vector of the spline.
isRational boolean The output value indicating if the spline is rational. A rational spline will have a weight value for each control point.
weights double[] The output array of numbers that define the weights for the spline.
isPeriodic boolean The output value indicating if the spline is Periodic. A periodic curve has a start point and end point that meet (with curvature continuity) forming a closed loop.

Version

Introduced in version August 2014