Exemplo n.º 1
0
 public double KhoangCach(Diem A)
 {
     return(Math.Sqrt((this.x - A.x) * (this.x - A.x) + (this.y - A.y) * (this.y - A.y)));
 }
Exemplo n.º 2
0
 public HinhTron(Diem d, double bk)
 {
     O      = d;
     radius = bk;
 }