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.3.420.0 (24.3.420.0)
Syntax public static bool TryPutAngleInRange(
double minimum,
double maximum,
double angle,
out double result
)
Public Shared Function TryPutAngleInRange (
minimum As Double,
maximum As Double,
angle As Double,
<OutAttribute> ByRef result As Double
) As Boolean
public:
static bool TryPutAngleInRange(
double minimum,
double maximum,
double angle,
[OutAttribute] double% result
)
static member TryPutAngleInRange :
minimum : float *
maximum : float *
angle : float *
result : float byref -> bool
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