public static bool ContainsPoint(this IBoundingBox boundingBox, IGeoCoordinate coordinate) { return (coordinate.Latitude.Value <= boundingBox.Northeast().Latitude.Value && coordinate.Longitude.Value <= boundingBox.Northeast().Longitude.Value && coordinate.Latitude.Value >= boundingBox.Southwest().Latitude.Value && coordinate.Longitude.Value >= boundingBox.Southwest().Longitude.Value); }