public double GetDistance(TemperatureLocation tl)
 {
     return Math.Sqrt((this.x - tl.x) * (this.x - tl.x) + (this.y - tl.y) * (this.y - tl.y));
 }
Exemplo n.º 2
0
 public double GetDistance(TemperatureLocation tl)
 {
     return(Math.Sqrt((this.x - tl.x) * (this.x - tl.x) + (this.y - tl.y) * (this.y - tl.y)));
 }