tuple_radtuple_radTupleRadTupleRadtuple_rad (Operator)

Name

tuple_radtuple_radTupleRadTupleRadtuple_rad — Convert a tuple from degrees to radians.

Signature

tuple_rad( : : Deg : Rad)

Herror tuple_rad(double Deg, double* Rad)

Herror T_tuple_rad(const Htuple Deg, Htuple* Rad)

void TupleRad(const HTuple& Deg, HTuple* Rad)

HTuple HTuple::TupleRad() const

static void HOperatorSet.TupleRad(HTuple deg, out HTuple rad)

HTuple HTuple.TupleRad()

def tuple_rad(deg: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_rad_s(deg: MaybeSequence[Union[float, int]]) -> float

Description

tuple_radtuple_radTupleRadTupleRadTupleRadtuple_rad converts the input tuple DegDegDegDegdegdeg from degrees to radians. 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_radtuple_radTupleRadTupleRadTupleRadtuple_rad, which can be used in an expression in the following syntax:

Rad := rad(Deg)

Execution Information

Parameters

DegDegDegDegdegdeg (input_control)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

RadRadRadRadradrad (output_control)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Input tuple in radians.

See also

tuple_degtuple_degTupleDegTupleDegTupleDegtuple_deg

Module

Foundation