Click or drag to resize

Trig.IsAngleInRange Method

Checks to see if an angle is within the indicated range of values.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static bool IsAngleInRange(
	double minimum,
	double maximum,
	double angle
)

Parameters

minimum
Type: System.Double
The minimum angle value.
maximum
Type: System.Double
The maximum angle value.
angle
Type: System.Double
The angle value being checked.

Return Value

Type: Boolean
true if angle is within the indicated range of values; otherwise false.
Remarks
The range of values is considered to be an open interval and therefore does not include the actual minimum and maximum values.
See Also