public static void removeAll(Collection<PointD> col,
			F1<PointD, Boolean> f1) {
		for (Iterator<PointD> iterator = col.iterator(); iterator.hasNext();) {
			PointD pointD = iterator.next();
			if (f1.e(pointD)) {
				iterator.remove();
			}
		}
	}