Declaration: Copy3DArrayToCube (Src: TDouble3DArray; DestCol, DestRow, DestLayer, DestTSlot: integer): integer;
Copies the layer of the three dimensional open array Src into the data cube of ImageLab. The parameters DestCol, DestRow, DestLayer and DestTSlot specify the destination position of the cell Src[0,0,0,0] in the data cube. If the destination position or the size of Src results in a situation where parts of Src cannot be copied to the data cube any excess cells will be ignored.

The function returns the following error codes:

 0 ... everything is OK
-1 ... any of DestCol, DestRow, DestLayer is out of range
-2 ... invalid DestTSlot

Last Update: 2017-Jun-02