Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *DegToRad(); | DegToRad converts degrees to radians. |
| 2 | TMtxVec *DegToRad(int Index, int Len); | DegToRad converts the degrees for calling object elements [Index]..[Index+Len-1] in-place to radians. |
| 3 | TMtxVec *DegToRad(TMtxVec *X); | DegToRad converts the degrees to radians for all X object elements. |
| 4 | TMtxVec *DegToRad(TMtxVec *X, int XIndex, int Index, int Len); | DegToRad converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1]. |
Overload 1: TMtxVec *DegToRad();
DegToRad converts degrees to radians.
Returns: DegToRad converts degrees to radians for all calling object elements in-place. The following transformation is used: Radians = PI*180*Degrees
Overload 2: TMtxVec *DegToRad(int Index, int Len);
DegToRad converts the degrees for calling object elements [Index]..[Index+Len-1] in-place to radians.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
An exception is raised, if array borders are overrun or underrun.
Overload 3: TMtxVec *DegToRad(TMtxVec *X);
DegToRad converts the degrees to radians for all X object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * |
Stores the results in the calling object. Size and TMtx::Complex properties of calling object are adjusted automatically.
Overload 4: TMtxVec *DegToRad(TMtxVec *X, int XIndex, int Index, int Len);
DegToRad converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | XIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
Stores the results in the calling object elements [Index]..[Index+Len-1]. An exception is raised, if array borders are overrun or underrun.