//产生相应模块 public well2d Create_Vertical_Well(PO center) { well2d well = new well2d(center.x, center.y); well.GetOGL(PAINT); well.Set_ge_pl(this.Get_ge_pl()); //well.Set_initial_pl(this.initial_pl); well.Generate_eadge(); model_l.Insert(well); return(well); }
public void START() { util u1 = new util(); well2d w1 = new well2d(); w1.GetOGL(PAINT); w1.Set_ge_pl(ge_p_l); w1.Set_initial_pl(initial_pl); center = w1.center; model_l.Insert(w1); plane = new plane2d(); plane.GetOGL(PAINT); plane.Set_ge_pl(ge_p_l); plane.Generate_eadge(); Create_boundary_model(); Generate_allmodel_edge_po(); DealModuleConflict(); plane.Get_model_l(model_l); //把模块链给plane plane.GenerateNetPo(); //plane根据自己的边界和模块产生点 Generate_allmodel_po(); //产生所有模块的点 }