code: function walkPoint(startPoint, endPoint, handler, isSkipInnerOffset) {
    let point = startPoint;
  
    while (point) {
      handler(point);
  
      if (isSamePoint(point, endPoint)) {
        break;
      }
  
      const isSkipOffset = isSkipInnerOffset &&
                         startPoint.node !== point.node &&
                         endPoint.node !== point.node;
      point = nextPoint(point, isSkipOffset);
    }
  }
docs: @method walkPoint
  
  @param {BoundaryPoint} startPoint
  @param {BoundaryPoint} endPoint
  @param {Function} handler
  @param {Boolean} isSkipInnerOffset