IsAngleBetweenAngles
not ratedCompares whether a angle is between 2 angles. Most useful when you want to get a sector area.
The MaxAngle is specified to be larger than the MinAngle.
Ex:
IsAngleBetweenAngles(10, 5, 60 ) => true
IsAngleBetweenAngles(80, 10, -10 ) <=> AngleBetweenAngles(80, 10, 350 ) => true
Note: The function ignored max = min (always returns false) deal, because something like IsAngleBetweenAngles(X, Y,Y ) is meaningless. So it will always return true if the min = max (counts as 0~360).
The MaxAngle is specified to be larger than the MinAngle.
Ex:
IsAngleBetweenAngles(10, 5, 60 ) => true
IsAngleBetweenAngles(80, 10, -10 ) <=> AngleBetweenAngles(80, 10, 350 ) => true
Note: The function ignored max = min (always returns false) deal, because something like IsAngleBetweenAngles(X, Y,Y ) is meaningless. So it will always return true if the min = max (counts as 0~360).