示例#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
 internal static bool smethod_6(Class448 A_0, Class447 A_1, PointF[] A_2, bool A_3)
 {
     if (!Class447.smethod_2(A_0, A_1, A_2, A_3))
     {
         return(false);
     }
     return(A_0.method_17(A_2[0]));
 }
示例#4
0
 internal static bool smethod_7(Class448 A_0, Class448 A_1, PointF[] A_2)
 {
     if (!Class447.smethod_3(A_0, A_1, A_2))
     {
         return(false);
     }
     return(A_0.method_17(A_2[0]) && A_1.method_17(A_2[0]));
 }
示例#5
0
    private static bool smethod_1(PointF A_0, int A_1, Class448[] A_2, Class447 A_3)
    {
        Class447 class2 = Class447.smethod_4(A_0, true);

        PointF[] tfArray = new PointF[] { PointF.Empty };
        if (!Class447.smethod_2(A_3, class2, tfArray, true))
        {
            return(false);
        }
        return(smethod_2(new Class448(A_0, tfArray[0]), A_1, A_2));
    }
示例#6
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);
    }
示例#7
0
 private static void smethod_7(spr᣼[] A_0, spr᣼[] A_1, bool A_2, Class446 A_3)
 {
     PointF[] tfArray2 = new PointF[] { PointF.Empty };
     if (!spr⃸.ᜀ(spr⃸.ᜁ(A_2 ? A_0[0].ᜁ() : A_0[A_0.Length - 1].ᜀ(), !A_2 ? A_1[0].ᜁ() : A_1[A_1.Length - 1].ᜀ()), 0f))
     {
         Class447 class2 = smethod_8(A_0, A_2);
         Class447 class3 = smethod_8(A_1, !A_2);
         Class447.smethod_1(class2, class3, tfArray2);
     }
     if (tfArray2[0] != PointF.Empty)
     {
         A_3.method_11(true);
         A_3.method_9(tfArray2[0]);
     }
 }
示例#8
0
 private void method_1()
 {
     this.class722_0.method_0(true);
     this.int_0       = this.class722_0.method_25();
     this.int_1       = this.class722_0.method_26();
     this.int_2       = this.class722_0.method_19();
     this.class448_0  = this.method_9(this.int_0, this.int_1);
     this.class448_1  = this.method_9(this.int_1, this.int_0);
     this.bool_0      = true;
     this.class950_0  = null;
     this.arrayList_0 = new ArrayList();
     this.pointF_0    = this.class722_0.method_20(this.class722_0.method_23()).method_2();
     this.pointF_1    = this.class722_0.method_20(this.class722_0.method_24()).method_2();
     this.class447_0  = Class447.smethod_4(this.pointF_0, false);
     this.class447_1  = Class447.smethod_4(this.pointF_1, false);
 }
示例#9
0
    internal static void smethod_0(spr៧ A_0, spr៧ A_1)
    {
        int count = A_1.ᜀ().Count;

        if (((A_0.ᜀ().Count > 1) && (count > 1)) && !spr⃸.ᜀ((PointF)A_1.ᜀ()[count - 1], (PointF)A_0.ᜀ()[0]))
        {
            Class447 class2   = new Class447((PointF)A_1.ᜀ()[count - 2], (PointF)A_1.ᜀ()[count - 1]);
            Class447 class3   = new Class447((PointF)A_0.ᜀ()[0], (PointF)A_0.ᜀ()[1]);
            PointF[] tfArray2 = new PointF[] { PointF.Empty };
            if (Class447.smethod_2(class2, class3, tfArray2, true))
            {
                A_1.ᜀ()[count - 1] = tfArray2[0];
                A_0.ᜀ()[0]         = tfArray2[0];
            }
        }
    }
示例#10
0
    private static void smethod_2(spr៧ A_0, spr᣼[] A_1, bool A_2, PointF[] A_3)
    {
        spr᣼     r᣼     = A_2 ? A_1[A_1.Length - 1] : A_1[0];
        Class447 class3 = new Class447(A_3[0], A_3[1]);
        Class447 class2 = A_2 ? new Class447(r᣼.ᜂ(), r᣼.ᜀ()) : new Class447(r᣼.ᜂ(), r᣼.ᜁ());

        PointF[] tfArray2 = new PointF[] { PointF.Empty };
        Class447.smethod_1(class3, class2, tfArray2);
        tfArray2[0] = smethod_3(A_1, A_2, A_3, tfArray2[0]);
        if (A_2)
        {
            A_0.ᜀ()[0] = tfArray2[0];
        }
        else
        {
            A_0.ᜀ()[A_0.ᜀ().Count - 1] = tfArray2[0];
        }
    }
示例#11
0
    internal static PointF smethod_3(spr᣼[] A_0, bool A_1, PointF[] A_2, PointF A_3)
    {
        float  num  = spr⃸.ᜀ(A_0);
        PointF tf   = A_1 ? A_0[A_0.Length - 1].ᜀ() : A_0[0].ᜁ();
        float  num2 = spr⃸.ᜁ(A_3, tf);
        float  num3 = num;

        if (num2 <= num3)
        {
            return(A_3);
        }
        Class447 class2 = new Class447(A_2[0], A_2[1]);

        if (A_3.X < (A_1 ? A_2[0].X : A_2[1].X))
        {
            num3 *= -1f;
        }
        PointF[] tfArray2 = new PointF[] { PointF.Empty };
        class2.method_7(A_1 ? A_2[0] : A_2[1], num3, tfArray2);
        return(tfArray2[0]);
    }
示例#12
0
 private static spr᣼[] smethod_22(spr᣼ A_0, float A_1)
 {
     if ((A_1 < 0f) || (A_1 > 1f))
     {
         return(null);
     }
     if ((A_1 != 0f) && (A_1 != 1f))
     {
         Class447 class2 = new Class447(A_0.ᜁ(), A_0.ᜂ());
         Class447 class3 = new Class447(A_0.ᜂ(), A_0.ᜀ());
         float    num    = spr⃸.ᜁ(A_0.ᜁ(), A_0.ᜂ());
         float    num2   = spr⃸.ᜁ(A_0.ᜂ(), A_0.ᜀ());
         PointF   tf     = smethod_24(class2, A_0, A_1, num, true);
         PointF   tf2    = smethod_24(class3, A_0, A_1, num2, false);
         PointF   tf3    = new Class726(A_0).method_0(A_1);
         spr᣼     r᣼     = smethod_23(A_0.ᜁ(), tf, tf3);
         spr᣼     r᣼2    = smethod_23(tf3, tf2, A_0.ᜀ());
         return(new spr᣼[] { r᣼, r᣼2 });
     }
     return(new spr᣼[] { A_0 });
 }
示例#13
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);
    }
示例#14
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]);
    }
示例#15
0
    private void method_12(Class950 A_0)
    {
        int num = this.method_3(A_0.method_8() + 1);

        for (int i = 0; i < A_0.method_10(); i++)
        {
            this.class722_0.method_7(num);
        }
        if (spr⃸.ᜀ(A_0.method_0().Y, A_0.method_6().Y))
        {
            A_0.method_11(A_0.method_10() + 1);
        }
        else
        {
            bool     flag;
            PointF   tf3      = (flag = (A_0.method_0().X < A_0.method_6().X) ? A_0.method_12() : !A_0.method_12()) ? A_0.method_0() : A_0.method_6();
            Class447 class2   = Class447.smethod_4(tf3, true);
            Class447 class3   = new Class447(flag ? A_0.method_4() : A_0.method_2(), flag ? A_0.method_6() : A_0.method_0());
            PointF[] tfArray2 = new PointF[] { PointF.Empty };
            Class447.smethod_1(class2, class3, tfArray2);
            this.class722_0.method_6(num, new Class886(tfArray2[0]));
        }
    }
 public override void Visit(Class447 c) { }
示例#17
0
 internal static void smethod_1(Class447 A_0, Class447 A_1, PointF[] A_2)
 {
     smethod_2(A_0, A_1, A_2, false);
 }
示例#18
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));
 }
 public abstract void Visit(Class447 c);
示例#20
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()));
 }