All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lzam.geo-distance.1.0.1.source-code.Coordinate Maven / Gradle / Ivy

Go to download

Simple library to calculate the geographical distance between two points. Project related to an academic assignment about publishing to Maven Central.

There is a newer version: 1.0.2
Show newest version
public class Coordinate {

    private double latitude;
    private double longitude;

    public Coordinate(double latitude, double longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy