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)
Syntaxpublic static bool IsAngleInRange(
double minimum,
double maximum,
double angle
)
Public Shared Function IsAngleInRange (
minimum As Double,
maximum As Double,
angle As Double
) As Boolean
public:
static bool IsAngleInRange(
double minimum,
double maximum,
double angle
)
static member IsAngleInRange :
minimum : float *
maximum : float *
angle : float -> bool
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:
Booleantrue 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