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.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. 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

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: Contour2D.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the Contour2D element: NURBS
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D NURBS component level for this element: 4
      See Also:
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "trimmingContour";
      containerField_ALLOWED_VALUES = {"trimmingContour" }; type xs:NMTOKEN
      See Also:
    • toField_ADDCHILDREN

      public static final String toField_ADDCHILDREN
      toField ROUTE name for MFNode field named addChildren.
      See Also:
    • fromField_CHILDREN

      public static final String fromField_CHILDREN
      fromField ROUTE name for MFNode field named children.
      See Also:
    • toField_CHILDREN

      public static final String toField_CHILDREN
      toField ROUTE name for MFNode field named children.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_REMOVECHILDREN

      public static final String toField_REMOVECHILDREN
      toField ROUTE name for MFNode field named removeChildren.
      See Also:
  • 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