// 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;
        if (latitude > 0.0) {
            if (Dec < latitude - 90.0) {
                return false;
            }
            radius = scale * 0.89 * (90.0 - Dec) / (180.0 - latitude);
            result.setLocation(Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        } else {
            if (Dec > latitude + 90.0) {
                return false;
            }
            radius = scale * 0.89 * (90.0 + Dec) / (180.0 + latitude);
            result.setLocation(-Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        }

        return true;
    }

    public static final void convertWithoutCheck(Double RA, Double Dec, Coord result, Double latitude, Double scale) {
        Double RAInRads = RA * Math.PI / 12.0;
        Double radius;

        if (latitude > 0.0) {
            radius = scale * 0.89 * (90.0 - Dec) / (180.0 - latitude);
            result.setLocation(Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        } else {
            radius = scale * 0.89 * (90.0 + Dec) / (180.0 + latitude);
            result.setLocation(-Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        }
    }

// 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/util/CoordUtil.java
import in.drifted.planisphere.model.Coord;

        if (latitude > 0.0) {
            if (Dec < latitude - 90.0) {
                return false;
            }
            radius = scale * 0.89 * (90.0 - Dec) / (180.0 - latitude);
            result.setLocation(Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        } else {
            if (Dec > latitude + 90.0) {
                return false;
            }
            radius = scale * 0.89 * (90.0 + Dec) / (180.0 + latitude);
            result.setLocation(-Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        }

        return true;
    }

    public static final void convertWithoutCheck(Double RA, Double Dec, Coord result, Double latitude, Double scale) {
        Double RAInRads = RA * Math.PI / 12.0;
        Double radius;

        if (latitude > 0.0) {
            radius = scale * 0.89 * (90.0 - Dec) / (180.0 - latitude);
            result.setLocation(Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        } else {
            radius = scale * 0.89 * (90.0 + Dec) / (180.0 + latitude);
            result.setLocation(-Math.cos(RAInRads) * radius, Math.sin(RAInRads) * radius);
        }
    }

    public static final Double getDistance(Coord coord1, Coord coord2) {