NevronOpenVision
Nevron.Nov Namespace / NAngle Structure / GetAngleQuadrant Method
Angle in radians.
GetAngleQuadrant Method
Returns the quadrant (0, 1, 2, 3) of the specified angle.
Syntax
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