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....


Unit: SDL_matrix
Class: TMat4D
Declaration: procedure Copy1DArrayToPixel (Src: TDoubleArray; Col, Row, FirstLayer, TimeSlot: integer);

The method Copy1DArrayToPixel copies the data of the one-dimensional array Src to the pixel specified by the parameters Col, Row and TimeSlot.

The parameter FirstLayer determines the layer where the first element of Src is copied to.

The parameters Col, Row, FirstLayer and TimeSlot have to be within the valid range (i.e. between 1 and NrOfColumns, 1 and NrOfRows, 1 and NrOfLayers, and 1 and NrOfTimeSlots), otherwise an exception is raised.

Last Update: 2016-Oct-02