public RansacPlane(double threshold, double probability) { // Create a new RANSAC with the selected threshold ransac = new RANSAC<Plane>(3, threshold, probability); // Set RANSAC functions ransac.Fitting = define; ransac.Distances = distance; ransac.Degenerate = degenerate; }