tuple_degtuple_degTupleDegTupleDegtuple_deg (Operator)
Name
tuple_degtuple_degTupleDegTupleDegtuple_deg
— Convert a tuple from radians to degrees.
Signature
Herror tuple_deg(double Rad, double* Deg)
Herror T_tuple_deg(const Htuple Rad, Htuple* Deg)
def tuple_deg(rad: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_deg_s(rad: MaybeSequence[Union[float, int]]) -> float
Description
tuple_degtuple_degTupleDegTupleDegTupleDegtuple_deg
converts the input tuple RadRadRadRadradrad
from radians
to degrees. The result is always returned as a floating point
number. The conversion of a string is not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_degtuple_degTupleDegTupleDegTupleDegtuple_deg
,
which can be used in an expression in the following syntax:
Deg := deg(Rad)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
RadRadRadRadradrad
(input_control) number(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
DegDegDegDegdegdeg
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Input tuple in degrees.
See also
tuple_radtuple_radTupleRadTupleRadTupleRadtuple_rad
Module
Foundation