Function that computes polar coordinates (r, φ) of a cartesian vector (x, y).
Inputs:
Outputs:
Properties:
double x, y | cartesian coordinates of input vector |
double r | length of input vector |
double phi | angle in rad of input vector, range is -π ... π |
boolean autoTrigger | if true trigger event is sent automatically at change of input |
Methods:
void trigger() | computes new values and sends them |
Events:
VectorEvent | sends new output values |