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);
  }
}
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);
  }
}
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 ) ; } }
@method walkPoint

@param {BoundaryPoint} startPoint
@param {BoundaryPoint} endPoint
@param {Function} handler
@param {Boolean} isSkipInnerOffset
@method walkPoint
Walks through the points of a node