Package org.web3d.x3d.sai
Interface SFVec3d
- All Superinterfaces:
X3DField
- All Known Implementing Classes:
SFVec3d
public interface SFVec3d extends X3DField
SFVec3d is a 3-tuple triplet of SFDouble values. See GeoVRML 1.0 Recommended Practice, Section 2.3, Limitations of Single Precision. Hint: SFVec3d can be used to specify a georeferenced 3D coordinate. Warning: comma characters within singleton values do not pass strict XML validation.
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
Methods inherited from interface org.web3d.x3d.sai.X3DField
addX3DEventListener, getDefinition, isReadable, isWritable, removeX3DEventListener
-
Method Details
-
getValue
void getValue(double[] valueDestination)Write out the current value of this field into the external valueDestination array.- Parameters:
valueDestination
- The array to be filled in with current field values.- Throws:
java.lang.ArrayIndexOutOfBoundsException
- The provided valueDestination array was too small.
-
setValue
void setValue(double[] newValue)Assign a new value to this field.- Parameters:
newValue
- is replacement value array to assign
-