code: function restrictPointsToArc(intersections, center, radiusX, radiusY, startRadians, endRadians) {
    if (intersections.points.length === 0) {
      return intersections;
    }
  
    var result = new Intersection("No Intersection");
    var startNormal = normalizeAngle(startRadians);
    var endNormal = normalizeAngle(endRadians);
    var _iteratorNormalCompletion = true;
    var _didIteratorError = false;
    var _iteratorError = undefined;
  
    try {
      for (var _iterator = intersections.points[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
        var p = _step.value;
        var a = normalizeAngle(UNIT_X.angleBetween(Vector2D.fromPoints(center, p)));
  
        if (startNormal <= a && a <= endNormal) {
          result.appendPoint(p);
        }
      }
    } catch (err) {
      _didIteratorError = true;
      _iteratorError = err;
    } finally {
      try {
        if (!_iteratorNormalCompletion && _iterator["return"] != null) {
          _iterator["return"]();
        }
      } finally {
        if (_didIteratorError) {
          throw _iteratorError;
        }
      }
    }
  
    if (result.points.length > 0) {
      result.status = "Intersection";
    }
  
    return result;
  }
docs: restrictPointsToArc
  
  @param {module:kld-intersections.Intersection} intersections
  @param {module:kld-intersections.Point2D} center
  @param {number} radiusX
  @param {number} radiusY
  @param {number} startRadians
  @param {number} endRadians
  @returns {module:kld-intersections.Intersection}