Retrieves the value of the X ordinate.
@return the value of the X ordinate
double getX() { return x; }