# NurbsCurve2D

NurbsCurve2D defines a trimming segment that is part of a trimming contour in the u-v domain of a surface. NurbsCurve2D and ContourPolyline2D nodes that together form a closed contour, defined in the u-v parametric space of a NURBS surface, may be used as children in a Contour2D node.

The NurbsCurve2D node belongs to the **NURBS** component and its container field is *children.* It is available since X3D version 3.0 or later.

# Fields

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

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

### SFInt32 [in, out] **tessellation** (-∞,∞)

Hint for surface tesselation.

### SFBool [ ] **closed** FALSE

Whether or not the curve is closed (i.e. matching end values).

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

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

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

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

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

Vector assigning relative weight value to each control point.

### MFVec2d [in, out] **controlPoint** [ ] (-∞,∞)

ControlPoint defines a set of control points of dimension uDimension by vDimension, and defines a mesh where the points do not have uniform spacing.