import java.io.*;

public class A1Driver {
    private Space space;
    
    public static void main(String[] args) {
        A1Driver a1 = new A1Driver();
        a1.space = new Space();
        
            
    }
    
    /**
     * Load the points defined from the file filename
     * into the collection
     * @param filename Name of the file containing the
     *        list of points.
     * File format: One point per line in the order of the 
     * dimensions (x, y, z).  
     * NEW: The three values on each line are separated by a space:
     * For example:
     * 2 3 19
     * 3 1 4
     * Assumption: The file is correctly formatted. 
     */
    public void load(String filename) throws IOException  {

    }
    
    
    /**
     * Write the collection of points into a file in the same
     * format as the input file.
     * @param filename Name of file to be written.  The file
     *                 will be overwritten if it already exists.
     */
    public void write(String filename) throws IOException {

    }
    
    /**
     * Prompt for and read a point from the keyboard, and add 
     * it to the space.
     */
    public void readPoint() {
        
    }
    
    /**
     * Prompt for and read a point from the keyboard. This point will
     * become the new view point.
     */
    public void readViewPoint() {
        
    }

    /**
     * Print the point at position i in the collection ordered by
     * the current view point.
     * NEW: The collection should be ordered by increasing distance from the
     * current view point.
     * @param i The position of the point to retrieve.
     */
    public void get(int i) {

    }
    
    /**
     * Print the collection of points from the space in the order
     * of a point's distance from the view point.
     */
    public void printSpace() {

    }
    
    /**
     * Print the list of points that are in the same kth plane as
     * the view point. We assume that x is dimension 0, y is dimension 1,
     * and z is dimension 2.
     *
     * @param k Index of the plane to report on
     */
    public void samePlane(int k) {
        
    }
}
