Documentation / dataflow / com.femastudios.dataflow.extensions / atan2
Go to reference

atan2

@JvmName("atan2Float") fun atan2(y: Field<Float>, x: Field<Float>): Field<Float>
@JvmName("atan2Float") fun atan2(y: Field<Float>, x: Float): Field<Float>
@JvmName("atan2Float") fun atan2(y: Float, x: Field<Float>): Field<Float>
fun atan2(y: Field<Double>, x: Field<Double>): Field<Double>
fun atan2(y: Field<Double>, x: Double): Field<Double>
fun atan2(y: Double, x: Field<Double>): Field<Double>

Same as atan2, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling atan2 in the transformation function.

This is simply a convenience function.

See Also

kotlin.math.atan2