docs: @NonNull
    public static List<Point> simplify(@NonNull List<Point> points, double tolerance,
                                       boolean highestQuality) {
      if (points.size() <= 2) {
        return points;
      }
  
      double sqTolerance = tolerance * tolerance;
  
      points = highestQuality ? points : simplifyRadialDist(points, sqTolerance);
      points = simplifyDouglasPeucker(points, sqTolerance);
  
      return points;
    }