Utils NormalNearAbsoluteAngle Method Robocode Robot API for .NET
Normalizes an angle to be near an absolute angle. The normalized angle will be in the range from 0 to 2*PI, where 2*PI itself is not included. If the normalized angle is near to 0, PI/2, PI, 3*PI/2 or 2*PI, that angle will be returned. The IsNear(Double, Double) method is used for defining when the angle is near one of angles listed above.

Namespace: Robocode.Util
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

public static double NormalNearAbsoluteAngle(
	double angle
)

Return Value

Type: OnlineDouble
See Also