Interface X3DNurbsSurfaceGeometryNode

All Superinterfaces:
X3DGeometryNode, X3DNode, X3DParametricGeometryNode
All Known Subinterfaces:
NurbsPatchSurface, NurbsTrimmedSurface
All Known Implementing Classes:
NurbsPatchSurfaceObject, NurbsTrimmedSurfaceObject

public interface X3DNurbsSurfaceGeometryNode
extends X3DParametricGeometryNode
Abstract geometry type for all types of NURBS surfaces.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: TODO, X3D Abstract Specification: TODO, X3D Tooltips, X3D Scene Authoring Hints
  • Method Summary

    Modifier and Type Method Description
    X3DCoordinateNode getControlPoint()
    Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field controlPoint.
    X3DMetadataObject getMetadata()
    Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    boolean getSolid()
    Provide boolean value from initializeOnly SFBool field named solid.
    X3DNode getTexCoord()
    Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.
    boolean getUClosed()
    Provide boolean value from initializeOnly SFBool field named uClosed.
    int getUDimension()
    Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named uDimension.
    double[] getUKnot()
    Provide array of double results from initializeOnly MFDouble field named uKnot.
    int getUOrder()
    Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.
    int getUTessellation()
    Provide int value from inputOutput SFInt32 field named uTessellation.
    boolean getVClosed()
    Provide boolean value from initializeOnly SFBool field named vClosed.
    int getVDimension()
    Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named vDimension.
    double[] getVKnot()
    Provide array of double results from initializeOnly MFDouble field named vKnot.
    int getVOrder()
    Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.
    int getVTessellation()
    Provide int value from inputOutput SFInt32 field named vTessellation.
    double[] getWeight()
    Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.
    X3DNurbsSurfaceGeometryNode setControlPoint​(X3DCoordinateNode newValue)
    Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.
    X3DNurbsSurfaceGeometryNode setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    X3DNurbsSurfaceGeometryNode setSolid​(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named solid.
    X3DNurbsSurfaceGeometryNode setTexCoord​(X3DNode newValue)
    Accessor method to assign X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord. // newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1 boolean isNodeTypeAllowed = (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTextureCoordinateNode) || (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.NurbsTextureCoordinateObject); if (!
    X3DNurbsSurfaceGeometryNode setUClosed​(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.
    X3DNurbsSurfaceGeometryNode setUDimension​(int newValue)
    Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.
    X3DNurbsSurfaceGeometryNode setUKnot​(double[] newValue)
    Accessor method to assign double array to initializeOnly MFDouble field named uKnot.
    X3DNurbsSurfaceGeometryNode setUOrder​(int newValue)
    Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.
    X3DNurbsSurfaceGeometryNode setUTessellation​(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.
    X3DNurbsSurfaceGeometryNode setVClosed​(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.
    X3DNurbsSurfaceGeometryNode setVDimension​(int newValue)
    Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.
    X3DNurbsSurfaceGeometryNode setVKnot​(double[] newValue)
    Accessor method to assign double array to initializeOnly MFDouble field named vKnot.
    X3DNurbsSurfaceGeometryNode setVOrder​(int newValue)
    Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.
    X3DNurbsSurfaceGeometryNode setVTessellation​(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.
    X3DNurbsSurfaceGeometryNode setWeight​(double[] newValue)
    Accessor method to assign double array to inputOutput MFDouble field named weight.
  • Method Details

    • getControlPoint

      X3DCoordinateNode getControlPoint()
      Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field controlPoint.
      Returns:
      value of controlPoint field
    • setControlPoint

      X3DNurbsSurfaceGeometryNode setControlPoint​(X3DCoordinateNode newValue)
      Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field controlPoint.
      Parameters:
      newValue - is new value for the controlPoint field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface X3DGeometryNode
      Specified by:
      getMetadata in interface X3DNode
      Specified by:
      getMetadata in interface X3DParametricGeometryNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DGeometryNode
      Specified by:
      setMetadata in interface X3DNode
      Specified by:
      setMetadata in interface X3DParametricGeometryNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • getSolid

      boolean getSolid()
      Provide boolean value from initializeOnly SFBool field named solid.
      Returns:
      value of solid field
    • setSolid

      X3DNurbsSurfaceGeometryNode setSolid​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named solid.
      Parameters:
      newValue - is new value for the solid field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getTexCoord

      X3DNode getTexCoord()
      Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTextureCoordinateNode|NurbsTextureCoordinate, from inputOutput SFNode field texCoord.
      Returns:
      value of texCoord field
    • setTexCoord

      X3DNurbsSurfaceGeometryNode setTexCoord​(X3DNode newValue)
      Accessor method to assign X3DNode instance (using a properly typed node) to inputOutput SFNode field texCoord. // newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1 boolean isNodeTypeAllowed = (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTextureCoordinateNode) || (((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.NurbsTextureCoordinateObject); if (!isNodeTypeAllowed) { throw new org.web3d.x3d.sai.InvalidFieldValueException("X3DNode newValue is not instanceof " + "acceptableNodeTypes X3DTextureCoordinateNode|NurbsTextureCoordinate; newValue=" + newValue); }
      Parameters:
      newValue - is new value for the texCoord field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUClosed

      boolean getUClosed()
      Provide boolean value from initializeOnly SFBool field named uClosed.
      Returns:
      value of uClosed field
    • setUClosed

      X3DNurbsSurfaceGeometryNode setUClosed​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named uClosed.
      Parameters:
      newValue - is new value for the uClosed field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUDimension

      int getUDimension()
      Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named uDimension.
      Returns:
      value of uDimension field
    • setUDimension

      X3DNurbsSurfaceGeometryNode setUDimension​(int newValue)
      Accessor method to assign int value to initializeOnly SFInt32 field named uDimension.
      Parameters:
      newValue - is new value for the uDimension field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUKnot

      double[] getUKnot()
      Provide array of double results from initializeOnly MFDouble field named uKnot.
      Returns:
      value of uKnot field
    • setUKnot

      X3DNurbsSurfaceGeometryNode setUKnot​(double[] newValue)
      Accessor method to assign double array to initializeOnly MFDouble field named uKnot.
      Parameters:
      newValue - is new value for the uKnot field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUOrder

      int getUOrder()
      Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named uOrder.
      Returns:
      value of uOrder field
    • setUOrder

      X3DNurbsSurfaceGeometryNode setUOrder​(int newValue)
      Accessor method to assign int value to initializeOnly SFInt32 field named uOrder.
      Parameters:
      newValue - is new value for the uOrder field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getUTessellation

      int getUTessellation()
      Provide int value from inputOutput SFInt32 field named uTessellation.
      Returns:
      value of uTessellation field
    • setUTessellation

      X3DNurbsSurfaceGeometryNode setUTessellation​(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named uTessellation.
      Parameters:
      newValue - is new value for the uTessellation field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVClosed

      boolean getVClosed()
      Provide boolean value from initializeOnly SFBool field named vClosed.
      Returns:
      value of vClosed field
    • setVClosed

      X3DNurbsSurfaceGeometryNode setVClosed​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named vClosed.
      Parameters:
      newValue - is new value for the vClosed field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVDimension

      int getVDimension()
      Provide int value within allowed range of [0,infinity) from initializeOnly SFInt32 field named vDimension.
      Returns:
      value of vDimension field
    • setVDimension

      X3DNurbsSurfaceGeometryNode setVDimension​(int newValue)
      Accessor method to assign int value to initializeOnly SFInt32 field named vDimension.
      Parameters:
      newValue - is new value for the vDimension field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVKnot

      double[] getVKnot()
      Provide array of double results from initializeOnly MFDouble field named vKnot.
      Returns:
      value of vKnot field
    • setVKnot

      X3DNurbsSurfaceGeometryNode setVKnot​(double[] newValue)
      Accessor method to assign double array to initializeOnly MFDouble field named vKnot.
      Parameters:
      newValue - is new value for the vKnot field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVOrder

      int getVOrder()
      Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named vOrder.
      Returns:
      value of vOrder field
    • setVOrder

      X3DNurbsSurfaceGeometryNode setVOrder​(int newValue)
      Accessor method to assign int value to initializeOnly SFInt32 field named vOrder.
      Parameters:
      newValue - is new value for the vOrder field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVTessellation

      int getVTessellation()
      Provide int value from inputOutput SFInt32 field named vTessellation.
      Returns:
      value of vTessellation field
    • setVTessellation

      X3DNurbsSurfaceGeometryNode setVTessellation​(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named vTessellation.
      Parameters:
      newValue - is new value for the vTessellation field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getWeight

      double[] getWeight()
      Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.
      Returns:
      value of weight field
    • setWeight

      X3DNurbsSurfaceGeometryNode setWeight​(double[] newValue)
      Accessor method to assign double array to inputOutput MFDouble field named weight.
      Parameters:
      newValue - is new value for the weight field.
      Returns:
      X3DNurbsSurfaceGeometryNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).