Click or drag to resize

TrigTryPutAngleInRange Method

Attempts to put an angle within the indicated range of values.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static bool TryPutAngleInRange(
	double minimum,
	double maximum,
	double angle,
	out double result
)

Parameters

minimum
Type: SystemDouble
The minimum angle value.
maximum
Type: SystemDouble
The maximum angle value.
angle
Type: SystemDouble
The angle value being checked.
result
Type: SystemDouble
On return, the final angle value after attempting to place it within the indicated range.

Return Value

Type: Boolean
if result is within the indicated range of values; otherwise .
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