internal Class18(Class13 class13_0) { //System.ComponentModel.LicenseManager.Validate(typeof(Class18)); //base..ctor(); this.point_0 = class13_0.method_2().method_0(); this.point_1 = class13_0.method_4().method_0(); this.point_2 = class13_0.method_6().method_0(); double x = this.point_0.X; double y = this.point_0.Y; double z = this.point_0.Z; double x2 = this.point_1.X; double y2 = this.point_1.Y; double z2 = this.point_1.Z; double x3 = this.point_2.X; double y3 = this.point_2.Y; double z3 = this.point_2.Z; this.double_0 = x * (y2 * z3 - z2 * y3) + x2 * (z * y3 - y * z3) + x3 * (y * z2 - z * y2); this.double_1 = y * (z3 - z2) + y2 * (z - z3) + y3 * (z2 - z); this.double_2 = x * (z2 - z3) + x2 * (z3 - z) + x3 * (z - z2); this.double_3 = x * (y3 - y2) + x2 * (y - y3) + x3 * (y2 - y); }
private void method_1(List <Class25> vertexList, ref Class21 class21_0) { for (int i = vertexList.Count - 1; i >= 0; i--) { this.vmethod_0(null, null); Class25 @class = vertexList[i]; try { if (@class.method_2().Count != 0) { List <Class23> list = class21_0.method_7(@class); if (list != null) { if (list.Count < 3) { this.list_1.Add(@class); } else { List <Class13> list2 = new List <Class13>(); for (int j = 0; j < list.Count; j++) { Class13 class2 = new Class13(list[j].method_0(), list[j].method_2(), @class); list2.Add(class2); Class13 class3 = list[j].method_4()[0]; Class13 class4 = list[j].method_4()[1]; for (int k = 0; k < class3.method_10().Count; k++) { Class25 class5 = class3.method_10()[k]; if (!(class5 == @class) && !class4.method_15(class5) && class2.method_15(class5)) { class2.method_10().Add(class5); class5.method_2().Add(class2); } } for (int l = 0; l < class4.method_10().Count; l++) { Class25 class6 = class4.method_10()[l]; if (!(class6 == @class) && class2.method_15(class6)) { class2.method_10().Add(class6); class6.method_2().Add(class2); } } class2.method_8()[2] = class4; if (class4.method_6() == list[j].method_0() && class4.method_4() == list[j].method_2()) { class4.method_8()[0] = class2; } if (class4.method_2() == list[j].method_0() && class4.method_6() == list[j].method_2()) { class4.method_8()[1] = class2; } if (class4.method_4() == list[j].method_0() && class4.method_2() == list[j].method_2()) { class4.method_8()[2] = class2; } } list2[0].method_8()[0] = list2[1]; list2[0].method_8()[1] = list2[list2.Count - 1]; for (int m = 1; m < list2.Count - 1; m++) { list2[m].method_8()[0] = list2[m + 1]; list2[m].method_8()[1] = list2[m - 1]; } list2[list2.Count - 1].method_8()[0] = list2[0]; list2[list2.Count - 1].method_8()[1] = list2[list2.Count - 2]; for (int n = 0; n < @class.method_2().Count; n++) { @class.method_2()[n].method_1(false); } class21_0.method_0().AddRange(list2); } } } } catch (System.Exception ex) { this.list_1.Add(@class); } } }