code: public void addPoint(final double x, final double y, final double z) {
          minX = Math.min(minX, x);
          minY = Math.min(minY, y);
          minZ = Math.min(minZ, z);
          maxX = Math.max(maxX, x);
          maxY = Math.max(maxY, y);
          maxZ = Math.max(maxZ, z);
      }
docs: Increases the bounds to include a given point.
  <p>If the point is already in the interior of the bounded
  area the bounds are not changed.</p>
  @param x Coordinate of the point to include.
  @param y Coordinate of the point to include.
  @param z  Coordinate of the point to include.