|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectvrml.Field
vrml.ConstField
vrml.ConstMField
vrml.field.ConstMFFloat
Constant VRML JSAI type class containing multiple float fields.
| Field Summary | |
protected float[] |
data
The data that the field contains |
| Fields inherited from class vrml.ConstMField |
numElements |
| Fields inherited from class vrml.Field |
valueChanged |
| Constructor Summary | |
protected |
ConstMFFloat()
Construct an instance with default values. |
|
ConstMFFloat(float[] values)
Construct a new constant field based on all the given values. |
|
ConstMFFloat(int size,
float[] values)
Construct new constant field based on the subset of the given values. |
| Method Summary | |
java.lang.Object |
clone()
Make a clone of this object. |
float |
get1Value(int index)
Fetch the value at the given array index position |
void |
getValue(float[] values)
Copy the values of this array into the user provided array. |
java.lang.String |
toString()
Create a string representation of the field values. |
| Methods inherited from class vrml.ConstMField |
getSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected float[] data
| Constructor Detail |
protected ConstMFFloat()
public ConstMFFloat(float[] values)
values - The values to copy
public ConstMFFloat(int size,
float[] values)
size - The number of items to copyvalues - The source values to copy| Method Detail |
public void getValue(float[] values)
values - The array to copy data intopublic float get1Value(int index)
index - The position to ask the value of
public java.lang.String toString()
public java.lang.Object clone()
clone in class Field
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||