public static List<PlaneGeneral3D_F64> fit(int numPlanes, Random rand, List<Point3D_F64> allPoints, ScoringFunction<PlaneGeneral3D_F64, Point3D_F64> scorer, int iterations) { List<PlaneGeneral3D_F64> planes = new ArrayList<PlaneGeneral3D_F64>(); for (int i = 0; i < numPlanes; i++) { planes.add(new PlaneGeneral3D_F64(rand.nextDouble(), rand.nextDouble(), rand.nextDouble(), rand.nextDouble())); } System.out.println(planes.size()); return fit(planes, allPoints, scorer, iterations); }