VectorCopyToInt

Declaration: VectorCopyToInt (InVec: TDoubleArray; var TargetVec: TIntArray): integer;
Copies the contents of the vector InVec to the integer vector TargetVec. The vector TargetVec is automatically resized to match the size of the vector InVec. The copied values are rounded to the nearest integer.