Package org.web3d.x3d.sai.NURBS
Interface X3DNurbsControlCurveNode
- All Superinterfaces:
X3DNode
- All Known Subinterfaces:
ContourPolyline2D
,NurbsCurve2D
- All Known Implementing Classes:
ContourPolyline2D
,NurbsCurve2D
Base type for all nodes that provide control curve information in 2D space.
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
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
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.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Provide array of 2-tuple double results from inputOutput MFVec2d field named controlPoint.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.setControlPoint
(double[] newValue) Accessor method to assign 2-tuple double array to inputOutput MFVec2d field named controlPoint.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:
-
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:
-