vrml.field
Class ConstSFRotation

java.lang.Object
  extended by vrml.Field
      extended by vrml.ConstField
          extended by 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 vrml.ConstField
clone
 
Methods inherited from class vrml.Field
dispose, finalize, getPeer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstSFRotation

public ConstSFRotation(float axisX,
                       float axisY,
                       float axisZ,
                       float angle)
Construct a read-only SFRotation field.

Parameters:
axisX - X-component of the rotation
axisY - Y-component of the rotation
axisZ - Z-component of the rotation
angle - Angle of the rotation
Method Detail

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