// ok ??? // http://greatmaps.codeplex.com/workitem/15981 public bool IntersectsWith(RectLatLng a) { return(this.Left < a.Right && this.Top > a.Bottom && this.Right > a.Left && this.Bottom < a.Top); }
static RectLatLng() { Empty = new RectLatLng(); }
public bool Contains(RectLatLng rect) { return((((this.Lng <= rect.Lng) && ((rect.Lng + rect.WidthLng) <= (this.Lng + this.WidthLng))) && (this.Lat >= rect.Lat)) && ((rect.Lat - rect.HeightLat) >= (this.Lat - this.HeightLat))); }