NURBS function

Microsoft Office ShapeSheet

NURBS function

Returns a nonuniform rational B-spline (NURBS). This function is used in the E cell in the NURBSTo geometry rows.

Syntax

NURBS(knotLast, degree, xType, yType, x1, y1, knot1, weight1, …)

knotLast

The last knot.

degree

The spline's degree.

xType

Specifies how to interpret the x input data. If xType is 0, the input x-data is interpreted as a percentage of Width. If xType is 1, the input x-data is interpreted as a local coordinate.

yType

Specifies how to interpret the y input data. If yType is 0, the input y-data is interpreted as a percentage of Height. If yType is 1, the input y-data is interpreted as a local coordinate. Specifies how to interpret the x and y input data, respectively. If xType or yType is 0, the input data is interpreted as a percentage of the height. If xType or yType is 1, the input data is interpreted as a local coordinate.

x1

An x-coordinate.

y1

A y-coordinate.

knot1

A knot on the B-spline.

weight1

A weight on the B-spline.

Remarks

For every x argument, there must be a y argument, otherwise an error is returned.

You must specify an x, y, knot, and weight argument, otherwise an error is returned.