- Common ways to obtain PlaneGeneral3D_F64
private void myMethod () {PlaneGeneral3D_F64 p =
UtilPlane3D.F64 f64;PlaneNormal3D.F64 f64;PlaneGeneral3D.F64 f64;f64.convert(f64, f64)
- Smart code suggestions by Codota
}
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); }