CircleGetQuadrant Method

Return the ordinal index of quadrant in which the specified angle is located.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static int GetQuadrant(
	float angle
)

Parameters

angle  Single
The angle for which the quadrant index will be found, in radians.

Return Value

Int32
The ordinal quadrant index occupied by the specified angle.

Remarks

Following are the quadrant assignments in this version.
  • Quadrant 0. +X, +Y.
  • Quadrant 1. -X, +Y.
  • Quadrant 2. -X, -Y.
  • Quadrant 3. +X, -Y.

See Also