Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt Size(TMtxVecBase Src) | Size the object. |
| 2 | TVecInt Size(Int32 ALength) | Sets the following properties |
| 3 | void Size(Int32 ALength, TIntPrecision aPrecision) | Sets the following properties |
Overload 1: TMtxVecInt Size(TMtxVecBase Src)
Size the object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecBase | source TVec, TMtx, TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Remarks:
Assigns the size of the Src object to the calling object. If both objects have a matching Dew.Math.VectorInt.Length property, only the Dew.Math.VectorInt.IntPrecision property of the calling object will changed, while all other properties describing the size of the object will be preserved.
Overload 2: TVecInt Size(Int32 ALength)
Sets the following properties
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | Int32 |
Result: stored in self (calling object), returns self for chaining
Remarks:
Vec.Length := ALength;
and preserves IntPrecision value. Default IntPrecision when object is created is prInt32.
Overload 3: void Size(Int32 ALength, TIntPrecision aPrecision)
Sets the following properties
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | Int32 | |
| 2 | aPrecision | TIntPrecision |
Result: stored in self (calling object)
Remarks:
Vec.Precision := aPrecision; Vec.Length := ALength;