Produces an angle in the range 0 <= angle < 2π which is equivalent to the provided angle.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static double ZeroToTwoPi(
double angle
)
Public Shared Function ZeroToTwoPi (
angle As Double
) As Double
public:
static double ZeroToTwoPi(
double angle
)
static member ZeroToTwoPi :
angle : float -> float
Parameters
- angle
- Type: SystemDouble
The angle to be adjusted.
Return Value
Type:
DoubleThe adjusted angle.
See Also