The inverse tangent trigonometric function (atan or atan2, depending on input type) calculates: atan: the angle whose tangent is the input scalar number. atan2: the angle of a ray from the origin to the input vec2.
The resulting atan angle is always in the range [-90°, 90°] or, in radians, [-π/2, π/2]. The resulting atan2 angle is always in the range [-180°, 180°] or, in radians, [-π, π].
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Value | The given value for which the angle is calculated. Primary Input | Number[]NumberVec2[]Vec2 |
| Radians | Whether the resulting angle should be given in radians instead of degrees. Default: | Bool[]Bool |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | NumberNumber[] |