public class ConstMFFloat extends ConstMField
Constructor and Description |
---|
ConstMFFloat(float[] values)
Construct a read-only MFFloat field.
|
ConstMFFloat(int size,
float[] values)
Construct a read-only MFFloat field.
|
Modifier and Type | Method and Description |
---|---|
float |
get1Value(int index)
Retrieves a specific SFFloat element in an MFFloat and
returns it as a float.
|
int |
getSize()
Number of elements contained in the MField.
|
void |
getValue(float[] values)
Retrieves the value of an MFFloat field.
|
clone
public ConstMFFloat(int size, float[] values)
size
- Number of SFFloat elements passed in.values
- Array of SFFloat values.public ConstMFFloat(float[] values)
values
- An array of SFFloat values.public int getSize()
ConstMField
getSize
in class ConstMField
public void getValue(float[] values)
values
- Array of float values to be returned.public float get1Value(int index)
index
- Position of desired SFFloat