Click or drag to resize

Trig.AreAnglesEquivalent 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: 25.1.421.0 (25.1.421.0)
Syntax
public static bool AreAnglesEquivalent(
	double firstAngle,
	double secondAngle,
	double tolerance
)

Parameters

firstAngle
Type: System.Double
The first angle to check, in radians.
secondAngle
Type: System.Double
The second angle to check, in radians.
tolerance
Type: System.Double
The tolerance to use when comparing the two angles, in radians.

Return Value

Type: Boolean
True if the two angles represent the same angular direction in the unit circle.
See Also