Exemplo n.º 1
0
        private void method_2()
        {
            if (this.pointSet_1.Count < 3)
            {
                this.double_0 = 0.0;
            }
            Point center = this.pointSet_1.Center;

            this.list_0 = new List <Edge>();
            Class24 @class;

            for (int i = 0; i < this.pointSet_1.Count - 1; i++)
            {
                this.list_0.Add(new Edge(this.pointSet_1[i], this.pointSet_1[i + 1]));
                @class         = new Class24(this.pointSet_1[i], this.pointSet_1[i + 1], center);
                this.double_0 += @class.method_11();
            }
            this.list_0.Add(new Edge(this.pointSet_1[this.pointSet_1.Count - 1], this.pointSet_1[0]));
            @class         = new Class24(this.pointSet_1[this.pointSet_1.Count - 1], this.pointSet_1[0], center);
            this.double_0 += @class.method_11();
        }