Home NurbsCurve
X_ite
Cancel

NurbsCurve

Overview

NurbsCurve is a 3D curve analogous to NurbsPatchSurface.

The NurbsCurve node belongs to the NURBS component and its default container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

1
2
3
4
+ X3DNode
  + X3DGeometryNode
    + X3DParametricGeometryNode
      + NurbsCurve

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.

SFNode [in, out] controlPoint NULL [X3DCoordinateNode]

Input/Output field controlPoint.

Description

Hint

  • The contained controlPoint field can hold a Coordinate or CoordinateDouble node.

Example

This post is licensed under CC BY 4.0 by the author.