Sets the data that defines a transient 2D NURBS rational b-spline object.
"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object. |
"nurbsCurve2D_var" is a variable referencing a NurbsCurve2D object. |
| Type | Description |
| boolean | Returns true if successful |
| Name | Type | Description |
| controlPoints | Point2D[] | The array of control point that define the path of the spline |
| degree | integer | The degree of curvature of the spline |
| knots | double[] | An array of numbers that define the knots of the spline. |
| isRational | boolean | A bool indicating if the spline is rational. A rational spline must have a weight value for each control point. |
| weights | double[] | An array of numbers that define the weights for the spline. |
| isPeriodic | boolean | A bool specifying if the spline is to be Periodic. A periodic curve has a start point and end point that meet (with curvature continuity) forming a closed loop. |