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