
es.tid.tedb.elements.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of topology Show documentation
Show all versions of topology Show documentation
Traffic Engineering Database, BGP-LS peer, Topology Module
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