public void method_0(Class145.Class147 edge, int i, int id) { this.class147_0 = edge; this.double_0 = edge.double_1; this.int_1 = i; this.int_0 = id; }
internal void method_4(Class145.Class147 edge) { bool flag = false; int count = this.list_3.Count - 1; while (true) { if (count < 0) { break; } else if (edge.double_1 >= this.list_3[count].double_1) { this.list_3.Insert(count + 1, edge); flag = true; break; } else { count--; } } if (!flag) { this.list_3.Insert(0, edge); } }
private void method_0(Class145.Class146 scanBeam, Class145.Class147 edge) { if (edge.point2D_0.Y == edge.point2D_1.Y) { scanBeam.list_2.Add(edge); return; } edge.method_0(); edge.double_1 = edge.point2D_0.X; scanBeam.method_4(edge); }
public override void vmethod_0(Class145.Class146 scanBeam) { this.int_1++; while (this.int_1 < scanBeam.list_1.Count) { this.class147_0 = scanBeam.list_1[this.int_1]; if (this.class147_0.point2D_1.Y > scanBeam.double_1) { this.double_0 = this.class147_0.double_1; Class145.Class146 class146 = scanBeam; int int0 = class146.int_0; int num = int0; class146.int_0 = int0 + 1; this.int_0 = num; scanBeam.class34_0.Add(this); return; } this.int_1++; } }
public void method_0() { this.class148_0 = this.method_3(); while (this.class148_0 != null) { this.list_3.Clear(); this.double_1 = this.class148_0.point2D_0.Y; Class145.Class155.Class156 class1560 = this.class156_0; Class145.Class148 class1480 = this.class148_0; Class145.Class146 class146 = this; int int0 = class146.int_0; int num = int0; class146.int_0 = int0 + 1; class1560.method_0(class1480, num); this.class34_0.Add(this.class156_0); int num1 = 0; while (true) { if (num1 < this.list_1.Count) { Class145.Class147 item = this.list_1[num1]; if (item.point2D_1.Y > this.double_1) { Class145.Class155.Class157 class1570 = this.class157_0; Class145.Class146 class1461 = this; int int01 = class1461.int_0; int num2 = int01; class1461.int_0 = int01 + 1; class1570.method_0(item, num1, num2); this.class34_0.Add(this.class157_0); break; } else { num1++; } } else { break; } } Class145.Class155 class155 = this.class34_0.method_4(); this.double_0 = class155.double_0; while (true) { class155.vmethod_1(this); class155.vmethod_0(this); class155 = this.class34_0.method_4(); if (class155 == null) { break; } if (class155.double_0 != this.double_0) { this.method_1(); this.double_0 = class155.double_0; } } this.method_1(); List <Class145.Class147> list1 = this.list_1; this.list_1 = this.list_3; this.list_3 = list1; } }