|
|||||||||
| 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.ConstMFVec3f
public class ConstMFVec3f
Represents a read-only VRML MFVec3f field in Java.
| Constructor Summary | |
|---|---|
ConstMFVec3f(float[] vec3s)
Construct a read-only MFVec3f field. |
|
ConstMFVec3f(float[][] vec3s)
Construct a read-only MFVec3f field. |
|
ConstMFVec3f(int size,
float[] vec3s)
Construct a read-only MFVec3f field. |
|
| Method Summary | |
|---|---|
void |
get1Value(int index,
float[] vec3s)
Retrieves a specific element in an MFVec3f and returns it as a float array. |
void |
get1Value(int index,
SFVec3f vec)
Retrieves a specific element in an MFVec3f and returns it as an SFVec3f. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(float[] vec3s)
Retrieves the value of an MFVec3f field. |
void |
getValue(float[][] vec3s)
Retrieves the value of an MFVec3f field. |
| 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 |
|---|
public ConstMFVec3f(float[][] vec3s)
vec3s - An array of sets of x,y,z valuespublic ConstMFVec3f(float[] vec3s)
vec3s - List of x,y,z tuples
public ConstMFVec3f(int size,
float[] vec3s)
size - Number of SFVec3f elements passed in.vec3s - List of x,y,z tuples| Method Detail |
|---|
public int getSize()
ConstMField
getSize in class ConstMFieldpublic void getValue(float[][] vec3s)
vec3s - 2D array of x,y,z tuples to be returned.public void getValue(float[] vec3s)
vec3s - Array of x,y,z tuples to be returned.
public void get1Value(int index,
float[] vec3s)
index - Position of desired elementvec3s - Element at specified position
public void get1Value(int index,
SFVec3f vec)
index - Position of desired elementvec - Element at specified position
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||