Atan2Normalized Method (NMath)
Returns the angle that is formed by a vector with the specified y and x coordinates and the X-axis.
'Declaration
Public Shared Function Atan2Normalized( _
ByVal As System.Double, _
ByVal As System.Double _
) As System.Double
'Usage
Dim y As System.Double
Dim x As System.Double
Dim value As System.Double
value = NMath.Atan2Normalized(y, x)
public static System.double Atan2Normalized(
System.double ,
System.double
)
Parameters
- y
- Y coordinate of the vector.
- x
- X coordinate of the vector.
Return Value
An angle (measured in radians) in range [0, 2*PI).
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)