public void Create_fault(LINE l0) { fault2d f = new fault2d(l0); PAINT.model_special_pl.Insert(l0.p1); PAINT.model_special_pl.Insert(l0.p2); f.GetOGL(PAINT); f.Set_ge_pl(this.Get_ge_pl()); f.Generate_eadge(); model_l.Insert(f); }
private void Create_boundary_model() { util u1 = new util(); Node <PO> pnt = plane.edge_pl.Head; fault2d f; while (pnt.Next != null) { f = new fault2d(new LINE(pnt.Data, pnt.Next.Data)); f.boundary = true; f.GetOGL(this.PAINT); f.Set_ge_pl(this.ge_p_l); f.Generate_eadge(); model_l.Insert(f); pnt = pnt.Next; } f = new fault2d(new LINE(pnt.Data, plane.edge_pl.Head.Data)); f.boundary = true; f.GetOGL(this.PAINT); f.Set_ge_pl(this.ge_p_l); f.Generate_eadge(); model_l.Insert(f); }