code: function _splitPoints(points, former, count) {
    var result = [].concat(points);
    var index = void 0;
    var t = 1 / (count + 1);
    var formerEnd = _getSegmentPoints(former)[0];
    for (var i = 1; i <= count; i++) {
      t *= i;
      index = Math.floor(points.length * t);
      if (index === 0) {
        result.unshift([formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);
      } else {
        result.splice(index, 0, [formerEnd[0] * t + points[index][0] * (1 - t), formerEnd[1] * t + points[index][1] * (1 - t)]);
      }
    }
    return result;
  }
docs: 将两个点均分成count个点