示例#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
    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]);
    }
示例#3
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));
 }
示例#4
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()));
 }