// Path: src/main/java/in/drifted/planisphere/model/Coord.java
// public final class Coord {
// 
//     private Double x;
//     private Double y;
// 
//     public Coord() {
//     }
// 
//     public Coord(Double x, Double y) {
//         this.x = x;
//         this.y = y;
//     }
// 
//     public void setLocation(Double x, Double y) {
//         this.x = x;
//         this.y = y;
//     }
// 
//     public Double getX() {
//         return x;
//     }
// 
//     public Double getY() {
//         return y;
//     }
// }
// 
// Path: src/main/java/in/drifted/planisphere/model/MilkyWay.java
// public final class MilkyWay {
// 
//     private List<Coord> darkNorth;
//     private List<Coord> darkSouth;
//     private List<Coord> brightNorth;
//     private List<Coord> brightSouth;
// 
//     public List<Coord> getDarkNorth() {
//         return darkNorth;
//     }
// 
//     public void setDarkNorth(List<Coord> darkNorth) {
//         this.darkNorth = darkNorth;
//     }
// 
//     public List<Coord> getDarkSouth() {
//         return darkSouth;
//     }
// 
//     public void setDarkSouth(List<Coord> darkSouth) {
//         this.darkSouth = darkSouth;
//     }
// 
//     public List<Coord> getBrightNorth() {
//         return brightNorth;
//     }
// 
//     public void setBrightNorth(List<Coord> brightNorth) {
//         this.brightNorth = brightNorth;
//     }
// 
//     public List<Coord> getBrightSouth() {
//         return brightSouth;
//     }
// 
//     public void setBrightSouth(List<Coord> brightSouth) {
//         this.brightSouth = brightSouth;
//     }
// }


import in.drifted.planisphere.model.Coord;
import in.drifted.planisphere.model.MilkyWay;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.List;
/* 
 * Copyright (c) 2012-present Jan Tošovský <jan.tosovsky.cz@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package in.drifted.planisphere.resources.loader;


public final class MilkyWayLoader {

    public static MilkyWay getMilkyWay(List<String> filePathList) throws IOException {

        MilkyWay milkyWay = new MilkyWay();

        int i = 0;
        Double ngp = Math.toRadians(27.4);

        for (String filePath : filePathList) {

// Path: src/main/java/in/drifted/planisphere/model/Coord.java
// public final class Coord {
// 
//     private Double x;
//     private Double y;
// 
//     public Coord() {
//     }
// 
//     public Coord(Double x, Double y) {
//         this.x = x;
//         this.y = y;
//     }
// 
//     public void setLocation(Double x, Double y) {
//         this.x = x;
//         this.y = y;
//     }
// 
//     public Double getX() {
//         return x;
//     }
// 
//     public Double getY() {
//         return y;
//     }
// }
// 
// Path: src/main/java/in/drifted/planisphere/model/MilkyWay.java
// public final class MilkyWay {
// 
//     private List<Coord> darkNorth;
//     private List<Coord> darkSouth;
//     private List<Coord> brightNorth;
//     private List<Coord> brightSouth;
// 
//     public List<Coord> getDarkNorth() {
//         return darkNorth;
//     }
// 
//     public void setDarkNorth(List<Coord> darkNorth) {
//         this.darkNorth = darkNorth;
//     }
// 
//     public List<Coord> getDarkSouth() {
//         return darkSouth;
//     }
// 
//     public void setDarkSouth(List<Coord> darkSouth) {
//         this.darkSouth = darkSouth;
//     }
// 
//     public List<Coord> getBrightNorth() {
//         return brightNorth;
//     }
// 
//     public void setBrightNorth(List<Coord> brightNorth) {
//         this.brightNorth = brightNorth;
//     }
// 
//     public List<Coord> getBrightSouth() {
//         return brightSouth;
//     }
// 
//     public void setBrightSouth(List<Coord> brightSouth) {
//         this.brightSouth = brightSouth;
//     }
// }


// Path: src/main/java/in/drifted/planisphere/resources/loader/MilkyWayLoader.java
import in.drifted.planisphere.model.Coord;
import in.drifted.planisphere.model.MilkyWay;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.LinkedList;
import java.util.List;

/* 
 * Copyright (c) 2012-present Jan Tošovský <jan.tosovsky.cz@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package in.drifted.planisphere.resources.loader;


public final class MilkyWayLoader {

    public static MilkyWay getMilkyWay(List<String> filePathList) throws IOException {

        MilkyWay milkyWay = new MilkyWay();

        int i = 0;
        Double ngp = Math.toRadians(27.4);

        for (String filePath : filePathList) {

            List<Coord> dataSet = new LinkedList<>();