Example #1
0
    internal Class447 method_4(PointF A_0, bool A_1)
    {
        Class447 class2 = new Class447();

        if (this.method_13())
        {
            if (A_1 && !spr⃸.ᜀ(A_0.X, this.method_11()))
            {
                return(null);
            }
            return(new Class447(A_0, new PointF(A_0.X + 1f, A_0.Y)));
        }
        if (this.method_9() == 0f)
        {
            if (A_1 && !spr⃸.ᜀ(A_0.Y, this.method_11()))
            {
                return(null);
            }
            class2.bool_0 = true;
            class2.method_12(A_0.X);
            return(class2);
        }
        if (A_1 && !spr⃸.ᜀ(this.method_0(A_0.X), A_0.Y))
        {
            return(null);
        }
        class2.method_10(-1f / this.method_9());
        class2.method_12((A_0.X * (this.method_9() - class2.method_9())) + this.method_11());
        return(class2);
    }
Example #2
0
    internal Class447 method_5(PointF A_0)
    {
        Class447 class2 = new Class447();

        if (this.method_13())
        {
            class2.bool_0 = true;
            class2.method_12(A_0.X);
            return(class2);
        }
        class2.method_10(this.method_9());
        class2.method_12(A_0.Y - (this.method_9() * A_0.X));
        return(class2);
    }
Example #3
0
    internal Class447 method_2(float A_0)
    {
        float num;

        if (this.method_9() == 0f)
        {
            num = A_0;
        }
        else
        {
            float num2 = (float)Math.Abs(Math.Cos(Math.Atan((double)this.method_9())));
            num = A_0 / num2;
        }
        Class447 class2 = new Class447 {
            bool_0 = this.method_13()
        };

        class2.method_10(this.method_9());
        class2.method_12(this.method_11() + num);
        return(class2);
    }