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: TMat3D
Declaration: procedure CopyMatrixToLayer (SrcMat: TMatrix; SrcLowCol, SrcHighCol, SrcLowRow, SrcHighRow, Layer, LayLowCol, LayLowRow: integer);

The method CopyMatrixToLayer copies the data of the matrix SrcMat to the layer Layer.

The range of the data to be copied has to be specified in the parameters SrcLowCol, SrcHighCol, SrcLowRow, and SrcHighRow. The position in the destination layer is specified by LayLowCol and LayLowRow.

The parameter Layer has to be within the valid range (i.e. between 1 and NrOfLayers), otherwise an exception is raised.

Last Update: 2023-Feb-06