lzam.geo-distance.1.0.1.source-code.Coordinate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geo-distance Show documentation
Show all versions of geo-distance Show documentation
Simple library to calculate the geographical distance between two points. Project related to an academic assignment about publishing to Maven Central.
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