methods to get the different axis coordinates in boundary class