TVec.DegToRad Method

Overload List

#SignatureDescription
1TMtxVec DegToRadDegToRad converts degrees to radians.
└ indexed: TMtxVec DegToRad(Int32 Index, Int32 Len)
2TMtxVec DegToRad(TMtxVec X)DegToRad converts the degrees to radians for all X object elements.
└ indexed: TMtxVec DegToRad(TMtxVec X, Int32 XIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVec DegToRad

DegToRad converts degrees to radians.

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

Returns: DegToRad converts degrees to radians for all calling object elements in-place. The following transformation is used: Radians = PI*180*Degrees

Indexed: TMtxVec DegToRad(Int32 Index, Int32 Len)

DegToRad converts the degrees for calling object elements [Index]..[Index+Len-1] in-place to radians.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

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

Remarks:

An exception is raised, if array borders are overrun or underrun.

Overload 2: TMtxVec DegToRad(TMtxVec X)

DegToRad converts the degrees to radians for all X object elements.

#NameTypeDescription
1XTMtxVecsource TVec or TMtx

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

Remarks:

Stores the results in the calling object. Size and Dew.Math.TMtxVec.Complex properties of calling object are adjusted automatically.

Indexed: TMtxVec DegToRad(TMtxVec X, Int32 XIndex, Int32 Index, Int32 Len)

DegToRad converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1].

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2XIndexInt32X start index
3IndexInt32start index
4LenInt32element count

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

Remarks:

Stores the results in the calling object elements [Index]..[Index+Len-1]. An exception is raised, if array borders are overrun or underrun.