code: function isInsideBounding(p, bb) {
          if (
              p[0] < bb[0][0] ||
              p[1] < bb[0][1] ||
              p[0] > bb[1][0] ||
              p[1] > bb[1][1]
          ) {
              return false;
          }
          return true;
      }
docs: point inside bounding box