function Convert(const Src: TMtxVecInt; DstIntPrecision: TIntPrecision): TMtxVecInt;
Copy each of Vec elements to the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | DstIntPrecision | TIntPrecision |
Result: stored in self (calling object), returns self for chaining
Remarks:
The Size property of the calling object is set implicitly to match Vec object. The storage precision of the calling object is set to DstIntPrecision.
Indexed: function Convert(const Src: TMtxVecInt; DstIntPrecision: TIntPrecision; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Copy Src elements [SrcIndex]..[SrcIndex+Len-1] in the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | DstIntPrecision | TIntPrecision | |
| 3 | SrcIndex | Integer | source start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Remarks:
Calling vector TMtxVecInt.Size must be set explicitly. An exception is raised if array borders are overrun or underrun. If the precision of the calling does not match DstIntPrecision, an exception will be raised.