import java.io.File; import java.io.FileNotFoundException; import java.util.*; public class Assign4 { /* insert your name here */ /** * pre: The input file contains int n: number of points, followed by * double x and double y coordinates of the n points * post: a Cloud containing a set of valid Points) is returned * * read inputs, create Points, and put them in a Cloud, if appropriate * return the Cloud */ public Cloud readPoints(Scanner ptData){ int n = ptData.nextInt(); // number of points Cloud inPoints = new Cloud(n); // read inputs, create Points, and put them in a Cloud for(int i=0; i