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

es.tid.tedb.elements.Location Maven / Gradle / Ivy

The newest version!
package es.tid.tedb.elements;

public class Location {
	double xCoord;
	double yCoord;

	/**Constructor to set the location 
	 * 
	 * @param x X coordinate of the location
	 * @param y Y coordinate of the location
	 */
	public Location (double x, double y){
		xCoord=x;
		yCoord=y;
	}
	
	/**
	 * @return the xCoord
	 */
	public double getxCoord() {
		return xCoord;
	}
	/**
	 * @param xCoord the xCoord to set
	 */
	public void setxCoord(double xCoord) {
		this.xCoord = xCoord;
	}
	/**
	 * @return the yCoord
	 */
	public double getyCoord() {
		return yCoord;
	}
	/**
	 * @param yCoord the yCoord to set
	 */
	public void setyCoord(double yCoord) {
		this.yCoord = yCoord;
	}

	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy