Пример #1
0
        public new bool A(global::C.C c, Point point, bool flag)
        {
            if (c.A() == null)
            {
                return(false);
            }
            global::C.b b      = c.A();
            global::b.c c2     = c.A();
            Point       point2 = (c is global::C.b) ? point : this.A(b);
            Point       point3 = (c is global::C.b) ? this.A(c2) : point;

            if (point2.X != point3.X)
            {
                return(false);
            }
            if (point2.Y > point3.Y)
            {
                return(false);
            }
            if (point2.Y == point3.Y && !flag)
            {
                return(false);
            }
            int num = 0;

            for (int i = point2.Y + 1; i < point3.Y; i++)
            {
                d.a a = this.A(point2.X, i) as global::C.C;
                if (a != null && a != b && a != c2)
                {
                    if (a is global::C.b)
                    {
                        num++;
                    }
                    if (a is global::b.c)
                    {
                        num--;
                    }
                }
            }
            return(num == 0);
        }
Пример #2
0
 public new bool A(global::C.C c)
 {
     return(this.A(c, this.A(c), false));
 }
Пример #3
0
        private void a()
        {
            bool flag  = false;
            bool flag2 = false;
            bool flag3 = false;
            bool flag4 = false;
            bool flag5 = false;
            bool flag6 = false;
            int  num   = 0;

            if (this.A != null)
            {
                foreach (global::c.a a in this.A)
                {
                    if (!(a is D.A))
                    {
                        if (a.d())
                        {
                            flag5 = true;
                        }
                        if (a is global::b.b)
                        {
                            flag  = true;
                            flag2 = true;
                            flag3 = true;
                            flag4 = true;
                        }
                        else
                        {
                            if (a is global::b.a)
                            {
                                flag2 = true;
                                flag3 = true;
                                flag4 = true;
                            }
                            else
                            {
                                if (a is global::C.C)
                                {
                                    global::C.C c  = (global::C.C)a;
                                    global::C.C c2 = c.A();
                                    if (c2 != null && !this.A().A(c2))
                                    {
                                        Point point  = this.A.L().A().A(c);
                                        Point point2 = this.A.L().A().A(c2);
                                        bool  flag7  = point.X == point2.X;
                                        flag  = flag7;
                                        flag3 = true;
                                        continue;
                                    }
                                }
                                if (!(a is global::c.B))
                                {
                                    num++;
                                }
                                flag6 = true;
                            }
                        }
                    }
                }
            }
            bool flag8 = !this.A();

            this.A = (flag8 && !flag);
            this.a = (flag8 && !flag2);
            this.B = (flag8 && !flag3);
            this.b = (flag8 && (flag6 || !flag4));
            this.C = (flag5 && this.b());
            this.c = (this.b && this.B && num >= 2);
        }