public void AddPoint(int x, int y, double height) { Points[x, y] = height; if (height > MaxHeight) MaxHeight = height; if (height < MinHeight) MinHeight = height; if (MapUpdated != null) MapUpdated(); }