Optional
weights: number[]Optional
closed: booleanOptional
closed: booleanReturn true if its start point is identical to its end point. Otherwise, return false.
Return true if its start point is identical to its end point. Otherwise, return false.
Degree of the spline to be created.
The end point of this spline
The start point of this spline
Return the value of the control point at position index in the list of control points. If index is negative or more than the number of control points in the spline, then point is set to the last control point.
Input index (0 based) of point to get
Return the value of the control point at position index in the list of control points. If index is negative or more than the number of control points in the spline, then point is set to the last control point.
Input index (0 based) of point to get
Divide this spline into the specified nubmer of points those points as an array of points.
Input the nubmer of points returned
Return an array of point
Return new shape translated by given vector. Translation vector may be also defined by a pair of numbers.
Static
createCreate a closed spline from fit points using AcGeNurbsCurve.createClosedCurve
Array of fit points defining the curve
Knot parameterization type for NURBS
A closed spline
When this is set, it calculates the bounding box of this shape and resets this property to false. Default is false.