Nevron Open Vision Documentation
Nevron.Nov Namespace / NAngle Structure / GetAngleQuadrant Method
Angle in radians.


In This Topic
    GetAngleQuadrant Method
    In This Topic
    Returns the quadrant (0, 1, 2, 3) of the specified angle.
    Syntax
    'Declaration
     
    
    Public Shared Function GetAngleQuadrant( _
       ByVal radians As System.Double _
    ) As System.Integer
    'Usage
     
    
    Dim radians As System.Double
    Dim value As System.Integer
     
    value = NAngle.GetAngleQuadrant(radians)
    public static System.int GetAngleQuadrant( 
       System.double radians
    )

    Parameters

    radians
    Angle in radians.

    Return Value

    0 - Quadrant [0, PI/2), 1 - Quadrant [PI/2, PI), 2 - Quadrant [PI, 3 * PI / 2) 3 - Quadrant [3 * PI / 2, PI * 2)
    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