angle

abstract fun angle(other: V, angleUnit: AngleUnit = AngleUnit.RADIANS): Double(source)

Calculate the angle between this vector and another vector.

Return

The angle in the specified unit.

Parameters

other

The other vector to calculate the angle with.

angleUnit

The unit of the angle (default is radians).