Click or drag to resize
ExtendedMathAnglesDistance Method
Return distance between two angles, in degrees. For example: AnglesDistance(90, 45) will return 45, AnglesDistance(1, 360) will return 1, etc..

Namespace:  GeonBit.Core.Utils
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static uint AnglesDistance(
	uint angle1,
	uint angle2
)

Parameters

angle1
Type: SystemUInt32
First angle to check distance from (degrees).
angle2
Type: SystemUInt32
Second angle to check distance from (degrees).

Return Value

Type: UInt32
Return minimal degree between two angles.
See Also