Package org.web3d.x3d.sai.NURBS
Interface X3DNurbsControlCurveNode
- All Superinterfaces:
X3DNode
- All Known Subinterfaces:
ContourPolyline2D
,NurbsCurve2D
- All Known Implementing Classes:
ContourPolyline2D
,NurbsCurve2D
public interface X3DNurbsControlCurveNode extends X3DNode
Base type for all nodes that provide control curve information in 2D space.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
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 double[]
getControlPoint()
Provide array of 2-tuple double results from inputOutput MFVec2d field named controlPoint.X3DMetadataObject
getMetadata()
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.X3DNurbsControlCurveNode
setControlPoint(double[] newValue)
Accessor method to assign 2-tuple double array to inputOutput MFVec2d field named controlPoint.X3DNurbsControlCurveNode
setMetadata(X3DMetadataObject newValue)
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getControlPoint
double[] getControlPoint()Provide array of 2-tuple double results from inputOutput MFVec2d field named controlPoint.- Returns:
- value of controlPoint field
-
setControlPoint
Accessor method to assign 2-tuple double array to inputOutput MFVec2d field named controlPoint.- Parameters:
newValue
- is new value for the controlPoint field.- Returns:
X3DNurbsControlCurveNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DNurbsControlCurveNode
- 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
-