Vector.RadToDeg Method

Overload List

#SignatureDescription
1function RadToDeg: TMtxVec;Convert radians to degrees (in-place).
└ indexed: function RadToDeg(Index: Integer; Len: Integer): TMtxVec;
2function RadToDeg(const X: TMtxVec): TMtxVec;Convert X elements from radians to degrees and store in self.
└ indexed: function RadToDeg(const X: TMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Overload 1: function RadToDeg: TMtxVec;

Convert radians to degrees (in-place).

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

Indexed: function RadToDeg(Index: Integer; Len: Integer): TMtxVec;

Convert radians to degrees on elements [Index..Index+Len-1] in-place.

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

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

Overload 2: function RadToDeg(const X: TMtxVec): TMtxVec;

Convert X elements from radians to degrees and store in self.

#NameTypeDescription
1XTMtxVec

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

Indexed: function RadToDeg(const X: TMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Convert X elements [XIndex..XIndex+Len-1] from radians to degrees and store in self elements [Index..Index+Len-1].

#NameTypeDescription
1XTMtxVec
2XIndexIntegerX start index
3IndexIntegerstart index
4LenIntegerelement count

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