Radian-Degree Converter
Last updated
Last updated
Radian-Degree Converter takes a single Float value, representing an angle, in degrees (°) or radians (rad), and converts it from one unit to the other.
The equation used by the Node is determined by the Mode
Attribute. The equations are:
Radian_to_Degree
: D = R x 180/π.
Degree_to_Radian
: R = D x π/180,
where R is an angle in radians (rad) and D is an angle in degrees (°).
Trigonometry on Khan Academy.
Radians on Maths is Fun.
Degrees on Maths is Fun.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Mode
Drop-down
Determines which conversion equation is used.
Default Value
Float
The default value of Input
, if no value is provided in the Input
Socket.
Pulse Input (►)
Pulse
A standard input Pulse, to trigger the execution of the Node.
Input
Float
The angle to convert.
Pulse Output (►)
Pulse
A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Float
The converted value.