Post

Contour2D

Overview

Contour2D groups a set of curve segments into a composite contour. The children segments form a closed loop, with first point of first child repeated as last point of last child, and last point of each segment repeated as the first point of the next consecutive segment. The children segments are type NurbsCurve2D or ContourPolyline2D, enumerated in the consecutive order of contour topology.

The Contour2D node belongs to the NURBS component and requires at least level 4, its default container field is trimmingContour. It is available from X3D version 3.0 or higher.

Hierarchy

1
2
+ X3DNode
  + Contour2D

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

MFNode [in] addChildren

Input field addChildren.

MFNode [in] removeChildren

Input field removeChildren.

MFNode [in, out] children [ ] [NurbsCurve2D|ContourPolyline2D]

The children form a closed loop with first point of first child repeated as last point of last child, and the last point of a segment repeated as first point of the consecutive one.

Hint

  • children nodes are listed in consecutive order according to topology of the contour.

Advice

Hint

Warning

  • Contour2D is not a renderable geometry node.

See Also

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