code: function restrictPointsToArc(intersections, center, radiusX, radiusY, startRadians, endRadians) {
      if (intersections.points.length === 0) {
          return intersections;
      }
  
      const result = new Intersection("No Intersection");
      const startNormal = normalizeAngle(startRadians);
      const endNormal = normalizeAngle(endRadians);
  
      for (const p of intersections.points) {
          const a = normalizeAngle(UNIT_X.angleBetween(Vector2D.fromPoints(center, p)));
  
          if (startNormal <= a && a <= endNormal) {
              result.appendPoint(p);
          }
      }
  
      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}