Vector.DegToRad Method

Overload List

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

Overload 1: function DegToRad: TMtxVec; overload;

Convert degrees to radians (in-place).

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

Indexed: function DegToRad(Index, Len: integer): TMtxVec; overload;

Convert degrees to radians 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 DegToRad(const X: TMtxVec): TMtxVec; overload;

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

#NameTypeDescription
1XTMtxVecsource TVec or TMtx

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

Indexed: function DegToRad(const X: TMtxVec; XIndex, Index, Len: integer): TMtxVec; overload;

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

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2XIndexintegerX start index
3Indexintegerstart index
4Lenintegerelement count

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