# NurbsSurfaceInterpolator

## Overview

NurbsSurfaceInterpolator describes a 3D NURBS curve and outputs interpolated position and normal values.

The NurbsSurfaceInterpolator node belongs to the **NURBS** component and requires at least level **1,** its default container field is *children.* It is available from X3D version 3.0 or higher.

## Hierarchy

1
2
3

+ X3DNode
+ X3DChildNode
+ NurbsSurfaceInterpolator

## Fields

### SFNode [in, out] **metadata** NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

#### Hint

### SFVec2f [in] **set_fraction** (-∞,∞)

Setting *fraction* in range [0,1] selects input key for corresponding keyValue output, computing a 3D position on the curve.

#### Hint

*set_fraction*values are typically in same range interval as values in the key array. Response to an input*set_fraction*value less than minimum is equivalent to minimum key, and response to an input*set_fraction*value greater than maximum is equivalent to maximum key.

#### Warning

- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.

### SFInt32 [ ] **uOrder** 3 [2,∞)

Define order of surface by polynomials of degree = order-1.

### SFInt32 [ ] **vOrder** 3 [2,∞)

Define order of surface by polynomials of degree = order-1.

### SFInt32 [ ] **uDimension** 0 [0,∞)

Number of control points in u dimension.

### SFInt32 [ ] **vDimension** 0 [0,∞)

Number of control points in v dimension.

### MFDouble [ ] **uKnot** [ ] (-∞,∞)

Knot vector, where size = number of control points + order of curve.

### MFDouble [ ] **vKnot** [ ] (-∞,∞)

Knot vector, where size = number of control points + order of curve.

### MFDouble [in, out] **weight** [ ] (-∞,∞)

Output values for linear interpolation, each corresponding to knots.

#### Hint

- Number of weights must match number of knots!

### SFNode [in, out] **controlPoint** NULL [X3DCoordinateNode]

Single contained Coordinate or CoordinateDouble node that can specify control points for NURBS geometry definitions.

### SFVec3f [out] **normal_changed**

Computationaly interpolated output value determined by current key time and corresponding keyValue pair.

#### Warning

- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.

### SFVec3f [out] **position_changed**

Computationaly interpolated output value determined by current key time and corresponding keyValue pair.

#### Warning

- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.

## Advice

### Hint

- The SFNode controlPoint field can contain a single Coordinate or CoordinateDouble node.