Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function DegToRad: TMtxVec; overload; | DegToRad converts degrees to radians. |
| └ indexed: function DegToRad(Index, Len: integer): TMtxVec; overload; | ||
| 2 | function DegToRad(const X: TMtxVec): TMtxVec; overload; | DegToRad converts the degrees to radians for all X object elements. |
| └ indexed: function DegToRad(const X: TMtxVec; XIndex, Index, Len: integer): TMtxVec; overload; |
Overload 1: function DegToRad: TMtxVec; overload;
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: function DegToRad(Index, Len: integer): TMtxVec; overload;
DegToRad converts the degrees for calling object elements [Index]..[Index+Len-1] in-place to radians.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | integer | start index |
| 2 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised, if array borders are overrun or underrun.
Overload 2: function DegToRad(const X: TMtxVec): TMtxVec; overload;
DegToRad converts the degrees to radians for all X object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
Result: stored in self (calling object), returns self for chaining
Stores the results in the calling object. Size and TMtxVec.Complex properties of calling object are adjusted automatically.
Indexed: function DegToRad(const X: TMtxVec; XIndex, Index, Len: integer): TMtxVec; overload;
DegToRad converts degrees to radians for all X object elements [XIndex]..[XIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec | source TVec or TMtx |
| 2 | XIndex | integer | X start index |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
Result: stored in self (calling object), returns self for chaining
Stores the results in the calling object elements [Index]..[Index+Len-1]. An exception is raised, if array borders are overrun or underrun.