Click or drag to resize

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
)

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: Boolean
True if the two angles represent the same angular direction in the unit circle.
See Also