Uses of Class
org.web3d.x3d.jsail.fields.MFVec2d
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 MFVec2d in org.web3d.x3d.jsail.Core
Modifier and TypeMethodDescriptionfield.getValueMFVec2d()
If type matches, then get typed value of a MFVec2d field declaration.fieldValue.getValueMFVec2d()
If type matches, then get typed value of a MFVec2d fieldValue declaration.Modifier and TypeMethodDescriptionfield.appendValue
(MFVec2d newValue) Append MFVec2d to field for value attribute.fieldValue.appendValue
(MFVec2d newValue) Append MFVec2d to fieldValue for value attribute.Set typed value of a MFVec2d field declaration.Set typed value of a MFVec2d fieldValue declaration. -
Uses of MFVec2d in org.web3d.x3d.jsail.fields
Modifier and TypeMethodDescriptionAppends a new MFVec2d to the end of the existing value array, increasing the field length accordingly.Appends a new singleton typed value at the end of the existing value array, increasing the field length accordingly.MFVec2d.multiply
(double scaleFactor) Multiply scaleFactor times all values in this field type.MFVec2d.normalize()
Utility method to normalize vector values to unit length, ignore vector values with zero length.MFVec2d.setValue
(float[] newValue) Assign a single-precision floating-point array value to this double-precision field.Apply an MFVec2d value to this field.Assign a single-field SFVec2d as new array value.MFVec2d.setValueByString
(String newValue) Utility accessor for MFVec2d using String value (which must pass parsing validation checks).Modifier and TypeMethodDescriptionAppends a new MFVec2d to the end of the existing value array, increasing the field length accordingly.boolean
Determine whether two objects contain equal values.Apply an MFVec2d value to this field. -
Uses of MFVec2d in org.web3d.x3d.jsail.NURBS
Modifier and TypeMethodDescriptionContourPolyline2D.setControlPoint
(MFVec2d newValue) Assign typed object value to MFVec2d controlPoint field, similar toContourPolyline2D.setControlPoint(double[])
.NurbsCurve2D.setControlPoint
(MFVec2d newValue) Assign typed object value to MFVec2d controlPoint field, similar toNurbsCurve2D.setControlPoint(double[])
.