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