j3d-vrml97-0.1.0

org.jdesktop.j3d.loaders.vrml97.impl
Class SFVec3f

java.lang.Object
  extended by org.jdesktop.j3d.loaders.vrml97.impl.Field
      extended by org.jdesktop.j3d.loaders.vrml97.impl.SFVec3f

public class SFVec3f
extends Field

Description of the Class


Field Summary
 
Fields inherited from class org.jdesktop.j3d.loaders.vrml97.impl.Field
constField, fieldType
 
Constructor Summary
SFVec3f()
          Constructor for the SFVec3f object
SFVec3f(float[] setVal)
          Constructor for the SFVec3f object
SFVec3f(float x, float y, float z)
          Constructor for the SFVec3f object
 
Method Summary
 Object clone()
          Description of the Method
 float[] getValue()
          Gets the value attribute of the SFVec3f object
 void getValue(float[] vec)
          Gets the value attribute of the SFVec3f object
 float getX()
          Gets the x attribute of the SFVec3f object
 float getY()
          Gets the y attribute of the SFVec3f object
 float getZ()
          Gets the z attribute of the SFVec3f object
 void reset()
          Description of the Method
 void setValue(ConstSFVec3f v)
          Sets the value attribute of the SFVec3f object
 void setValue(float[] v)
          Sets the value attribute of the SFVec3f object
 void setValue(float x, float y, float z)
          Sets the value attribute of the SFVec3f object
 void setValue(SFVec3f v)
          Sets the value attribute of the SFVec3f object
 String toString()
          Description of the Method
 Field wrap()
          Description of the Method
 
Methods inherited from class org.jdesktop.j3d.loaders.vrml97.impl.Field
baseName, markWriteable, toStringId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFVec3f

public SFVec3f(float[] setVal)
Constructor for the SFVec3f object

Parameters:
setVal - Description of the Parameter

SFVec3f

public SFVec3f(float x,
               float y,
               float z)
Constructor for the SFVec3f object

Parameters:
x - Description of the Parameter
y - Description of the Parameter
z - Description of the Parameter

SFVec3f

public SFVec3f()
Constructor for the SFVec3f object

Method Detail

reset

public void reset()
Description of the Method


getValue

public void getValue(float[] vec)
Gets the value attribute of the SFVec3f object

Parameters:
vec - Description of the Parameter

getX

public float getX()
Gets the x attribute of the SFVec3f object

Returns:
The x value

getY

public float getY()
Gets the y attribute of the SFVec3f object

Returns:
The y value

getZ

public float getZ()
Gets the z attribute of the SFVec3f object

Returns:
The z value

getValue

public float[] getValue()
Gets the value attribute of the SFVec3f object

Returns:
The value value

setValue

public void setValue(float[] v)
Sets the value attribute of the SFVec3f object

Parameters:
v - The new value value

setValue

public void setValue(float x,
                     float y,
                     float z)
Sets the value attribute of the SFVec3f object

Parameters:
x - The new value value
y - The new value value
z - The new value value

setValue

public void setValue(ConstSFVec3f v)
Sets the value attribute of the SFVec3f object

Parameters:
v - The new value value

setValue

public void setValue(SFVec3f v)
Sets the value attribute of the SFVec3f object

Parameters:
v - The new value value

clone

public Object clone()
Description of the Method

Specified by:
clone in class Field
Returns:
Description of the Return Value

wrap

public Field wrap()
Description of the Method

Specified by:
wrap in class Field
Returns:
Description of the Return Value

toString

public String toString()
Description of the Method

Overrides:
toString in class Object
Returns:
Description of the Return Value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..