TrigAreAnglesEquivalent Method |
Checks to see whether the two given angles represent the same direction in the unit circle,
regardless of any multiples of
TwoPi.
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 AreAnglesEquivalent(
double firstAngle,
double secondAngle,
double tolerance
)
Public Shared Function AreAnglesEquivalent (
firstAngle As Double,
secondAngle As Double,
tolerance As Double
) As Boolean
public:
static bool AreAnglesEquivalent(
double firstAngle,
double secondAngle,
double tolerance
)
static member AreAnglesEquivalent :
firstAngle : float *
secondAngle : float *
tolerance : float -> bool
Parameters
- firstAngle
- Type: SystemDouble
The first angle to check, in radians. - secondAngle
- Type: SystemDouble
The second angle to check, in radians. - tolerance
- Type: SystemDouble
The tolerance to use when comparing the two angles, in radians.
Return Value
Type:
BooleanTrue if the two angles represent the same angular direction in the unit circle.
See Also