public interface Polyline2D extends X3DGeometryNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getLineSegments()
Provide array of 2-tuple float results from initializeOnly MFVec2f field named lineSegments.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
Polyline2D |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Polyline2D |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Polyline2D |
setLineSegments(float[] newValue)
Assign 2-tuple float array to initializeOnly MFVec2f field named lineSegments.
|
Polyline2D |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Polyline2D |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getLineSegments()
Polyline2D setLineSegments(float[] newValue)
newValue - is new value for the lineSegments field.Polyline2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DGeometryNodegetMetadata in interface X3DNodePolyline2D setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DGeometryNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.Polyline2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Polyline2D setDEF(java.lang.String newValue)
setDEF in interface X3DGeometryNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.Polyline2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Polyline2D setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DGeometryNodesetUSE in interface X3DNodenewValue - is new value for the USE field.Polyline2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Polyline2D setCssClass(java.lang.String newValue)
setCssClass in interface X3DGeometryNodesetCssClass in interface X3DNodenewValue - is new value for the class field.Polyline2D - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.