angleTo

infix fun angleTo(point: Point2D): Double(source)

Returns the angle formed by the vector from the origin to this point and the vector from the origin to the specified point. The angle is measured in radians and is in the range 0, π.

Return

the angle in radians

Parameters

point

the point to compute the angle to