Example #1
0
 // 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);
 }
Example #2
0
 static RectLatLng()
 {
     Empty = new RectLatLng();
 }
Example #3
0
 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)));
 }