
es.tid.vntm.topology.elements.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network-emulator Show documentation
Show all versions of network-emulator Show documentation
Emulator of GMPLS-controlled transport Network
The newest version!
package es.tid.vntm.topology.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