Class Contour2D

All Implemented Interfaces:
X3DNode, Contour2D

public class Contour2D extends X3DConcreteNode implements Contour2D
Contour2D groups a set of curve segments into a composite contour.

Contour2D node tooltip: [X3DNode] 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.
  • Warning: Contour2D is not a renderable geometry node.
  • Hint: Contour2D is used as the trimmingContour field of the NurbsTrimmedSurface node.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
  • Field Details

  • Constructor Details

    • Contour2D

      public Contour2D()
      Constructor for Contour2D to initialize member variables with default values.
    • Contour2D

      public Contour2D(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details