include method

MPBoundsBuilder include(
  1. MPPoint point
)

Include a point in the MPBounds, if the point is outside the bounds, the bounds will be expanded to include the point

Implementation

MPBoundsBuilder include(MPPoint point) {
  _north = max(_north, point.latitude);
  _south = min(_south, point.latitude);
  _east = max(_east, point.longitude);
  _west = min(_west, point.longitude);
  return this;
}