CircleGetQuadrantCrossings(Single, Single, WindingOrientationEnum, DrawingSpaceEnum) Method

Return an array containing the ordinal quadrant crossings of the quadrants occupied by the specified arc.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static int[] GetQuadrantCrossings(
	float startAngle,
	float endAngle,
	WindingOrientationEnum windingDirection,
	DrawingSpaceEnum drawingSpace = DrawingSpaceEnum.Display
)

Parameters

startAngle  Single
The starting angle, in radians.
endAngle  Single
The ending angle, in radians.
windingDirection  WindingOrientationEnum
The winding direction taken by the arc.
drawingSpace  DrawingSpaceEnum  (Optional)
The drawing space for which this request is being prepared. Default = Display.

Return Value

Int32
Reference to an array of ordinal quadrants crossed out of by the arc, if any where found. Otherwise, an empty array.

Remarks

In this version, quadrant 0 is the area in +X, +Y, quadrant 1 is -X, +Y, quadrant 2 is -X, -Y, and quadrant 3 is +X, -Y.

See Also