示例#1
0
    internal static bool smethod_2(Class447 A_0, Class447 A_1, PointF[] A_2, bool A_3)
    {
        float num;
        float num2;

        if (A_3 && smethod_0(A_0, A_1))
        {
            return(false);
        }
        if (A_0.method_13())
        {
            num  = A_0.method_11();
            num2 = A_1.method_0(num);
        }
        else if (A_1.method_13())
        {
            num  = A_1.method_11();
            num2 = A_0.method_0(num);
        }
        else
        {
            num  = (A_1.method_11() - A_0.method_11()) / (A_0.method_9() - A_1.method_9());
            num2 = (A_0.method_9() * num) + A_0.method_11();
        }
        A_2[0] = new PointF(num, num2);
        return(true);
    }
示例#2
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);
    }
示例#3
0
    private static PointF smethod_24(Class447 A_0, spr᣼ A_1, float A_2, float A_3, bool A_4)
    {
        bool flag;

        if ((A_0.method_9() == 0f) && !A_0.method_13())
        {
            flag = A_4 ? (A_1.ᜂ().X > A_1.ᜁ().X) : (A_1.ᜀ().X > A_1.ᜂ().X);
        }
        else
        {
            flag = A_4 ? (A_1.ᜂ().Y > A_1.ᜁ().Y) : (A_1.ᜀ().Y > A_1.ᜂ().Y);
        }
        PointF[] tfArray2 = new PointF[] { PointF.Empty };
        float    num      = -1f;

        if (flag)
        {
            num = 1f;
        }
        A_0.method_7(A_4 ? A_1.ᜁ() : A_1.ᜂ(), (num * A_2) * A_3, tfArray2);
        return(tfArray2[0]);
    }
示例#4
0
 internal static bool smethod_3(Class447 A_0, Class447 A_1, PointF[] A_2)
 {
     return(((!A_0.method_13() || !A_1.method_13()) && (A_0.method_9() != A_1.method_9())) && smethod_2(A_0, A_1, A_2, false));
 }
示例#5
0
 internal static bool smethod_0(Class447 A_0, Class447 A_1)
 {
     return((A_0.method_13() && A_1.method_13()) || ((spr⃸.ᜀ(A_0.method_9(), A_1.method_9()) && !A_0.method_13()) && !A_1.method_13()));
 }