include method

void include(
  1. double x,
  2. double y
)

Implementation

void include(double x, double y) {
  if (x < left) left = x;
  if (x > right) right = x;
  if (y < top) top = y;
  if (y > bottom) bottom = y;
}