[]
This is an implementation of the DataBlk interface for 32 bit floating point data (float).
<p>The methods in this class are declared final, so that they can be
inlined by inlining compilers.</p>
public class DataBlkFloat : DataBlk
Name | Description |
---|---|
DataBlkFloat() | Creates a DataBlkFloat with 0 dimensions and no data array (i.e. data is null). |
DataBlkFloat(DataBlkFloat) | Copy constructor. Creates a DataBlkFloat which is the copy of the DataBlkFloat given as paramter. |
DataBlkFloat(int, int, int, int) | Creates a DataBlkFloat with the specified dimensions and position. The data array is initialized to an array of size w*h. |
Name | Description |
---|---|
Data | Returns the array containing the data, or null if there is no data array. The returned array is a float array. |
DataFloat | Returns the array containing the data, or null if there is no data array. |
DataType | Returns the identifier of this data type, TYPE_FLOAT, as defined in DataBlk. |
Name | Description |
---|---|
ToString() | Returns a string of informations about the DataBlkInt. |