|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Matrix Class TMat4D Methods ReadLayer|
|See also: OnReadElement, ReadBinaryHeader, ReadBinary, Read4DLayerAndAccumulate, Read4DLayer|
The method ReadLayer reads all data values of the layer specified by the parameters Layer and TSlot of the file FName and stores it in the matrix (in the same layer and time slot). Please note that this method returns a corresponding error code if the specified layer and time slot does not comply with the size of the external file. If the specified layer and time slot exceeds the bounds of the internal matrix the call to ReadLayer will have no effect at all.
The function returns the following error codes:
0 ... everything is OK