Uses of Class
org.web3d.x3d.jsail.fields.SFVec2d
Package
Description
The Core component supplies the base functionality for the X3D run-time system, including the abstract base node type, field types, the event model, and routing.
The X3D Java fields package provides a
comprehensive set of strongly typed X3D Java classes for
concrete implementation of X3D field types.
The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation nodes.
-
Uses of SFVec2d in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionfield.getValueSFVec2d()
If type matches, then get typed value of a SFVec2d field declaration.fieldValue.getValueSFVec2d()
If type matches, then get typed value of a SFVec2d fieldValue declaration.Modifier and TypeMethodDescriptionfield.appendValue
(SFVec2d newValue) Append SFVec2d to field for value attribute.fieldValue.appendValue
(SFVec2d newValue) Append SFVec2d to fieldValue for value attribute.Set typed value of a SFVec2d field declaration.Set typed value of a SFVec2d fieldValue declaration. -
Uses of SFVec2d in org.web3d.x3d.jsail.fields
Modifier and TypeMethodDescriptionSFVec2d.multiply
(double scaleFactor) Multiply scaleFactor times all values in this field type.SFVec2d.normalize()
Utility method to normalize this vector value to unit length, ignore if zero length.SFVec2d.setValue
(double x, double y) Assign a new value to this field.SFVec2d.setValue
(float[] newValue) Constructor for SFVec2d using a corresponding Java primitive float[] array as new initial value.Apply an SFVec2d value to this field.SFVec2d.setValueArray
(double[] newValue) Assign a new array value to this field, pipelined.SFVec2d.setValueByString
(String newValue) Utility accessor for SFVec2d using String value (which must pass parsing validation checks).Modifier and TypeMethodDescriptionAppends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.boolean
Determine whether two objects contain equal values.Assign a single-field SFVec2d as new array value.Apply an SFVec2d value to this field. -
Uses of SFVec2d in org.web3d.x3d.jsail.NURBS
Modifier and TypeMethodDescriptionContourPolyline2D.addControlPoint
(SFVec2d newValue) Add singleton SFVec2d value to MFVec2d controlPoint field.NurbsCurve2D.addControlPoint
(SFVec2d newValue) Add singleton SFVec2d value to MFVec2d controlPoint field.