Utils NormalNearAbsoluteAngleDegrees 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 360, where 360 itself is not included. If the normalized angle is near to 0, 90, 180, 270 or 360, 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:

public static double NormalNearAbsoluteAngleDegrees(
	double angle

Return Value

Type: OnlineDouble
See Also