CopyVectorTo3DPixel

Declaration: CopyVectorTo3DPixel(InVec: TDoubleArray; PosX, PosY: integer; var TargetMat: TDouble3DArray): integer;
Copies the vector InVec into a pixel column of the three dimensional open array TargetMat. The pixel position is specified by the parameters PosX and PosY. The function returns the following error codes:

 0 ... everything is OK
-1 ... InVec and TargetMat do not match
-2 ... invalid PosX or PosY index