Vector.Explicit Operator

Overload List

#SignatureDescription
1class operator Explicit(const AValue: TVec): Vector;Explicitely convert TVec to Vector.
2class operator Explicit(const AValue: TVecInt): Vector;Explicitely convert TVecInt to Vector.
3class operator Explicit(const AValue: Vector): VectorInt;Explicitely convert Vector to VectorInt.
4class operator Explicit(const AValue: Vector): TDoubleArray;Explicitely convert Vector to array of doubles.
5class operator Explicit(const AValue: Vector): TSingleArray;Explicitely convert Vector to array of doubles.
6class operator Explicit(const AValue: VectorInt): Vector;Explicitely convert VectorInt to Vector.
7class operator Explicit(const AValue: TSingleArray): Vector;Explicitely convert array of single values to Vector.

Overload 1: class operator Explicit(const AValue: TVec): Vector;

Explicitely convert TVec to Vector.

#NameTypeDescription
1AValueTVecsource TVec

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies all values from AValue to the result.

Overload 2: class operator Explicit(const AValue: TVecInt): Vector;

Explicitely convert TVecInt to Vector.

#NameTypeDescription
1AValueTVecIntsource TVecInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies all values from AValue to the result.

Overload 3: class operator Explicit(const AValue: Vector): VectorInt;

Explicitely convert Vector to VectorInt.

#NameTypeDescription
1AValueVector

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies all values from AValue to the result.

Overload 4: class operator Explicit(const AValue: Vector): TDoubleArray;

Explicitely convert Vector to array of doubles.

#NameTypeDescription
1AValueVector

Returns: Double[]

Remarks:

Copies all values from AVector to an array of double.

Overload 5: class operator Explicit(const AValue: Vector): TSingleArray;

Explicitely convert Vector to array of doubles.

#NameTypeDescription
1AValueVector

Returns: Single[]

Remarks:

Copies all values from AVector to an array of single.

Overload 6: class operator Explicit(const AValue: VectorInt): Vector;

Explicitely convert VectorInt to Vector.

#NameTypeDescription
1AValueVectorInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies all values from AValue to the result.

Overload 7: class operator Explicit(const AValue: TSingleArray): Vector;

Explicitely convert array of single values to Vector.

#NameTypeDescription
1AValueTSingleArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies all values from the AValue array to the result.