NURBS Function

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

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

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

Parameters

Name

Required/Optional

Data Type

Description

knotLast

Required

string

The last knot.

degree

Required

Numeric

The spline's degree.

xType

Required

Numeric

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

yType

Required

Numeric

Specifies how to interpret the y input data. If yType is 0, all y input data is interpreted as a percentage of Height. If yType is 1, all y input data is interpreted as local coordinates.

x1

Required

String

An x-coordinate.

y1

Required

String

A y-coordinate.

knot1

Required

String

A knot on the B-spline.

weight1

Required

String

A weight on the B-spline.

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

You must specify at least one x, y, knot, and weight argument; otherwise, Visio returns an error.

Show: