vrml.field
Class ConstSFRotation
java.lang.Object
vrml.Field
vrml.ConstField
vrml.field.ConstSFRotation
- All Implemented Interfaces:
- java.lang.Cloneable
public class ConstSFRotation
- extends ConstField
Represents a read-only VRML SFRotation field in Java.
Constructor Summary |
ConstSFRotation(float axisX,
float axisY,
float axisZ,
float angle)
Construct a read-only SFRotation field. |
Method Summary |
void |
getValue(float[] rotations)
Get the X, Y, Z and angle values representing the SFRotation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstSFRotation
public ConstSFRotation(float axisX,
float axisY,
float axisZ,
float angle)
- Construct a read-only SFRotation field.
- Parameters:
axisX
- X-component of the rotationaxisY
- Y-component of the rotationaxisZ
- Z-component of the rotationangle
- Angle of the rotation
getValue
public void getValue(float[] rotations)
- Get the X, Y, Z and angle values representing the SFRotation.
- Parameters:
rotations
- X, Y, Z and angle values representing the SFRotation