angleEquals

fun angleEquals(t0: Double, t1: Double, epsilon: Double): Boolean(source)

Compares two angles, taking into account wrapping around at 2π, to determine if they are approximately equal within a given tolerance.

Return

true if the angles are approximately equal within the given tolerance, false otherwise

Parameters

t0

the first angle in radians

t1

the second angle in radians

epsilon

the tolerance within which the angles are considered equal