Package org.web3d.x3d.sai.NURBS
Interface NurbsCurve2D
 All Superinterfaces:
X3DNode
,X3DNurbsControlCurveNode
 All Known Implementing Classes:
NurbsCurve2DObject
public interface NurbsCurve2D extends X3DNurbsControlCurveNode
NurbsCurve2D defines a trimming segment that is part of a trimming contour in the uv domain of a surface.
X3D node tooltip: [X3DNurbsControlCurveNode] NurbsCurve2D defines a trimming segment that is part of a trimming contour in the uv domain of a surface. NurbsCurve2D and ContourPolyline2D nodes that together form a closed contour, defined in the uv parametric space of a NURBS surface, may be used as children in a Contour2D node.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
X3D node tooltip: [X3DNurbsControlCurveNode] NurbsCurve2D defines a trimming segment that is part of a trimming contour in the uv domain of a surface. NurbsCurve2D and ContourPolyline2D nodes that together form a closed contour, defined in the uv parametric space of a NURBS surface, may be used as children in a Contour2D node.
 Warning: NurbsCurve2D is not a renderable geometry node.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).

Method Summary
Modifier and Type Method Description boolean
getClosed()
Provide boolean value from initializeOnly SFBool field named closed.double[]
getControlPoint()
Provide array of 2tuple double results from inputOutput MFVec2d field named controlPoint.double[]
getKnot()
Provide array of double results from initializeOnly MFDouble field named knot.X3DMetadataObject
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.int
getOrder()
Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named order.int
getTessellation()
Provide int value from inputOutput SFInt32 field named tessellation.double[]
getWeight()
Provide array of double results within allowed range of (0,infinity) from inputOutput MFDouble field named weight.NurbsCurve2D
setClosed(boolean newValue)
Accessor method to assign boolean value to initializeOnly SFBool field named closed.NurbsCurve2D
setControlPoint(double[] newValue)
Accessor method to assign 2tuple double array to inputOutput MFVec2d field named controlPoint.NurbsCurve2D
setKnot(double[] newValue)
Accessor method to assign double array to initializeOnly MFDouble field named knot.NurbsCurve2D
setMetadata(X3DMetadataObject newValue)
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.NurbsCurve2D
setOrder(int newValue)
Accessor method to assign int value to initializeOnly SFInt32 field named order.NurbsCurve2D
setTessellation(int newValue)
Accessor method to assign int value to inputOutput SFInt32 field named tessellation.NurbsCurve2D
setWeight(double[] newValue)
Accessor method to assign double array to inputOutput MFDouble field named weight.

Method Details

getClosed
boolean getClosed()Provide boolean value from initializeOnly SFBool field named closed.
Tooltip: Whether or not the curve is closed (i.e. matching end values). * Returns:
 value of closed field

setClosed
Accessor method to assign boolean value to initializeOnly SFBool field named closed.
Tooltip: Whether or not the curve is closed (i.e. matching end values). * Parameters:
newValue
 is new value for the closed field. Returns:
NurbsCurve2D
 namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).

getControlPoint
double[] getControlPoint()Provide array of 2tuple double results from inputOutput MFVec2d field named controlPoint.
Tooltip: controlPoint defines a set of control points of dimension uDimension by vDimension, and defines a mesh where the points do not have uniform spacing. * Specified by:
getControlPoint
in interfaceX3DNurbsControlCurveNode
 Returns:
 value of controlPoint field

setControlPoint
Accessor method to assign 2tuple double array to inputOutput MFVec2d field named controlPoint.
Tooltip: controlPoint defines a set of control points of dimension uDimension by vDimension, and defines a mesh where the points do not have uniform spacing. * Specified by:
setControlPoint
in interfaceX3DNurbsControlCurveNode
 Parameters:
newValue
 is new value for the controlPoint field. Returns:
NurbsCurve2D
 namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).

getKnot
double[] getKnot()Provide array of double results from initializeOnly MFDouble field named knot.
Tooltip: knot vector, where size = number of control points + order of curve. * Returns:
 value of knot field

setKnot
Accessor method to assign double array to initializeOnly MFDouble field named knot.
Tooltip: knot vector, where size = number of control points + order of curve. * Parameters:
newValue
 is new value for the knot field. Returns:
NurbsCurve2D
 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 interfaceX3DNode
 Specified by:
getMetadata
in interfaceX3DNurbsControlCurveNode
 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 interfaceX3DNode
 Specified by:
setMetadata
in interfaceX3DNurbsControlCurveNode
 Parameters:
newValue
 is new value for the metadata field. Returns:
NurbsCurve2D
 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

getOrder
int getOrder()Provide int value within allowed range of [2,infinity) from initializeOnly SFInt32 field named order.
Tooltip: define order of surface by polynomials of degree = order1. * Returns:
 value of order field

setOrder
Accessor method to assign int value to initializeOnly SFInt32 field named order.
Tooltip: define order of surface by polynomials of degree = order1. * Parameters:
newValue
 is new value for the order field. Returns:
NurbsCurve2D
 namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).

getTessellation
int getTessellation()Provide int value from inputOutput SFInt32 field named tessellation.
Tooltip: hint for surface tesselation. * Returns:
 value of tessellation field

setTessellation
Accessor method to assign int value to inputOutput SFInt32 field named tessellation.
Tooltip: hint for surface tesselation. * Parameters:
newValue
 is new value for the tessellation field. Returns:
NurbsCurve2D
 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.
Tooltip: Vector assigning relative weight value to each control point. * Returns:
 value of weight field

setWeight
Accessor method to assign double array to inputOutput MFDouble field named weight.
Tooltip: Vector assigning relative weight value to each control point. * Parameters:
newValue
 is new value for the weight field. Returns:
NurbsCurve2D
 namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
