Nevron Open Vision Documentation
Nevron.Nov Namespace / NMathF Class / Atan2Normalized Method
Y coordinate of the vector.
X coordinate of the vector.


In This Topic
    Atan2Normalized Method (NMathF)
    In This Topic
    Returns the angle that is formed by a vector with the specified y and x coordinates and the X-axis.
    Syntax
    'Declaration
     
    
    Public Shared Function Atan2Normalized( _
       ByVal y As System.Single, _
       ByVal x As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim y As System.Single
    Dim x As System.Single
    Dim value As System.Single
     
    value = NMathF.Atan2Normalized(y, x)
    public static System.float Atan2Normalized( 
       System.float y,
       System.float x
    )

    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).
    Requirements

    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)

    See Also