public static double AbsoluteAngle2(double aX, double aY, double bX, double bY)
        {
            // Find the angle of point a and point b.
            var test = -Angle2DTests.Angle2D(aX, aY, bX, bY) % PI;

            return(test < 0d ? test += PI : test);
        }
        public static double AbsoluteAngle1(double aX, double aY, double bX, double bY)
        {
            // Find the angle of point a and point b.
            var test = -Angle2DTests.Angle2D(aX, aY, bX, bY) % PI;

            // This should only loop once using the modulus of pi.
            while (test < 0d)
            {
                test += PI;
            }

            return(test);
        }