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

        path.append(" ");
        path.append(format(center.getY()));
        path.append("h");
        path.append(length);

        return path.toString();
    }

    public static Coord getIntersection(Double ax, Double ay, Double bx, Double by, Double cx, Double cy) {

        // Get the perpendicular bisector of (x1, y1) and (x2, y2)
        Double x1, y1, dx1, dy1;
        x1 = (bx + ax) / 2.0;
        y1 = (by + ay) / 2.0;
        dy1 = bx - ax;
        dx1 = -(by - ay);

        // Get the perpendicular bisector of (x2, y2) and (x3, y3)
        Double x2, y2, dx2, dy2;
        x2 = (cx + bx) / 2.0;
        y2 = (cy + by) / 2.0;
        dy2 = cx - bx;
        dx2 = -(cy - by);

        // See where the lines intersect
        Double ox, oy;
        ox = (y1 * dx1 * dx2 + x2 * dx1 * dy2 - x1 * dy1 * dx2 - y2 * dx1 * dx2)
                / (dx1 * dy2 - dy1 * dx2);
        oy = (ox - x1) * dy1 / dx1 + y1;


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

        path.append(" ");
        path.append(format(center.getY()));
        path.append("h");
        path.append(length);

        return path.toString();
    }

    public static Coord getIntersection(Double ax, Double ay, Double bx, Double by, Double cx, Double cy) {

        // Get the perpendicular bisector of (x1, y1) and (x2, y2)
        Double x1, y1, dx1, dy1;
        x1 = (bx + ax) / 2.0;
        y1 = (by + ay) / 2.0;
        dy1 = bx - ax;
        dx1 = -(by - ay);

        // Get the perpendicular bisector of (x2, y2) and (x3, y3)
        Double x2, y2, dx2, dy2;
        x2 = (cx + bx) / 2.0;
        y2 = (cy + by) / 2.0;
        dy2 = cx - bx;
        dx2 = -(cy - by);

        // See where the lines intersect
        Double ox, oy;
        ox = (y1 * dx1 * dx2 + x2 * dx1 * dy2 - x1 * dy1 * dx2 - y2 * dx1 * dx2)
                / (dx1 * dy2 - dy1 * dx2);
        oy = (ox - x1) * dy1 / dx1 + y1;


        return new Coord(ox, oy);
