code: function findLineIntersections(line, crossCheckLines) {
          return util.toArray(crossCheckLines).reduce(function(res, crossCheckLine) {
              var intersection = line.intersection(crossCheckLine);
              if (intersection) {
                  res.push(intersection);
              }
              return res;
          }, []);
      }
docs: Utility function to collect all intersection poinst of a single
  line against group of other lines.
  @param {g.line} line where to find points
  @param {g.line[]} crossCheckLines lines to cross
  @return {g.point[]} list of intersection points