// 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;
//     }
// }


import in.drifted.planisphere.model.Coord;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.List;
import java.util.Locale;

/* 
 * 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.renderer.svg;


public class PathUtil {

    private static final NumberFormat NUMBER_FORMAT = new DecimalFormat("###.##", new DecimalFormatSymbols(Locale.ENGLISH));


// 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/renderer/svg/PathUtil.java
import in.drifted.planisphere.model.Coord;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.List;
import java.util.Locale;

/* 
 * 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.renderer.svg;


public class PathUtil {

    private static final NumberFormat NUMBER_FORMAT = new DecimalFormat("###.##", new DecimalFormatSymbols(Locale.ENGLISH));


    public static String getPathData(List<Coord> coordList, Boolean append) {
