contains method

bool contains(
  1. GeoCoord point
)

Returns whether this rectangle contains the given GeoCoord.

Implementation

bool contains(GeoCoord point) {
  return _containsLatitude(point.latitude) &&
      _containsLongitude(point.longitude);
}