Declaration: TMat4D.CopyPixelTo1DArray (var Dest: TDoubleArray; Col, Row, TimeSlot: integer): integer;
The method CopyPixelTo1DArray copies the pixel vector specified by the parameters Col, Row and TimeSlot to the one-dimensional array Dest.

The parameters Col, Row and TimeSlot have to be within the valid range (i.e. between 1 and NrOfColumns, 1 and NrOfRows, and 1 and NrOfTimeSlots). The function returns one of the following codes:

 0 ... everything is OK
-1 ... Col is out of range
-2 ... Row is out of range
-3 ... TimeSlot is out of range