j3d-vrml97-0.1.0

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

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

public class SFVec2f
extends Field

Description of the Class


Field Summary
 
Fields inherited from class org.jdesktop.j3d.loaders.vrml97.impl.Field
constField, fieldType
 
Constructor Summary
SFVec2f()
          Constructor for the SFVec2f object
SFVec2f(float[] values)
          Constructor for the SFVec2f object
SFVec2f(float x, float y)
          Constructor for the SFVec2f object
 
Method Summary
 Object clone()
          Description of the Method
 ConstField constify()
          Description of the Method
 float[] getValue()
          Gets the value attribute of the SFVec2f object
 void getValue(float[] vec)
          Gets the value attribute of the SFVec2f object
 float getX()
          Gets the x attribute of the SFVec2f object
 float getY()
          Gets the y attribute of the SFVec2f object
 void setValue(ConstSFVec2f v)
          Sets the value attribute of the SFVec2f object
 void setValue(float[] v)
          Sets the value attribute of the SFVec2f object
 void setValue(float x, float y)
          Sets the value attribute of the SFVec2f object
 void setValue(SFVec2f v)
          Sets the value attribute of the SFVec2f object
 void update(Field field)
          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, toString, wait, wait, wait
 

Constructor Detail

SFVec2f

public SFVec2f(float[] values)
Constructor for the SFVec2f object

Parameters:
values - Description of the Parameter

SFVec2f

public SFVec2f()
Constructor for the SFVec2f object


SFVec2f

public SFVec2f(float x,
               float y)
Constructor for the SFVec2f object

Parameters:
x - Description of the Parameter
y - Description of the Parameter
Method Detail

getValue

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

Parameters:
vec - Description of the Parameter

getValue

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

Returns:
The value value

getX

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

Returns:
The x value

getY

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

Returns:
The y value

setValue

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

Parameters:
v - The new value value

setValue

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

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

setValue

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

Parameters:
v - The new value value

setValue

public void setValue(SFVec2f v)
Sets the value attribute of the SFVec2f 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

update

public void update(Field field)
Description of the Method

Parameters:
field - Description of the Parameter

constify

public ConstField constify()
Description of the Method

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

j3d-vrml97-0.1.0

Todo: put BSD License reference here..